Learning C-Style C++


by Direct Approach Mentoring
www.DirectAM.com


This DirectAM guide aims to be the most straight-forward introduction to learning C++ the easy way: in the style of C. This guide is for users with MS Visual Studio in the process of learning C++.

Contents:
Starting a "Win32 Console Project"

0. Visual Studio

main() #include

1. Empty Program

int char bool float

2. Types

+ - * / % == != > >= < <=

4. Operators

printf(
"String"
)

5. Screen Output

printf(
"%d"
,number)

6. Variable Screen Output

getch()

7. Input