From 85a7a090b54c52fe6fbeebe843f23d8a32bb914a Mon Sep 17 00:00:00 2001 From: Syntriax Date: Thu, 4 Jun 2020 09:44:23 +0300 Subject: [PATCH] Initial Commint & VSCode Task Configurations --- .vscode/settings.json | 5 +++++ .vscode/tasks.json | 29 +++++++++++++++++++++++++++++ Engine.hpp | 4 ++++ main.cpp | 7 +++++++ 4 files changed, 45 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json create mode 100644 Engine.hpp create mode 100644 main.cpp diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0cba2e6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "iostream": "cpp" + } +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..91a700c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "Build And Run Game", + "command": "C:\\MinGW\\bin\\g++.exe", + "args": [ + "-g", + "${workspaceFolder}\\main.cpp", + "-o", + "${workspaceFolder}\\main.exe", + "${workspaceFolder}\\SFML\\*.a", + "&&", + "${workspaceFolder}\\main.exe" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file diff --git a/Engine.hpp b/Engine.hpp new file mode 100644 index 0000000..182c3c2 --- /dev/null +++ b/Engine.hpp @@ -0,0 +1,4 @@ +#ifndef Engine + #define Engine + #include +#endif diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..580d843 --- /dev/null +++ b/main.cpp @@ -0,0 +1,7 @@ +#include "Engine.hpp" + +int main(int argc, char const *argv[]) +{ + std::cout << "/)(\\"; + return 0; +}