Modern C++ course fallthrough_attribute example.
fallthrough_attribute function
To build fallthrough_attribute project, open "Terminal" and type following lines:
mkdir build && cd build
cmake ..
start fallthrough_attribute.slnSelect fallthrough_attribute project and type Ctrl+F5 to build and run it.
mkdir build && cd build
cmake .. -G "Xcode"
open ./fallthrough_attribute.xcodeprojSelect fallthrough_attribute project and type Cmd+R to build and run it.
mkdir build && cd build
cmake ..
cmake --build . --config Debug
./fallthrough_attribute- Launch Visual Studio Code.
- Select
File/Open Folder...menu. - Select
fallthrough_attributefolder and open it. - Build and Run
fallthrough_attributeproject.
