Using Visual C++ for C++ instead of C++/CLI

こ雲淡風輕ζ 提交于 2019-12-20 04:34:19

问题


I know how to program in C++ making console programs, but now I want to code programs with interfaces for Windows. MS VS 2010 makes things easy when coding C++ Windows applications with its drag & drop design system. (.net Framework) However, Visual Studio seems to use C++/CLI, which I'm unfamiliar with.

Is there for an IDE which only uses C++? Is there any good IDE with an easy to use GUI designer, or can I tweak VS 2010 to not to use C++/CLI?


回答1:


Visual C++ is perfectly happy to not use C++/CLI syntax, in fact it works even better without it.

Just set "Use of .NET Framework (/clr)" setting in your project options to "No". Or use the "Win32 Application" wizard when creating your project to begin with.

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.




回答2:


The best RAD C++ tool, which also happens to accept unmanaged C++ is "CodeGear C++ Builder"




回答3:


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



来源:https://stackoverflow.com/questions/4572116/using-visual-c-for-c-instead-of-c-cli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!