Title | Cpp Ref Card - Cheatsheet |
---|---|
Author | Benedikt |
Course | Grundlagen des Programmierens |
Institution | Technische Universität München |
Pages | 2 |
File Size | 99.5 KB |
File Type | |
Total Downloads | 36 |
Total Views | 171 |
Cheatsheet...
C++ Reference Card
Pointers
Looping while Loop
C++ Data Types Data Type bool char char[] string int long int float double
Description boolean (true or false) character ('a', 'b', etc.) character array (C-style string if null terminated) C++ string (from the STL) integer (1, 2, -1, 1000, etc.) long integer single precision floating point double precision floating point
These are the most commonly used types; this is not a complete list.
Example
while (expression) statement;
while (x < 100) cout...