Intellisense在vs2010与c ++ [英] Intellisense in vs2010 with c++

查看:225
本文介绍了Intellisense在vs2010与c ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能得到intellisense工作。即使我开始一个空项目,只添加一个文件,只有一个include iostream int main()函数打印一个字符 cout (基本上最基本的程序),如果我试图获得intellisense显示任何东西(比如通过键入 )我获得

I can't get intellisense to work. Even if I start with an empty project and add just one file to it with only an include for iostream and an int main() function that prints a char with cout (basically the most basic program), if I try to get intellisense to show anything (say by typing cout.) I get


IntelliSense:没有其他信息进一步帮助。)

IntelliSense: 'No additional information available' (See 'Troubleshooting IntelliSense in C++ Projects' for further help.)

Google搜索的时间在Microsoft网站上提供了几篇文章,尝试或原因为什么它不工作。我已经尝试并消除了它们,除了一个提到 stdafx.h 必须在路径中。

Hours of googling have yielded a couple of articles over at the Microsoft sites that suggest a bunch of things to try or reasons why it wouldn't work. I have tried and eliminated them all, except for one that mentions that stdafx.h has to be in the path.

这是什么文件?

如果我不知道它在哪里,我怎么知道它在路径中?

它与IntelliSense有什么关系?

我应该将此文件添加到我的项目以使其正常工作吗?

What is this file?
How do I know if it is in the path if I don't know where it is?
What does it have to do with IntelliSense?
Should I add this file to my project to get it to work?

谢谢。

推荐答案

我得到它由微软团队解决 http://connect.microsoft.com/VisualStudio/feedback/details/652838/intellisense-not-creating-ipch-folder

I got it solved by the Microsoft team at http://connect.microsoft.com/VisualStudio/feedback/details/652838/intellisense-not-creating-ipch-folder

它与WinXP上安装的某个Windows Update有关。解决方案是安装VS2010_SP1,然后对其进行一定的更新。

It had to do with a certain Windows Update installed on WinXP. The solution was to install VS2010_SP1 and then a certain update over it.

这篇关于Intellisense在vs2010与c ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆