Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.65 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.65 KB

Learning C & C++

OS and IDE

Compilers

GCC, CLang

  • To compile with GCC (c): gcc input.c -o output.o (optional param for cpp: -lstdc++)
  • To compile with G++ (c++): g++ input.cpp -o output.o
  • To compile with G++ (c++11): g++ -std=c++11 input.cpp -o output.o
  • To compile with CLang: clang++ input.cpp -o output.o
  • To run: ./output.o

Linters

Install

  • brew install gcc clang-format

Url's

  1. code-live/cpp-manual
  2. purecodecpp
  3. learn-c
  4. cprogramming
  5. cppstudio
  6. isocpp
  7. CppCoreGuidelines

Xcode

Create a MacOS CommandLineTool and select language C++.

Articles