Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_CppTest / src / cpp / core / mainCore.cpp
diff --git a/WCudaMSE/Tuto_CppTest/src/cpp/core/mainCore.cpp b/WCudaMSE/Tuto_CppTest/src/cpp/core/mainCore.cpp
new file mode 100755 (executable)
index 0000000..f1c808e
--- /dev/null
@@ -0,0 +1,56 @@
+#include <stdlib.h>\r
+#include <iostream>\r
+\r
+using std::cout;\r
+using std::endl;\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Imported                *|\r
+ \*-------------------------------------*/\r
+\r
+extern void helloCPP(void);\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+int mainCore(void);\r
+\r
+/*--------------------------------------*\\r
+ |*            Private                 *|\r
+ \*-------------------------------------*/\r
+\r
+static void work(void);\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Implementation                                  *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+int mainCore(void)\r
+    {\r
+    work();\r
+\r
+    return EXIT_SUCCESS;\r
+    }\r
+\r
+/*--------------------------------------*\\r
+ |*            Private                 *|\r
+ \*-------------------------------------*/\r
+\r
+void work(void)\r
+    {\r
+    helloCPP();\r
+    }\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r
+\r