c++代码错误 在线等

来源:百度知道 编辑:UC知道 时间:2024/06/12 15:27:00
我是自学C++ 没任何人指点过 今天把书上的程序用C++builder 运行 不知道怎摸有错 很简单的程序 大虾不要笑我
#include <iostream>
int main () {
std::cout <<"the best places to start is the beginning";
return 0;
}

楼主,这个原程序我在vc6.0编译过了,绝对没有错!再请检查一下其他问题吧!

#include <iostream>
using namespace std;
int main () {
cout <<"the best places to start is the beginning";
return 0;
}
这样就可以了!

晕 你这 程序肯定没拷全

还有最基本的格式都错误

。。。。。。

#include <iostream.h>
void main ()
{
cout <<"the best places to start is the beginning";
}

#include <iostream>
using namespace std;
int main () {
std::cout <<"the best places to start is the beginning";
return 0;
}
有其他问题和加入q群:34338913,大家一齐讨论