C++ is a general-purpose programming language and is widely used nowadays for competitive programming. It has imperative, object-oriented and generic programming features. C++ runs on lots of platforms like Windows, Linux, Unix, Mac etc.
class CPlusPlus { public: void Code() { cout<<"Hey,ThisIs-Developer"<<endl; } };
Installing MinGW/MSYS
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite
http://www.mingw.org/wiki/MSYS
Download the MinGW Installer
https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780
Installing MSYS
http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe
Git for MSYS
http://code.google.com/p/msysgit/
To run this project, you will need to add the following environment variables to your .env file
#ifdef _TPF_SOURCE #ifndef __envn__ char ***__Envn(); #define environ (*(__Envn())) #define __envn__ #endif #else
- Object Oriented
- Memory Management
- Mid-level programming language
- Structured programming language
To run tests, run the following command
gcc --version g++ --version gdb --version
mkdir projects cd projects mkdir helloworld cd helloworld code .
{ "tasks": [ { "type": "cppbuild", "label": "C/C++: g++.exe build active file", "command": "C:\\msys64\\mingw64\\bin\\g++.exe", "args": [ "-fdiagnostics-color=always", "-g", "${file}", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" ], "options": { "cwd": "${fileDirname}" }, "problemMatcher": ["$gcc"], "group": { "kind": "build", "isDefault": true }, "detail": "Task generated by Debugger." } ], "version": "2.0.0" }