正在加载图片...
11.1 Introduction o cout<< int variable;/整型变量 cout<< priNt:∥/整型指针 cout<< ptrChar;//字符指针 “<<”流插入运算符&按位左移运算符 temp 14 <<2 temp =56 o int num = 10: num num+1: o double num =1.0 num s num + 1.0 int num[10] *pNum num; pNum pNum o operator overloading运算符重载 0 2018, SEU. All rights reserved. 5© 2009, SEU. All rights reserved. © 2018, SEU. All rights reserved. 5 11.1 Introduction cout << int_variable;// 整型变量 cout << ptrInt;// 整型指针 cout << ptrChar;// 字符指针 “<<”流插入运算符 & 按位左移运算符 temp = 14 << 2 temp = int num = 10; num = num + 1; double num = 1.0; num = num + 1.0; int num[10], *pNum = num; pNum = pNum + 1; operator overloading 运算符重载 56
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有