摘要:
啃着《The C Programming Language》重学C语言。在看到1.6数组的时候,有一个例子:在这部分内容中,我们来编写一个程序,以统计各个数字、空白符(包括空格符、制表符及换行符)以及所有其他自负出现的次数。这个程序的实用意义并不大,但我们可以通过该程序讨论C语言多方面的问题。照着例子敲了一遍View Code 1 #include <stdio.h> 2 3 int main() 4 { 5 int c = 0; 6 int i = 0; 7 int nwhite = 0; 8 int nother = 0; 9 int ndigi... 阅读全文
posted @ 2013-02-20 15:18
Vici柒
阅读(216)
评论(0)
推荐(0)
浙公网安备 33010602011771号