/CPP-Lessons

C++ Lessons and Snippets

Primary LanguageC++MIT LicenseMIT

CPP-Lessons

C++ 20 Lessons and Snippets

Compile and Run Codes

For compiling the code we need a C++ compiler.

  • Windows: install MinGW
  • MacOS: install XCode tools package
  • linux:
    • Fedora, Red Hat, CentOS:
    • yum groupinstall 'Development Tools'
    • Debian, Ubuntu:
    • $ sudo apt-get update
      $ sudo apt-get install build-essential manpages-dev
Compile:
  • g++ filename.cpp -o outputname
Run:
  • ./outputname