Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What IDE do you use for C/C++ development? Pin
Victor Nijegorodov8-Feb-18 10:33
Victor Nijegorodov8-Feb-18 10:33 
AnswerRe: What IDE do you use for C/C++ development? Pin
Joe Woodbury7-Feb-18 5:47
professionalJoe Woodbury7-Feb-18 5:47 
AnswerRe: What IDE do you use for C/C++ development? Pin
vishaljamdagni11-Feb-18 22:48
professionalvishaljamdagni11-Feb-18 22:48 
AnswerRe: What IDE do you use for C/C++ development? Pin
enhzflep24-Mar-18 13:07
enhzflep24-Mar-18 13:07 
QuestionRecommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
Tarun Jha4-Feb-18 9:28
Tarun Jha4-Feb-18 9:28 
AnswerRe: Recommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
CPallini5-Feb-18 3:27
mveCPallini5-Feb-18 3:27 
SuggestionRe: Recommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
David Crow5-Feb-18 5:44
David Crow5-Feb-18 5:44 
AnswerRe: Recommendation for some books for in-depth knowledge of pointers, multi-dimensional arrays, recursions . (In c/c++) Pin
Joe Woodbury6-Feb-18 6:16
professionalJoe Woodbury6-Feb-18 6:16 
They're all pointers, and pointers are simply an address in memory.

Everyone is different, but for me, the best way to really understand a C++ concept is to write a small console program and experiment using the scientific method--that is, I hypothesize how something should work, write simple code to test that hypothesis and refine. (Sometimes, I open a disassembly view in debug mode, but that may understandably be even more confusing for many.)

Edit: A word of warning. Don't return a pointer to an object allocated on the called function's stack. While the data it points to may be valid immediately after the call, it will likely become corrupt with the next function call.
Questionconsole app which handle windows events Pin
Fedrer1-Feb-18 22:38
Fedrer1-Feb-18 22:38 
AnswerRe: console app which handle windows events Pin
Richard MacCutchan1-Feb-18 22:50
mveRichard MacCutchan1-Feb-18 22:50 
GeneralRe: console app which handle windows events Pin
Fedrer1-Feb-18 22:56
Fedrer1-Feb-18 22:56 
GeneralRe: console app which handle windows events Pin
Richard MacCutchan1-Feb-18 23:01
mveRichard MacCutchan1-Feb-18 23:01 
GeneralRe: console app which handle windows events Pin
leon de boer4-Feb-18 13:32
leon de boer4-Feb-18 13:32 
GeneralRe: console app which handle windows events Pin
Richard MacCutchan4-Feb-18 21:52
mveRichard MacCutchan4-Feb-18 21:52 
GeneralRe: console app which handle windows events Pin
Victor Nijegorodov2-Feb-18 4:07
Victor Nijegorodov2-Feb-18 4:07 
AnswerRe: console app which handle windows events Pin
Jochen Arndt2-Feb-18 0:23
professionalJochen Arndt2-Feb-18 0:23 
AnswerRe: console app which handle windows events Pin
leon de boer4-Feb-18 13:42
leon de boer4-Feb-18 13:42 
Questionriver crossing priests and devils in c program Pin
Member 1365554231-Jan-18 23:14
Member 1365554231-Jan-18 23:14 
AnswerRe: river crossing priests and devils in c program Pin
Richard MacCutchan31-Jan-18 23:21
mveRichard MacCutchan31-Jan-18 23:21 
AnswerRe: river crossing priests and devils in c program Pin
jeron11-Feb-18 3:19
jeron11-Feb-18 3:19 
QuestionRe: river crossing priests and devils in c program Pin
David Crow1-Feb-18 3:47
David Crow1-Feb-18 3:47 
QuestionC++ - Static templated method inside a class Pin
phil.o31-Jan-18 12:00
professionalphil.o31-Jan-18 12:00 
AnswerRe: C++ - Static templated method inside a class Pin
Richard MacCutchan31-Jan-18 12:13
mveRichard MacCutchan31-Jan-18 12:13 
GeneralRe: C++ - Static templated method inside a class Pin
phil.o31-Jan-18 13:28
professionalphil.o31-Jan-18 13:28 
GeneralRe: C++ - Static templated method inside a class Pin
Richard MacCutchan31-Jan-18 21:41
mveRichard MacCutchan31-Jan-18 21:41 

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.