Advanced C++ - Class 1
Course overview and syllabus review
- Review in class the syllabus and course outline, questions
and Answer
Review of Visual Studio, settings and operations
- Visual Studio is an Integrated Development Environment to
help you build C++ applications. The top level of assembly is the
workspace. Each workspace can have many projects and projects have
build settings. Projects have source that
include source code,
resource scripts, bitmaps etc. Each of these entities can have
settings.
- Projects have a configuration. A configuration is a
set of settings. You create a configuration under [Build] -
[Configuration]. Typical configurations are for Debug and
Release.
- A useful setting is a preprocessor directive where you may
use #ifdef in your code to create conditional compilations through various
configurations.
[Build] - [Configuration] - [Add] (name the Configuration)
[Build] - [Set Active Configuration]
[Project] - [Settings] - [C/C++] - [Preprocessor Directives] (Add one to
this line separated by a comma)
Building a Console and debugging a console application
Debugging within Visual Studio