Transcription of C++ Reference Card
{{id}} {{{paragraph}}}
C++ Reference Card 2002 Greg BookKeyswitch keyword, reserved Hello! string// comment commented codeclose() library functionmain variable, identifiervariable placeholder in syntaxif (exression) - syntax statement;C++ Program Structure// my first program in C++#include < >int main (){ cout << Hello World! ; return 0;}// single line comment/* multi-line comment */IdentifiersThese are ANSI C++ reserved words and cannot be used as variable , auto, bool, break, case, catch, char, class, const, const_cast, continue,default, delete, do, double, dynamic_cast, else, enum, explicit, extern, false, float,for, friend, goto, if, inline, int, long, mutable, namespace, new, operator, private,protected, public, register, reinterpret_cast, return, short, signed, sizeof, static,static_cast, struct, switch, template, this, throw, true, try, typedef.
C++ Reference Card © 2002 Greg Book Key switch – keyword, reserved “Hello!” – string // comment – commented code close() – library function main ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}