STL vs. MFC in an MFC application

Intrebari legate de programarea cu biblioteci precum MFC, ATL, WTL si GDI+.
User avatar
Silviu Ardelean
Senior
Senior
Posts: 1175
Joined: 12 Jul 2007, 09:22
Judet: Timiş
Location: Timisoara
Contact:

Re: STL vs. MFC in an MFC application

Post by Silviu Ardelean » 18 Jul 2011, 13:42

Si uite asa Chuck Norris a convertit lumea la MFC.

Last Edit: Consider ca au fost destule discutii pe aceasta tema si prefer sa ma opresc aici. Una dintre ele e aici.



User avatar
Ovidiu Cucu
Fondator
Fondator
Posts: 3778
Joined: 11 Jul 2007, 16:10
Judet: Iaşi
Location: Iasi
Contact:

Re: STL vs. MFC in an MFC application

Post by Ovidiu Cucu » 18 Jul 2011, 20:55

Silviu Ardelean wrote:Consider ca au fost destule discutii pe aceasta tema si prefer sa ma opresc aici. Una dintre ele e aici.
Cool discutie!
Sa luam una dintre cugetari:
Mr Jack wrote:CString is one of the best classes in MFC, it is the only one that doesn't continually pour grief on you. One thing I don't understand though is why they chose to have CString, BSTR and bstr_t?

Mr Jack
Thursday, May 20, 2004

Dear Mr Jack,
BSTR and bstr_t is not MFC-specific stuff.

Si pe romaneste: pune burta pe carte, domnule Jack si incearca sa-ntelegi! Altfel, daca dai bacu la MFC iei 1 (unu) din oficiu. :biggrin:

[ later edit ]
Cred ca, pe langa de ce se plange Mr. Jack (CString, BSTR si bstr_t) numai std::string mai lipsea. ;)

User avatar
Silviu Ardelean
Senior
Senior
Posts: 1175
Joined: 12 Jul 2007, 09:22
Judet: Timiş
Location: Timisoara
Contact:

Re: STL vs. MFC in an MFC application

Post by Silviu Ardelean » 18 Jul 2011, 22:46

Ovidiu Cucu wrote: Sa luam una dintre cugetari:
Mr Jack wrote:CString is one of the best classes in MFC, it is the only one that doesn't continually pour grief on you. One thing I don't understand though is why they chose to have CString, BSTR and bstr_t?

Mr Jack
Thursday, May 20, 2004

Dear Mr Jack,
BSTR and bstr_t is not MFC-specific stuff.

Si pe romaneste: pune burta pe carte, domnule Jack si incearca sa-ntelegi! Altfel, daca dai bacu la MFC iei 1 (unu) din oficiu. :biggrin:
Domnul Jack se numara printre cei ce au picat Bac-ul la MFC. De COM inca nu a auzit caci se face doar la facultate.

Post Reply