aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--build.bat7
-rw-r--r--main.cpp10
3 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3110669
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+a.exe \ No newline at end of file
diff --git a/build.bat b/build.bat
new file mode 100644
index 0000000..fbd2e82
--- /dev/null
+++ b/build.bat
@@ -0,0 +1,7 @@
+@echo off
+title Building C++ Program
+echo Building Program...
+del a.exe
+g++ -g main.cpp
+echo Building Complete!
+pause>nul \ No newline at end of file
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..95cc365
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,10 @@
+#include <iostream>
+
+using namespace std;
+
+int main()
+{
+ cout << "Hello World!" << endl;
+ system("pause");
+ return 0;
+} \ No newline at end of file