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 |
新闻热点
疑难解答
图片精选