diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-10-29 16:12:46 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-10-29 16:12:46 +0300 |
| commit | 96f7b20ac82864a548fa9888eaed109b29ff8441 (patch) | |
| tree | 7d6397e5c60e6ec6b88fe9335f1c508a4037e885 /C++/How to C++ (02.12.2017)/How to c++ | |
| parent | 1d3fdf9c4d330379701539bd7b71bd1d31942b66 (diff) | |
| download | Self-learning-96f7b20ac82864a548fa9888eaed109b29ff8441.tar Self-learning-96f7b20ac82864a548fa9888eaed109b29ff8441.tar.gz Self-learning-96f7b20ac82864a548fa9888eaed109b29ff8441.zip | |
Added some self learning stuff from 2017
Diffstat (limited to 'C++/How to C++ (02.12.2017)/How to c++')
5 files changed, 103 insertions, 0 deletions
diff --git a/C++/How to C++ (02.12.2017)/How to c++/How to c++.cbp b/C++/How to C++ (02.12.2017)/How to c++/How to c++.cbp new file mode 100755 index 0000000..579e824 --- /dev/null +++ b/C++/How to C++ (02.12.2017)/How to c++/How to c++.cbp @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<CodeBlocks_project_file> + <FileVersion major="1" minor="6" /> + <Project> + <Option title="How to c++" /> + <Option pch_mode="2" /> + <Option compiler="gcc" /> + <Build> + <Target title="Debug"> + <Option output="bin/Debug/How to c++" prefix_auto="1" extension_auto="1" /> + <Option object_output="obj/Debug/" /> + <Option type="1" /> + <Option compiler="gcc" /> + <Compiler> + <Add option="-g" /> + </Compiler> + </Target> + <Target title="Release"> + <Option output="bin/Release/How to c++" prefix_auto="1" extension_auto="1" /> + <Option object_output="obj/Release/" /> + <Option type="1" /> + <Option compiler="gcc" /> + <Compiler> + <Add option="-O2" /> + </Compiler> + <Linker> + <Add option="-s" /> + </Linker> + </Target> + <Target title="Test 02"> + <Option output="bin/Test 02/How to c++" prefix_auto="1" extension_auto="1" /> + <Option working_dir="bin/Test 02/" /> + <Option object_output="obj/Test 02/" /> + <Option type="1" /> + <Option compiler="gcc" /> + <Compiler> + <Add option="-O2" /> + </Compiler> + <Linker> + <Add option="-s" /> + </Linker> + </Target> + </Build> + <Compiler> + <Add option="-Wall" /> + <Add option="-fexceptions" /> + </Compiler> + <Unit filename="main.cpp" /> + <Unit filename="test02.cpp"> + <Option target="Test 02" /> + </Unit> + <Extensions> + <code_completion /> + <envvars /> + <debugger /> + <lib_finder disable_auto="1" /> + </Extensions> + </Project> +</CodeBlocks_project_file> diff --git a/C++/How to C++ (02.12.2017)/How to c++/How to c++.depend b/C++/How to C++ (02.12.2017)/How to c++/How to c++.depend new file mode 100755 index 0000000..97e16c9 --- /dev/null +++ b/C++/How to C++ (02.12.2017)/How to c++/How to c++.depend @@ -0,0 +1,4 @@ +# depslib dependency file v1.0
+1512233516 source:e:\all projects\how to c++\how to c++\main.cpp
+ <iostream>
+
diff --git a/C++/How to C++ (02.12.2017)/How to c++/How to c++.layout b/C++/How to C++ (02.12.2017)/How to c++/How to c++.layout new file mode 100755 index 0000000..8b1f267 --- /dev/null +++ b/C++/How to C++ (02.12.2017)/How to c++/How to c++.layout @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<CodeBlocks_layout_file> + <FileVersion major="1" minor="0" /> + <ActiveTarget name="Debug" /> + <File name="main.cpp" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0"> + <Cursor> + <Cursor1 position="86" topLine="0" /> + </Cursor> + </File> + <File name="test02.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0"> + <Cursor> + <Cursor1 position="114" topLine="0" /> + </Cursor> + </File> +</CodeBlocks_layout_file> diff --git a/C++/How to C++ (02.12.2017)/How to c++/main.cpp b/C++/How to C++ (02.12.2017)/How to c++/main.cpp new file mode 100755 index 0000000..04563ab --- /dev/null +++ b/C++/How to C++ (02.12.2017)/How to c++/main.cpp @@ -0,0 +1,13 @@ +#include <iostream>
+using namespace std;
+int main()
+{
+ string name;
+ cout << "Hello! \n My name is CMD. \n What is yours? ";
+ cin >> name;
+ cout << "Oh, nice to meet you " << name;
+
+ return 0;
+
+}
+
diff --git a/C++/How to C++ (02.12.2017)/How to c++/test02.cpp b/C++/How to C++ (02.12.2017)/How to c++/test02.cpp new file mode 100755 index 0000000..6d1a18d --- /dev/null +++ b/C++/How to C++ (02.12.2017)/How to c++/test02.cpp @@ -0,0 +1,12 @@ +#include <iostream>
+using namespace std;
+int main()
+{
+ string name;
+ cout << "Hello! \n My name is Jeff. \n What is yours? ";
+ cin >> name;
+ cout << "Oh, nice to meet you " << name;
+
+ return 0
+
+}
|
