diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f5c0b2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +mem diff --git a/cpp/Memory/src/Memory.Aux.c b/cpp/Memory/src/Memory.Aux.c deleted file mode 100644 index 1857741..0000000 --- a/cpp/Memory/src/Memory.Aux.c +++ /dev/null @@ -1,3 +0,0 @@ - -UT_hash - diff --git a/cpp/Memory/src/Memory.Aux.cpp b/cpp/Memory/src/Memory.Aux.cpp new file mode 100644 index 0000000..e69de29 diff --git a/cpp/gen b/cpp/gen deleted file mode 100755 index ba9d386..0000000 --- a/cpp/gen +++ /dev/null @@ -1 +0,0 @@ -cc -o mem src/test.c diff --git a/cpp/mem b/cpp/mem deleted file mode 100755 index a345694..0000000 Binary files a/cpp/mem and /dev/null differ diff --git a/cpp/src/test.c b/cpp/src/test.c deleted file mode 100644 index 1506565..0000000 --- a/cpp/src/test.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() { - printf("Hello, world!\n"); - - return 0; -} diff --git a/cpp/src/test.cpp b/cpp/src/test.cpp new file mode 100644 index 0000000..37130f3 --- /dev/null +++ b/cpp/src/test.cpp @@ -0,0 +1,5 @@ +#include + +int main() { + std::cout << "Hello, world! C++" << std::endl; +} diff --git a/gen-cpp b/gen-cpp new file mode 100755 index 0000000..822eed2 --- /dev/null +++ b/gen-cpp @@ -0,0 +1 @@ +c++ -o mem cpp/src/test.cpp