Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_CppTest / src / cpp / core / standard / integer / integer.cpp
diff --git a/WCudaMSE/Tuto_CppTest/src/cpp/core/standard/integer/integer.cpp b/WCudaMSE/Tuto_CppTest/src/cpp/core/standard/integer/integer.cpp
new file mode 100755 (executable)
index 0000000..1277d67
--- /dev/null
@@ -0,0 +1,24 @@
+#include "integer.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Implementation                                  *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+int plus(int x1, int x2)\r
+    {\r
+    return x1 + x2;\r
+    }\r
+\r
+int fois(int x1, int x2)\r
+    {\r
+    return x1 * x2;\r
+    }\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r
+\r