Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 951 Bytes

File metadata and controls

57 lines (38 loc) · 951 Bytes

overloading

Modern C++ course overloading example.

overloading

Source

overloading.cpp

CMakeLists.txt

Output

Overloading

Build and run

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

Windows :

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

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

macOS :

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

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

Linux :

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

Linux with Visual Studio Code :

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