From 2d9b3e3e4cd41dc80e4759b07fd18b89477be2cb Mon Sep 17 00:00:00 2001 From: Haidong Ji Date: Mon, 6 Aug 2018 18:19:38 -0500 Subject: Initial commit. --- PlaygroundCpp/.cproject | 246 ++++++++++++++++++++++++++ PlaygroundCpp/.gitignore | 1 + PlaygroundCpp/.project | 27 +++ PlaygroundCpp/.settings/language.settings.xml | 48 +++++ PlaygroundCpp/Sources/Playground.cpp | 13 ++ 5 files changed, 335 insertions(+) create mode 100644 PlaygroundCpp/.cproject create mode 100644 PlaygroundCpp/.gitignore create mode 100644 PlaygroundCpp/.project create mode 100644 PlaygroundCpp/.settings/language.settings.xml create mode 100644 PlaygroundCpp/Sources/Playground.cpp diff --git a/PlaygroundCpp/.cproject b/PlaygroundCpp/.cproject new file mode 100644 index 0000000..ea3a3d9 --- /dev/null +++ b/PlaygroundCpp/.cproject @@ -0,0 +1,246 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PlaygroundCpp/.gitignore b/PlaygroundCpp/.gitignore new file mode 100644 index 0000000..3df573f --- /dev/null +++ b/PlaygroundCpp/.gitignore @@ -0,0 +1 @@ +/Debug/ diff --git a/PlaygroundCpp/.project b/PlaygroundCpp/.project new file mode 100644 index 0000000..c294861 --- /dev/null +++ b/PlaygroundCpp/.project @@ -0,0 +1,27 @@ + + + PlaygroundCpp + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + diff --git a/PlaygroundCpp/.settings/language.settings.xml b/PlaygroundCpp/.settings/language.settings.xml new file mode 100644 index 0000000..54c9fee --- /dev/null +++ b/PlaygroundCpp/.settings/language.settings.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PlaygroundCpp/Sources/Playground.cpp b/PlaygroundCpp/Sources/Playground.cpp new file mode 100644 index 0000000..37b59f9 --- /dev/null +++ b/PlaygroundCpp/Sources/Playground.cpp @@ -0,0 +1,13 @@ +#include + +int add(int a, int b) { + return a + b; +} +int main() { + int a = 0; + int b = 0; + std::cin >> a; + std::cin >> b; + std::cout << add(a, b); + return 0; +} -- cgit v1.2.3