实例1 第一个C语言程序

#include <stdio.h>  //包含有printf的头文件
#include <stdlib.h>  //包含system的头文件
//主函数部分
int main(int argc,char** argv)
{
	printf("hello,world!\n");
	printf("Welcome .\n");
	//使程序处于挂起状态,等待用户按键以继续操作
	system("pause");
	//返回整形值0表示程序运行正确
	return 0;
}

猜你喜欢

转载自blog.csdn.net/lexi3555/article/details/93459462