aboutsummaryrefslogtreecommitdiff
path: root/dot_vim/c-support/codesnippets/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_vim/c-support/codesnippets/main.cc')
-rw-r--r--dot_vim/c-support/codesnippets/main.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/dot_vim/c-support/codesnippets/main.cc b/dot_vim/c-support/codesnippets/main.cc
new file mode 100644
index 0000000..d87f891
--- /dev/null
+++ b/dot_vim/c-support/codesnippets/main.cc
@@ -0,0 +1,18 @@
+#include <fstream>
+#include <iomanip>
+#include <iostream>
+
+using namespace std;
+
+// === FUNCTION ======================================================================
+// Name: main
+// Description: main function
+// =====================================================================================
+ int
+main ( int argc, char *argv[] )
+{
+ cout << "\nProgram " << argv[0] << endl << endl;
+
+ return EXIT_SUCCESS;
+} // ---------- end of function main ----------
+