> 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?
Just do it - they don't clash with one another.
-cd
Rasika WIJAYARATNE - 05 Jul 2005 04:29 GMT
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.
> > I am new to VCPP and was wondering about the unmanaged part of it:
> >
[quoted text clipped - 22 lines]
>
> -cd
Carl Daniel [VC++ MVP] - 05 Jul 2005 05:40 GMT
> 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.
What makes an app a pure STL app? There certainly are applications of every
description that use the STL, independent of whether they also use MFC, ATL,
WTL, Qt or any other GUI/Framework/??? library.
-cd
Rasika WIJAYARATNE - 05 Jul 2005 05:55 GMT
Thank you, things are much clearer now.
Rasika.
> > Hello
> >
[quoted text clipped - 8 lines]
>
> -cd
KevinLee - 05 Jul 2005 06:57 GMT
I think that STL has nothing to do with MFC.
Mostly we use some containers and arithmetic in STL, however,we can also use
those containers provided by MFC.
STL is a system independent library, but MFC is designed for Windows System.
"Rasika WIJAYARATNE" <RasikaWIJAYARATNE@discussions.microsoft.com> дÈëÏûÏ¢ÐÂÎÅ:BA93F3D3-9D99-4F6E-9684-89F6CB7821A7@microsoft.com...
> Thank you, things are much clearer now.
>
[quoted text clipped - 14 lines]
>>
>> -cd
Rasika WIJAYARATNE - 05 Jul 2005 07:26 GMT
Oh I see, when creating a multi-platform C++ apps I guess you would use STL
throughtout for the business and other common logic and ensure there is
enough separation between it and platform specific code like UI and DB access
code.
Rasika.
> I think that STL has nothing to do with MFC.
> Mostly we use some containers and arithmetic in STL, however,we can also use
[quoted text clipped - 20 lines]
> >>
> >> -cd