Commit fcb7b94a authored by Andreas Amann's avatar Andreas Amann
Browse files

make a loop

parent 6931b1a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ project(cmake_hello)

add_executable(main main.cpp)
add_executable(main2 main2.cpp)
add_executable(loop loop.cpp)

loop.cpp

0 → 100644
+10 −0
Original line number Diff line number Diff line
#include <iostream>

using namespace std;

int main() {
	for (int i = 0; i < 10; i++) {
		cout << i << "\n";
	}
	return 0;
}
 No newline at end of file