|
-
June 30th, 2010, 05:54 AM
#11
Re: CArray vs. std::vector
There are two bold sentences I have posted in this thread.
- DO NOT use STL in an MFC project if it's not absolutelly necessary.
- If for some reasons you are using STL in an MFC-based project, then put STL and MFC stuff in separate modules.
Not any "MFC rocks while STL sucks". Have somebody seen something like that? 
MFC is good, STL is wonderful but IMHO, putting them together, in the same source code, like using std::vector<CString> instead of CStringArray, is not so brilliant idea.
No problem, it can be done but that doesn't really mean we do a better job.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|