add readme + added day5
This commit is contained in:
parent
598de252fe
commit
ca88560dc8
18
day5/day.cpp
Normal file
18
day5/day.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
int main() {
|
||||
std::ifstream inputfile("input");
|
||||
std::string input;
|
||||
|
||||
int res = 0;
|
||||
if (!inputfile.is_open()) {
|
||||
std::cerr << "Could not open the file" << std::endl;
|
||||
return ENOENT;
|
||||
}
|
||||
std::string line;
|
||||
std::vector<std::vector<char>> wordsearch;
|
||||
|
||||
while (std::getline(inputfile, line)) {
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user