Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 870 Bytes

File metadata and controls

57 lines (38 loc) · 870 Bytes

scope

Modern C++ course scope example.

scope

Source

scope.cpp

CMakeLists.txt

Output

scope function

Build and run

To build scope project, open "Terminal" and type following lines:

Windows :

mkdir build && cd build
cmake .. 
start scope.sln

Select scope project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./scope.xcodeproj

Select scope project and type Cmd+R to build and run it.

Linux :

mkdir build && cd build
cmake .. 
cmake --build . --config Debug
./scope

Linux with Visual Studio Code :

  • Launch Visual Studio Code.
  • Select File/Open Folder... menu.
  • Select scope folder and open it.
  • Build and Run scope project.