摘要:
Exercise 1-1. Run the ``hello, world'' program on your system. Experiment with leavingout parts of the program, to see what error messages you get.Exercise 1-2. Experiment to find out what happens when prints's argument string contains\c, where c is some character not listed above.Exerci 阅读全文
摘要:
因为想要成为高级PHPER,所以开始认真学习C语言,我看的书名为 C K&R.pdf。这系列文章将作为读书笔记及心得不定时的发布到博客上。The first c program这是摄氏与华氏温度转换的公式:C=(5/9)(F-32) 1 /* 引入库文件 */ 2 #include <stdio.h> 3 #include <stdlib.h> 4 /* 入口函数 */ 5 main() 6 { 7 /* 定义变量 */ 8 int fahr, celsius; 9 int lower, upper, step;10 11 /* 初始化变量的值 *... 阅读全文