1.基础代码
#include<bits/stdc++.h>
using namespace std;
int main()
{
return 0;
}
这是c++基础的代码。
2.需要知道的东西
#include<bits/stdc++.h>
using namespace std;
int main()
{
cout<<"hello,world";
return 0;
}
这是每个程序员一开始编写的程序,其中cout是输出,return是结束,当你运行代码时,他就会显示:hello,world这是因为cout输出了引号里的内容才能显示出来,但凡是花括号里的每一句结尾都要加引号。
新手小白