diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..8160511488892e9884773ce7d9ab5c7cb0c2d3b6 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +hello.exe:hello.cpp + g++ -std=c++11 -o hello.exe hello.cpp diff --git a/hello.cpp b/hello.cpp new file mode 100644 index 0000000000000000000000000000000000000000..6e7291034f23cf301eecfd7e3989480484ac3e28 --- /dev/null +++ b/hello.cpp @@ -0,0 +1,16 @@ +#include + +using namespace std; + +int main() +{ + int x[] = {1,2,3,4,5}; + for(int i:x) + { + cout<