摘要:
ASCII码对照表zi:http://xahanjianxin.blog.163.com/blog/static/4458605720082215539592/ASCII码对照表2008-03-14 09:41ASCII, American Standard Code for Information Interchange 念起来像是 "阿斯key",定义从 0 到 127 的一百二十八个数字所代表的英文字母或一样的结果与意义。由于只使用7个位元(bit)就可以表示从0到127的数字,大部分的电脑都使用8个位元来存取字元集(character set),所以从128到255 阅读全文
摘要:
1 #include <iostream> 2 using namespace std; 3 int main() 4 {int prime(int); /* 函数原型声明 */ 5 int n; 6 cout<<"input an integer:"; 7 cin>>n; 8 if (prime(n)) 9 cout<<n<<" is a prime."<<endl;10 else11 cout<<n<<" is not a prime." 阅读全文