关于头文件string和iostream
为什么
#include<iostream.h>
#include<string>同时存在是会出现类似
syntax error : missing ';' before identifier 'name';
编译错误?怎么解决????
[解决办法]
楼主,请扔了你手头那过时的教材和VC6,珍惜生命吧。
[解决办法]
#include<iostream>
using namespace std;
换ide vs2008.
codeblocks