啊哈磊_编程从这里起步
标题:
???
[打印本页]
作者:
MIEQ
时间:
2019-3-20 16:31
标题:
???
#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int a,b,c
a=1;
b=2;
c=a+b;
printf("%d",c);
return 0;
}
复制代码
作者:
也有
时间:
2019-4-25 20:28
include <iostream>//#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int a,b,c
a=1;
b=2;
c=a+b;
printf("%d",c);//这是C语言的写法,你这个程序是C++的,这里应该改成cout<<c<<endl;
return 0;
}
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/)
Powered by Discuz! X3.2