STL和MFC [英] STL and MFC

查看:89
本文介绍了STL和MFC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是VCPP的新手并且想知道它的非托管部分:


1. MFC是否包含STL的所有功能/功能,因此它可以是

独立使用?


2. MFC主要用于编码Windows GUI功能吗?


3.什么样的应用程序可以使用STL代码并支持窗口

GUI编程吗?


4.非托管应用程序如何同时使用MFC和STL togeather如果有的话?


Rasika。

I am new to VCPP and was wondering about the unmanaged part of it:

1. Does MFC include all the functions/functionality of the STL so it can be
used standalone?

2. Is the MFC mainly used for coding windows GUI functionality?

3. What sort of apps can the STL be used to code and does it support windows
GUI programming?

4. How does an unmanaged app use both the MFC and STL togeather if at all?

Rasika.

推荐答案

Rasika WIJAYARATNE写道:
Rasika WIJAYARATNE wrote:
我是VCPP的新手并且想知道它的非托管部分:

1. MFC是否包含STL的所有功能/功能,以便它可以单独使用吗?


不,是的。


或者更精心 - MFC包含与STL重叠的设施

很多地方,你当然可以使用MFC而不使用STL。并且

反之亦然。


2. MFC主要用于编码Windows GUI功能吗?


是。

3. STL可以使用哪种应用程序进行编码,是否支持Windows GUI编程?


STL既不支持也不阻碍GUI编程。

4.如果在所有情况下,非托管应用程序如何使用MFC和STL togeather?
I am new to VCPP and was wondering about the unmanaged part of it:

1. Does MFC include all the functions/functionality of the STL so it
can be used standalone?
No, Yes.

Or more elaborately - MFC includes facilities that overlap with the STL in
many places, and you certainly can use MFC without using STL. And
vice-versa.

2. Is the MFC mainly used for coding windows GUI functionality?
Yes.
3. What sort of apps can the STL be used to code and does it support
windows GUI programming?
STL neither supports nor hinders GUI programming.
4. How does an unmanaged app use both the MFC and STL togeather if at
all?




就这么做 - 他们不会互相冲突。


-cd



Just do it - they don''t clash with one another.

-cd


Rasika WIJAYARATNE写道:
Rasika WIJAYARATNE wrote:
我是VCPP的新手并且想知道它的非托管部分:

1. MFC是否包括所有STL的功能/功能所以它可以单独使用吗?


不,是的。


或者更精心 - MFC包含与STL重叠的设施

很多地方,你当然可以使用MFC而不使用STL。并且

反之亦然。


2. MFC主要用于编码Windows GUI功能吗?


是。

3. STL可以使用哪种应用程序进行编码,是否支持Windows GUI编程?


STL既不支持也不阻碍GUI编程。

4.如果在所有情况下,非托管应用程序如何使用MFC和STL togeather?
I am new to VCPP and was wondering about the unmanaged part of it:

1. Does MFC include all the functions/functionality of the STL so it
can be used standalone?
No, Yes.

Or more elaborately - MFC includes facilities that overlap with the STL in
many places, and you certainly can use MFC without using STL. And
vice-versa.

2. Is the MFC mainly used for coding windows GUI functionality?
Yes.
3. What sort of apps can the STL be used to code and does it support
windows GUI programming?
STL neither supports nor hinders GUI programming.
4. How does an unmanaged app use both the MFC and STL togeather if at
all?




就这么做 - 他们不会互相冲突。


-cd



Just do it - they don''t clash with one another.

-cd


你好


感谢您回答我的问题。


还有什么样的纯STL应用程序目前在那里? Ones我能想到

是游戏,控制台应用程序和设备驱动程序等等。


Rasika。

" Carl Daniel [VC ++ MVP]"写道:
Hello

Thank you for the answers to my questions.

Also what sort of pure STL apps are currently out there? Ones I can think of
are games, console apps and device drivers and such.

Rasika.
"Carl Daniel [VC++ MVP]" wrote:
Rasika WIJAYARATNE写道:
Rasika WIJAYARATNE wrote:
我是VCPP的新手并且想知道它的非托管部分:

1. MFC是否包括STL的所有功能/功能所以
可以单独使用吗?
I am new to VCPP and was wondering about the unmanaged part of it:

1. Does MFC include all the functions/functionality of the STL so it
can be used standalone?



不,是的。

或者更精心 - MFC包括设施在许多地方与STL重叠,你当然可以在不使用STL的情况下使用MFC。反之亦然。



No, Yes.

Or more elaborately - MFC includes facilities that overlap with the STL in
many places, and you certainly can use MFC without using STL. And
vice-versa.

2. MFC主要用于编码Windows GUI功能吗?
2. Is the MFC mainly used for coding windows GUI functionality?



是的。



Yes.

3. STL可以使用哪种应用程序进行编码,是否支持
windows GUI编程?
3. What sort of apps can the STL be used to code and does it support
windows GUI programming?


STL既不支持也不阻碍GUI编程。



STL neither supports nor hinders GUI programming.

4.如果在
all,非托管应用程序如何使用MFC和STL togeather?
4. How does an unmanaged app use both the MFC and STL togeather if at
all?


就这么做 - 他们不会互相冲突。

-cd



Just do it - they don''t clash with one another.

-cd



这篇关于STL和MFC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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