Click here to Skip to main content

C / C++ / MFC

 
GeneralRe: Very happy with C++11 PinmemberJoe Woodbury6-Nov-12 8:32 
GeneralRe: Very happy with C++11 Pinmember_Josh_6-Nov-12 9:50 
GeneralRe: Very happy with C++11 PinmvpRichard MacCutchan6-Nov-12 22:27 
GeneralRe: Very happy with C++11 Pinmember_Josh_6-Nov-12 23:09 
AnswerRe: Very happy with C++11 PinmemberChris Losinger6-Nov-12 3:05 
GeneralRe: Very happy with C++11 Pinmember_Josh_6-Nov-12 9:51 
QuestionRe: Very happy with C++11 PinmemberDavidCrow6-Nov-12 4:00 
AnswerRe: Very happy with C++11 PinmemberMaximilien6-Nov-12 4:24 
auto will "automagically" derive the type of the expression.
 
For normal simple types it does not add much, but more complex types it can make things easier.
 
auto i = 0; // kind of useless.
 
std::vector<int>::iterator iterator = myVector.begin();
auto iterator = myVector.begin(); // much usefull, unless you use badly named variables.
 
It makes things easier when working with lambdas (and I have not use them yet, current project is still VS2008).
Nihil obstat

AnswerRe: Very happy with C++11 PinmemberChris Losinger6-Nov-12 10:01 
QuestionPutting a COM dll inside a COM dll Pinmemberandrewdunbabin5-Nov-12 5:39 
AnswerRe: Putting a COM dll inside a COM dll PinmvpRichard MacCutchan5-Nov-12 6:20 
GeneralRe: Putting a COM dll inside a COM dll Pinmemberandrewdunbabin5-Nov-12 6:47 
GeneralRe: Putting a COM dll inside a COM dll PinmvpRichard MacCutchan5-Nov-12 6:56 
AnswerRe: Putting a COM dll inside a COM dll PinmemberChris Meech5-Nov-12 8:13 
Questionclient server query Pinmemberakki2309915-Nov-12 2:35 
AnswerRe: client server query PinmvpRichard MacCutchan5-Nov-12 4:19 
AnswerRe: client server query PinmvpCPallini5-Nov-12 11:47 
Questionhow to get drive list without using COM? PinmemberLe@rner5-Nov-12 0:15 
AnswerRe: how to get drive list without using COM? PinmemberSanthosh G_5-Nov-12 0:37 
GeneralRe: how to get drive list without using COM? PinmemberLe@rner5-Nov-12 0:41 
AnswerRe: how to get drive list without using COM? Pinmembersajeesh.c5-Nov-12 3:28 
QuestionRe: how to get drive list without using COM? PinmemberDavidCrow5-Nov-12 3:48 
Questioncoinitializesecurity failed with error code 800706ba ! PinmemberLe@rner4-Nov-12 18:33 
AnswerRe: coinitializesecurity failed with error code 800706ba ! PinmemberJochen Arndt4-Nov-12 22:42 
AnswerRe: coinitializesecurity failed with error code 800706ba ! PinmvpRichard MacCutchan4-Nov-12 22:45 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150123.1 | Last Updated 25 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid