用于Windows开发的C ++ [英] C++ for Windows development

查看:107
本文介绍了用于Windows开发的C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景:在Windows中编程GUI应用程序。


如果我需要速度,我会使用C.如果我需要面向对象,我会使用C#

(这也有助于创建用户界面)。


所以我的问题是,在今天的Windows编程世界中,c ++在哪里

合适吗?今天导致C ++开发的原因是什么(除非你是
是C ++的老手,所以用C ++编程是合理的,因为

it''你最喜欢的语言)?


谢谢,


日出

Scenario: programming GUI applications in Windows.

If I need speed, I''ll use C. If I need object orientation I''ll use C#
(which facilitate the creation of the user interface as well).

So my question is, in today''s windows programming world, where does c++
fit? What''s the reason that leads to develop in C++ today (unless you
are a C++ veteran, so programming in C++ is justified by the fact that
it''s your favorite language)?

Thanks,

sunrise

推荐答案

pl ************ @ gmail。 com 写道:

场景:在Windows中编程GUI应用程序。


如果我需要速度,我'将使用C.如果我需要面向对象,我将使用C#

(这也便于创建用户界面)。


所以我的问题是,在今天的windows编程世界中,c ++

在哪里适合?今天导致C ++开发的原因是什么(除非你是
是C ++的老手,所以用C ++编程是合理的,因为

it''你最喜欢的语言)?
Scenario: programming GUI applications in Windows.

If I need speed, I''ll use C. If I need object orientation I''ll use C#
(which facilitate the creation of the user interface as well).

So my question is, in today''s windows programming world, where does c++
fit? What''s the reason that leads to develop in C++ today (unless you
are a C++ veteran, so programming in C++ is justified by the fact that
it''s your favorite language)?



你只是要求一场火焰战。搜索该组的档案

,对这个问题进行二十次讨论。另请参阅此常见问题解答来自

Bjarne Stroustrup,C ++的创建者,以及我们标准答案后面的五个或六个


< a rel =nofollowhref =http://www.research.att.com/~bs/bs_faq.html#Javatarget =_ blank> http://www.research.att.com/~bs /bs_faq.html#Java


干杯! --M

You''re just asking for a flame war. Search the archives of this group
for twenty discussions of this same question. See also this FAQ from
Bjarne Stroustrup, the creator of C++, and the five or six that follow
for our standard answers:

http://www.research.att.com/~bs/bs_faq.html#Java

Cheers! --M


文章< 11 ********************* @ b28g2000cwb .googlegroups。 com>,
pl************@gmail.com 写道:
In article <11*********************@b28g2000cwb.googlegroups. com>,
pl************@gmail.com wrote:

场景:在Windows中编程GUI应用程序。


如果我需要速度,我''如果我需要面向对象,我会使用C#

(这也便于创建用户界面)。


所以我的问题是,在今天的windows编程世界中,c ++

在哪里适合?今天导致C ++开发的原因是什么(除非你是
是C ++的老手,所以用C ++编程是合理的,因为

it''你最喜欢的语言)?
Scenario: programming GUI applications in Windows.

If I need speed, I''ll use C. If I need object orientation I''ll use C#
(which facilitate the creation of the user interface as well).

So my question is, in today''s windows programming world, where does c++
fit? What''s the reason that leads to develop in C++ today (unless you
are a C++ veteran, so programming in C++ is justified by the fact that
it''s your favorite language)?



(我认为这是一个巨魔,但是到底是什么......)


a)对速度和需要因为面向对象并不是相互排斥的。


b)那里有一个广阔的世界并没有围绕着

在Windows中编程GUI应用程序。

(I figure this is a troll, but what the heck...)

a) The need for speed and the "need" for object orientation aren''t
mutually exclusive.

b) There is a big wide world out there that doesn''t revolve around
programming GUI applications in Windows.



pl ************ @ gmail.com 写道:

场景:编程GUI应用程序Windows。


如果我需要速度,我会使用C.如果我需要面向对象,我会使用C#

(这有助于创建用户界面也是如此)。


所以我的问题是,在今天的Windows编程世界中,c ++

适合哪里?今天导致C ++开发的原因是什么(除非你是
是C ++的老手,所以用C ++编程是合理的,因为

it''你最喜欢的语言)?


谢谢,
Scenario: programming GUI applications in Windows.

If I need speed, I''ll use C. If I need object orientation I''ll use C#
(which facilitate the creation of the user interface as well).

So my question is, in today''s windows programming world, where does c++
fit? What''s the reason that leads to develop in C++ today (unless you
are a C++ veteran, so programming in C++ is justified by the fact that
it''s your favorite language)?

Thanks,



如果我们在这里将参数限制为.NET,给出选择我个人

会选择C ++ / CLI,现在可能已经足够成熟了。

。这给了我C#和VB.NET所做的一切,就像敲击一个用户界面一样轻松,加上我得到了充分的表现力。

C ++。我可以写非管理如果我需要速度代码(在UI中不太可能是
,但无论如何)。然而,商业现实是,对于主流Windows开发而言,它不可能取代C#。

If we restrict the argument to .NET here, given the choice I personally
would choose C++/CLI, which is probably just about mature enough by
now. This gives me everything that yer C#s and VB.NETs do in terms of
ease of knocking together a UI, plus I get the full expressive power of
C++. And I can write "unmanaged" code for speed if I need to (unlikely
in a UI, but anyway). The commercial reality however is that it is
unlikely to displace C# for mainstream Windows development.


这篇关于用于Windows开发的C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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