C ++上的Intellisense(Visual Studio 2010) [英] Intellisense on C++ (Visual Studio 2010)

查看:110
本文介绍了C ++上的Intellisense(Visual Studio 2010)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗯,我已经重新安装了Visual Studio 2010(试用版,来自Microsoft网站),但是我注意到Intellisense无法正常工作.我已经做到了:

Well, i've reinstalled Visual Studio 2010 (trial, from Microsoft site) but i'm noticing that Intellisense doesn't work. I've done this:

不支持通用语言运行时" 自动列出成员"和参数信息"

The thing of "No common language RunTime Support" "Autolist Members" and "Parameter information"

但我仍然得到:

Intellisense:没有其他可用信息"

Intellisense: 'No additional available information'

这不是一个预编译的头项目,我没有stdafx文件...

It's a not precompiled header project, i don't have stdafx files...

我如何使智能感知工作? :(!

How i make intellisense work? :(!

推荐答案

不支持通用语言运行时

No common language RunTime Support

这意味着您不是用C ++编程.您是用C ++/CLI编写的.它们是完全不同的语言. C ++/CLI在C#中更具特色. Visual Studio 2010在C ++/CLI项目中不支持Intellisense.您需要使用本机项目,或者在没有Intellisense的情况下运行.

This means you are not programming in C++. You're writing in C++/CLI instead. They are quite different languages; C++/CLI is more in character with C#. Visual Studio 2010 does not support Intellisense in C++/CLI projects. You need to use a native project, or live without Intellisense.

这篇关于C ++上的Intellisense(Visual Studio 2010)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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