C++不僅擁有計算機高效運行的實用性特征,同時還致力于提高大規模程序的編程質量與程序設計語言的問題描述能力。
中文名C++語言外文名The C++ PRogramming Language/c plus plus類 別計算機程序設計語言創始人Bjarne Stroustrup創始公司貝爾實驗室基本內容類、封裝、重載、繼承、模版1 | char a= 'am' ; |
12 | cout<<i++; cout<<++i; |
1 | n=1 |
1 | a=b=c=2 |
1 | a=3+(c=4) |
12 | b+=2; //等價于b=b+2 x*=y+3; //等價于x=x*(y+3) |
1 | 如果在賦值表達式后面加上分號,便成為了賦值語句。例如: |
1 | x=2*5,x*4 |
123 | x>5 x+y<=20 c==a+b |
asm | do | if | return | typedef |
auto | double | inline | short | typeid |
bool | dynamic_cast | int | signed | typename |
break | else | long | sizeof | union |
case | enum | mutable | static | unsigned |
catch | explicit | namespace | static_cast | using |
char | export | new | struct | virtual |
class | extern | Operator | switch | void |
const | false | private | template | volatile |
const_cast | float | protected | this | wchar_t |
continue | for | public | throw | while |
default | friend | register | true | |
delete | goto | reinterpret_cast | try |
新聞熱點
疑難解答
圖片精選