Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 3.05 KB

ModernCpp_Readme.md

File metadata and controls

58 lines (44 loc) · 3.05 KB

MODERN CPP 2017

CPP Header Lists

cpp header list | cpp reference
cpp header list | IBM

Containers

Container မြန်မာလို

Templates

Templates မြန်မာလို

Setting up C++ Dev in GNU/Linux

// Install requirements sudo apt install -y git build-essentials cmake cppcheck

  1. Preprocess $ g++ -E hello.cpp > hello.i

  2. Compilation $ g++ -S hello.i

  3. Assembly $ g++ -c hello.s

  4. Linking $ g++ hello.o -o hello

// Useful Compilation flags
-std=c++17 // version
-Wall, -Wextra, -Werror // warning
-O0 // Optimization ( no optimizations [default] )
-O3 or -Ofast // Optimization ( full optimizations )
-g // Keep Debugging symbols

Medium

Make ဘာလဲ နှင့် Dyanmic lib / Static lib များအကြောင်း Compilers in Linux
CMake part 1 Introduction
CMake part 2 ( include_directories )
CMake part 3 ( set(), message(), if() )
CMake part 4 ( add_library() )
CMake part 5 ( variables )
CMake part 6 ( config_file )
CMake part 7 ( if, foreach, while )
CMake part 8 ( function, cache )
CMake part 9 ( compile, install )
CMake part 10 ( file, string, execute process )
CMake part 11 ( find_package() )
CMake part 12 ( target )

Gitbook

C++ stl အနှစ်များ C++ Templates Cross-compile Basic