|
发表于 2004-4-26 22:50:00
|
显示全部楼层
Re:要学C++要装些什么东西
1:一本书,推荐没有基础的用《C++大学教程》,有基础的用《C++ PRIMER》
2:一个对C++标准支持的较好的编译器。
下面的程序如果能成功编译的就行。
- #include<iostream>
- #include<string>
- using namespace std;
- int main()
- {
- string s;
- cout << "Please enter your first name followed by a newline\n";
- cin >> s;
- cout << "Hello, " << s << '\n';
- return 0; // this return statement isn't necessary
- }
复制代码
比如Microsoft Visual Studio .NET 2003或者是dev c++
[em10] |
|