Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
cppmsg
modern_cpp_course
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
modern_cpp_course
/
docs
/
pictures
/
language_basics
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
modern_cpp_course
/
docs
/
pictures
/
language_basics
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
anonymous_namespace.png
anonymous_namespace.png
anonymous_namespace_static.png
anonymous_namespace_static.png
assert.png
assert.png
assert_ndebug.png
assert_ndebug.png
auto_always_initialized.png
auto_always_initialized.png
auto_declarations.png
auto_declarations.png
auto_for_range_loop_with_auto.png
auto_for_range_loop_with_auto.png
auto_for_range_loop_without_auto.png
auto_for_range_loop_without_auto.png
auto_with_auto.png
auto_with_auto.png
auto_without_auto.png
auto_without_auto.png
basic_types.png
basic_types.png
basic_types_2.png
basic_types_2.png
basic_types_3.png
basic_types_3.png
binary_and_assignment_operators.png
binary_and_assignment_operators.png
bitwise_and_assignemnt_operators.png
bitwise_and_assignemnt_operators.png
cmake_gui.png
cmake_gui.png
comments.png
comments.png
comparison_operators.png
comparison_operators.png
conditional_operator_best_practice.png
conditional_operator_best_practice.png
conditional_operator_example.png
conditional_operator_example.png
conditional_operator_syntax.png
conditional_operator_syntax.png
different_ways_to_pass_arguments_to_a_function.png
different_ways_to_pass_arguments_to_a_function.png
dynamic_arrays_using_c.png
dynamic_arrays_using_c.png
dynamic_arrays_using_cpp.png
dynamic_arrays_using_cpp.png
enum.png
enum.png
enum_class.png
enum_class.png
enum_class_with_underlying_type.png
enum_class_with_underlying_type.png
enum_with_underlying_type.png
enum_with_underlying_type.png
fallthrough_attribute.png
fallthrough_attribute.png
fixed_width_floating_point_types.png
fixed_width_floating_point_types.png
fixed_width_integer_types.png
fixed_width_integer_types.png
floating_point_literals.png
floating_point_literals.png
for_loop_example.png
for_loop_example.png
for_loop_syntax.png
for_loop_syntax.png
function_good_practices.png
function_good_practices.png
function_good_practices_do_not_everything_in_one_long_function.png
function_good_practices_do_not_everything_in_one_long_function.png
function_with_default_argument.png
function_with_default_argument.png
function_with_default_arguments.png
function_with_default_arguments.png
function_with_param_and_no_return.png
function_with_param_and_no_return.png
function_with_param_and_return.png
function_with_param_and_return.png
function_with_param_and_return_to_reference.png
function_with_param_and_return_to_reference.png
function_with_params_and_return.png
function_with_params_and_return.png
function_without_param_and_no_return.png
function_without_param_and_no_return.png
function_without_param_and_return.png
function_without_param_and_return.png
functions_and_references_to_returned_values.png
functions_and_references_to_returned_values.png
header_include_guards.png
header_include_guards.png
header_include_guards_pragma_once.png
header_include_guards_pragma_once.png
headers_and_interfaces_print_hello_cpp.png
headers_and_interfaces_print_hello_cpp.png
headers_and_interfaces_print_hello_hpp.png
headers_and_interfaces_print_hello_hpp.png
headers_and_interfaces_print_hello_main_cpp.png
headers_and_interfaces_print_hello_main_cpp.png
hello_world_cmake_cpp23.png
hello_world_cmake_cpp23.png
hello_world_cmake_cpp98.png
hello_world_cmake_cpp98.png
hello_world_output23.png
hello_world_output23.png
hello_world_output98.png
hello_world_output98.png
hello_world_source_cpp23.png
hello_world_source_cpp23.png
hello_world_source_cpp98.png
hello_world_source_cpp98.png
if_example.png
if_example.png
if_syntax.png
if_syntax.png
increment_decrement_operators.png
increment_decrement_operators.png
init_statement_for_if_and_switch.png
init_statement_for_if_and_switch.png
init_statement_for_if_and_switch_variable_declaration_as_condition.png
init_statement_for_if_and_switch_variable_declaration_as_condition.png
init_statements_for_range_based_loop.png
init_statements_for_range_based_loop.png
inline_keyword.png
inline_keyword.png
inline_variables_cpp.png
inline_variables_cpp.png
inline_variables_hpp.png
inline_variables_hpp.png
integer_literals.png
integer_literals.png
jump_statement_break.png
jump_statement_break.png
jump_statement_continue.png
jump_statement_continue.png
jump_statement_goto.png
jump_statement_goto.png
jump_statement_return.png
jump_statement_return.png
jump_statement_return_2.png
jump_statement_return_2.png
logical_operators.png
logical_operators.png
main.png
main.png
main_with_arguments.png
main_with_arguments.png
more_concrete_example.png
more_concrete_example.png
namespace_alias_nested_namespaces.png
namespace_alias_nested_namespaces.png
namespace_alias_nested_namespaces_alias.png
namespace_alias_nested_namespaces_alias.png
namespace_alias_very_long_namespace.png
namespace_alias_very_long_namespace.png
namespace_alias_very_long_namespace_alias.png
namespace_alias_very_long_namespace_alias.png
namespaces.png
namespaces.png
nested_namespace_cpp17.png
nested_namespace_cpp17.png
nested_namespace_cpp98.png
nested_namespace_cpp98.png
nullptr.png
nullptr.png
operator_precedence.png
operator_precedence.png
overloading.png
overloading.png
paramters_are_passed_by_value.png
paramters_are_passed_by_value.png
pass_by_value_or_reference.png
pass_by_value_or_reference.png
pointer_to_integer.png
pointer_to_integer.png
pointers.png
pointers.png
preprocessor_check.png
preprocessor_check.png
preprocessor_constant_macro.png
preprocessor_constant_macro.png
preprocessor_constexpr.png
preprocessor_constexpr.png
preprocessor_function.png
preprocessor_function.png
preprocessor_function_like_macro.png
preprocessor_function_like_macro.png
range_based_loop_example.png
range_based_loop_example.png
range_based_loop_syntax.png
range_based_loop_syntax.png
references.png
references.png
scope.png
scope.png
scope_and_lifetime_of_variables.png
scope_and_lifetime_of_variables.png
sizeof.png
sizeof.png
View all files
You can’t perform that action at this time.