张云雷和杨九郎生活照:我是一刚用vc2005的新手!以前也没用6.0

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 01:56:47
我是一刚用vc2005的新手!以前也没用6.0
我现在遇到两个问题!
1.我建了一个代码,如下:

#include <iostream>
using namespace std;
int main(){
cout<<"klasdfj";
return 0;
}

这个应没错吧?为什么弹出一提示:如下:
Unable to start program 'e:\vc2005/temp\debug\test.exe'
系统找不到指定的文件

下面是output里面的:
------ Build started: Project: test, Configuration: Debug Win32 ------
Compiling...
te.cpp
e:\vc2005\temp\test\test\te.cpp(7) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
Build log was saved at "file://e:\vc2005\temp\test\test\Debug\BuildLog.htm"
test - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

问题二:
我新建了一个项目,为什么都默认的出来下面这些?
是什么用处的啊?

// hgjghjgh.cpp : Defines the entry point for the console application.
//定义了这入口点为这应用控制台

#include "stdafx.h"

int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}

3.我现在面对的vc2005英文的ide,一点一点的看啊,有没有朋友提供一点2005入门的资料?
或原意指导小弟入门的
msn:cppprince@hotmail.com
QQ:350994993

谢谢各位!