用C语言编写程序?
用C语言编写程序,谢谢了
1:写好头文件: 一般的情况下,基本都会带有三个头文件,这是编译系统自带的头文件,我们一般都会使用到的: #include :标准输入输出文件库 #include :标准文件操作库 #include :字符处理函数库 2:每个程序里都包含有一个mian函数: int main() { int a = 1; int b = 2; int c = 0; c = func(a,b); printf("%d",c); return 0; } 3:一般每个程序里都有一些函数: 这里我们举一个基本的函数的例子: int func(int iPram1, int iPram2) { return iPram1+iPram2; } 这个函数的作用是把参数传入的值,进行相加,然后,返回相加后的值。 祝你好运一生一世!点击好评,谢谢你!
答:...如果5日平均的话 试了一下 基于win32没有错误 #include "Stdio.h" #include "Conio.h" #define SIZE ...详情>>