Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIcon needs to have 8 bit transparency alpahblend Pin
Member 220843722-Mar-08 10:59
Member 220843722-Mar-08 10:59 
GeneralRe: Icon needs to have 8 bit transparency alpahblend Pin
Mark Salsbery23-Mar-08 9:18
Mark Salsbery23-Mar-08 9:18 
GeneralRegGetValueA Pin
Dr. Emmett Brown22-Mar-08 5:02
Dr. Emmett Brown22-Mar-08 5:02 
GeneralRe: RegGetValueA Pin
Dr. Emmett Brown22-Mar-08 5:42
Dr. Emmett Brown22-Mar-08 5:42 
GeneralWeird C++ issue Pin
Jim Crafton22-Mar-08 4:11
Jim Crafton22-Mar-08 4:11 
GeneralRe: Weird C++ issue Pin
CPallini22-Mar-08 4:36
mveCPallini22-Mar-08 4:36 
GeneralRe: Weird C++ issue Pin
Jim Crafton22-Mar-08 5:03
Jim Crafton22-Mar-08 5:03 
GeneralRe: Weird C++ issue Pin
CPallini22-Mar-08 5:13
mveCPallini22-Mar-08 5:13 
Because in the
std::string b = t;

example the compiler, under the hood, is calling the string contructor instead of the assignment operator. You can test the following little change:
std::string b;
b = t;

Smile | :)


BTW to be honest, I missed your first example, before Blush | :O .

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: Weird C++ issue Pin
Rajkumar R22-Mar-08 8:14
Rajkumar R22-Mar-08 8:14 
GeneralNon-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 1:20
Shy Agam22-Mar-08 1:20 
QuestionRe: Non-GUI Application with small memory consumption... Pin
CPallini22-Mar-08 3:03
mveCPallini22-Mar-08 3:03 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 3:09
Shy Agam22-Mar-08 3:09 
GeneralRe: Non-GUI Application with small memory consumption... Pin
CPallini22-Mar-08 4:53
mveCPallini22-Mar-08 4:53 
GeneralRe: Non-GUI Application with small memory consumption... Pin
rp_suman22-Mar-08 3:55
rp_suman22-Mar-08 3:55 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:06
Shy Agam22-Mar-08 4:06 
GeneralRe: Non-GUI Application with small memory consumption... Pin
rp_suman22-Mar-08 4:17
rp_suman22-Mar-08 4:17 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:23
Shy Agam22-Mar-08 4:23 
GeneralRe: Non-GUI Application with small memory consumption... Pin
rp_suman22-Mar-08 4:32
rp_suman22-Mar-08 4:32 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:35
Shy Agam22-Mar-08 4:35 
QuestionRe: Non-GUI Application with small memory consumption... Pin
Moak22-Mar-08 4:11
Moak22-Mar-08 4:11 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:14
Shy Agam22-Mar-08 4:14 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Moak22-Mar-08 4:31
Moak22-Mar-08 4:31 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:34
Shy Agam22-Mar-08 4:34 
GeneralRe: Non-GUI Application with small memory consumption... [modified] Pin
Moak22-Mar-08 4:42
Moak22-Mar-08 4:42 
GeneralRe: Non-GUI Application with small memory consumption... Pin
Shy Agam22-Mar-08 4:50
Shy Agam22-Mar-08 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.