Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSupport asked for virtualising a program in Vista using TokenVirtualizationEnabled using SetTokenInformation Pin
Kees195824-Jul-09 8:57
Kees195824-Jul-09 8:57 
QuestionDSA algorithm Pin
sarroya24-Jul-09 7:38
sarroya24-Jul-09 7:38 
QuestionHow to store array in vector in C++ Pin
resolvequestion24-Jul-09 7:30
resolvequestion24-Jul-09 7:30 
AnswerRe: How to pass array inside Vector in C++ Pin
transoft24-Jul-09 7:57
transoft24-Jul-09 7:57 
AnswerRe: How to store array in vector in C++ Pin
«_Superman_»24-Jul-09 17:59
professional«_Superman_»24-Jul-09 17:59 
QuestionTab control implementation in MFC document / view application. [modified] Pin
Vaclav_24-Jul-09 5:55
Vaclav_24-Jul-09 5:55 
Questionsafely returning classes from functions... when and when not to construct ! Pin
paolosh24-Jul-09 5:04
paolosh24-Jul-09 5:04 
AnswerRe: safely returning classes from functions... when and when not to construct ! Pin
josda100024-Jul-09 8:21
josda100024-Jul-09 8:21 
I believe that both will have the same amount of time. You have no reason to, at the end of foo(), 'return MyClass(x);', because this will cast a MyClass object to MyClass (redundant), which in effect calls the copy constructor for MyClass. Basically, whether you use the stack or the heap, this function would have done the same exact thing if you did not call that copy constructor. And, as long as you delete the object in bar(), it is totally safe, in my opinion. If my thoughts seem incorrect, I'd love to hear about it... I could be wrong of course.
GeneralRe: safely returning classes from functions... when and when not to construct ! Pin
paolosh24-Jul-09 23:48
paolosh24-Jul-09 23:48 
QuestionBeginner: How to access elements in a Variant array of Variants (8204) Pin
BeerFizz24-Jul-09 4:19
BeerFizz24-Jul-09 4:19 
QuestionReturning large objects from a function without unnecessarily invoking the constructor ! Pin
paolosh24-Jul-09 3:31
paolosh24-Jul-09 3:31 
AnswerRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
transoft24-Jul-09 3:43
transoft24-Jul-09 3:43 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
paolosh24-Jul-09 3:51
paolosh24-Jul-09 3:51 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
peterchen24-Jul-09 3:58
peterchen24-Jul-09 3:58 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
paolosh24-Jul-09 4:09
paolosh24-Jul-09 4:09 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
peterchen24-Jul-09 8:37
peterchen24-Jul-09 8:37 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
transoft24-Jul-09 5:04
transoft24-Jul-09 5:04 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
peterchen24-Jul-09 5:09
peterchen24-Jul-09 5:09 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
transoft24-Jul-09 5:27
transoft24-Jul-09 5:27 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
peterchen24-Jul-09 8:31
peterchen24-Jul-09 8:31 
AnswerRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
«_Superman_»24-Jul-09 3:54
professional«_Superman_»24-Jul-09 3:54 
AnswerRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
paolosh24-Jul-09 4:22
paolosh24-Jul-09 4:22 
GeneralRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
Emilio Garavaglia24-Jul-09 7:50
Emilio Garavaglia24-Jul-09 7:50 
AnswerRe: Returning large objects from a function without unnecessarily invoking the constructor ! Pin
Nemanja Trifunovic24-Jul-09 8:58
Nemanja Trifunovic24-Jul-09 8:58 
Questionflickering issues with GDI+ Pin
Adassus24-Jul-09 3:26
Adassus24-Jul-09 3:26 

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.