简体   繁体   English

使用Visual C ++ for C ++代替C ++ / CLI

[英]Using Visual C++ for C++ instead of C++/CLI

I know how to program in C++ making console programs, but now I want to code programs with interfaces for Windows. 我知道如何用C ++编写控制台程序,但是现在我想用Windows界面编写程序。 MS VS 2010 makes things easy when coding C++ Windows applications with its drag & drop design system. 通过其拖放设计系统,MS VS 2010在编写C ++ Windows应用程序时使事情变得容易。 (.net Framework) However, Visual Studio seems to use C++/CLI, which I'm unfamiliar with. (.net Framework)但是,Visual Studio似乎使用了我不熟悉的C ++ / CLI。

Is there for an IDE which only uses C++? 是否有仅使用C ++的IDE? Is there any good IDE with an easy to use GUI designer, or can I tweak VS 2010 to not to use C++/CLI? 是否有任何具有易于使用的GUI设计器的良好IDE,还是可以将VS 2010调整为不使用C ++ / CLI?

Visual C++ is perfectly happy to not use C++/CLI syntax, in fact it works even better without it. Visual C ++非常高兴不使用C ++ / CLI语法,实际上,如果没有它,它甚至会更好。

Just set "Use of .NET Framework (/clr)" setting in your project options to "No". 只需将项目选项中的“使用.NET Framework(/ clr)”设置为“否”即可。 Or use the "Win32 Application" wizard when creating your project to begin with. 或在开始创建项目时使用“ Win32应用程序”向导。

The "native" version of the Forms Designer is called the Dialog Editor and it works much the same way -- you can select textboxes and buttons and things from a palette and drag where you want them in your window. Forms Designer的“本机”版本称为“对话框编辑器”,其工作方式大致相同-您可以从调色板中选择文本框和按钮以及其他内容,然后将它们拖到窗口中所需的位置。

How about Qt Creator - IDE for Qt? Qt Creator-Qt的IDE怎么样? http://www.qt.io/ide/ http://www.qt.io/ide/

最好的RAD C ++工具也是“ CodeGear C ++ Builder”,它也可以接受非托管C ++。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM