使用Visual C ++代替C ++而不是C ++ / CLI [英] Using Visual C++ for C++ instead of C++/CLI

查看:263
本文介绍了使用Visual C ++代替C ++而不是C ++ / CLI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何在C ++中编程控制台程序,但现在我想用Windows接口编写程序。 MS VS 2010使编写C ++ Windows应用程序时,它的拖动&液滴设计系统。 (.net Framework)然而,Visual Studio似乎使用C / CLI,我不熟悉。

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.

是否有一个IDE只使用C ++ ?是否有任何良好的IDE与易于使用的GUI设计器,或者我可以调整VS 2010不使用C ++ / CLI?

推荐答案

Visual C ++非常高兴不使用C ++ / CLI语法,事实上它没有它的工作原理更好。

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

框架(/ clr)设置为否。

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.

这篇关于使用Visual C ++代替C ++而不是C ++ / CLI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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