c++入门第一篇:hello,world!

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/iceSony/article/details/51171581

记录每日学习进程,回顾复习便于查找


c风格的实现

#include<stdio.h>




int main()
{
 printf("hello,world!\n");
 return 0;
}

c++风格的实现

#include<iostream>

using namespace std;

int main()
{
	cout<<"hello,world!"<<endl;
	return 0;
}


猜你喜欢

转载自blog.csdn.net/iceSony/article/details/51171581