Visual Studio 2008 不能用来学习VC++吗?
我是学C#的,对编程有一定了解后,想在学一下VC++ Microsoft Visual Studio 2008 好像可以使用好多语言呀?
我用VS 2008建了一个Vc++的控制台程序 :
我现在只是入门,用VS2008 应该足够了吧?还需要专门装一个vc++的工具吗?
#include "stdafx.h"
#include "iostream.h"
struct piont
{
int y;
int x;
};
int _tmain(int argc, _TCHAR* argv[])
{
piont pt;
pt.x = 5;
pt.y = 5;
cout<<pt.x<<endl<<pt.y<<endl;
}
他说:
错误1fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directoryd:\cstest\vc++\test1\test1\test1.cpp5test1
[解决办法]
VC++2008 可以写程序
不过你来c++builder板块 我就建议你用C++Builder