To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 7572a57c authored by amiessen's avatar amiessen
Browse files

restructured intCode tasts

parent 6239352a
......@@ -2,7 +2,7 @@ CXX = g++
CXXFLAGS += -std=c++14
CXXFLAGS += -Wall -Wextra -Wpedantic
main05.exe: main05.cpp intCode.hpp
main05.exe: main05.cpp ../src/intCode.hpp
$(CXX) $(CXXFLAGS) $< -o $@
run: main05.exe
......
......@@ -4,7 +4,7 @@
#include <memory>
#include <vector>
#include "intCode.hpp"
#include "../src/intCode.hpp"
// ############
......
......@@ -3,7 +3,7 @@ CXXFLAGS += -std=c++14
CXXFLAGS += -Wall -Wextra -Wpedantic
main07.exe: main07.cpp intCode.hpp
main07.exe: main07.cpp ../src/intCode.hpp
$(CXX) $(CXXFLAGS) $< -o $@
run: main07.exe
......
#include <fstream>
#include <algorithm>
#include "intCode.hpp"
#include "../src/intCode.hpp"
void readData(const std::string & data_path, std::vector<int> & data) {
......
......@@ -3,7 +3,7 @@ CXXFLAGS += -std=c++14
CXXFLAGS += -Wall -Wextra -Wpedantic
main09.exe: main09.cpp intCode.hpp
main09.exe: main09.cpp ../src/intCode.hpp
$(CXX) $(CXXFLAGS) $< -o $@
run: main09.exe
......
#include <fstream>
#include <algorithm>
#include "intCode.hpp"
#include "../src/intCode.hpp"
template<typename T>
......
......@@ -3,7 +3,7 @@ CXXFLAGS += -std=c++14
CXXFLAGS += -Wall -Wextra -Wpedantic
main11.exe: main11.cpp intCode.hpp
main11.exe: main11.cpp ../src/intCode.hpp
$(CXX) $(CXXFLAGS) $< -o $@
run: main11.exe
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment