C++_class_powerpoint_1.2】的更多相关文章

用英文编写(复制黏贴)果然比较吃力啊,果然还是要写中文. Expressions and Statements Operator summary Scope resolution   class::member namespace::member Global                   ::name ::qualified-name namespace NS { int x; } int x; void f() { ; ::x=; ::NS::x=; x=; … } 在命名空间里使用同…
Types and Declarations Boolean Type bool type – boolean , logic type bool literal – true, falseint and bool Nonzero->true Zero ->false true ->1 false->0 1 <= sizeof( bool) <= sizeof(long) void f(int a,int b) { bool b1{a==b}; bool b2 = a=…