计算机处理信息的方式

65

A————01000001

#41(16进制)

最常用的两种的类型

 

字符串型  string “65” 0011011000110111

整型  int  65    01000001

 

看两组简单的语句

Int i; string s;

i=5; s=“hello”;

Int i_2=5,I_3=5; string s_2=“world”

i=i+I_2+I_3; s=s+””+s_s+”!”;

 

结果;i=15; 结果 s“hello world!”

原文地址:https://www.cnblogs.com/xiaowie/p/9146064.html