Click here to Skip to main content
15,936,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ImageMagick++ - ErrorMissingDelegate at memorry location Pin
Jochen Arndt2-Mar-17 22:02
professionalJochen Arndt2-Mar-17 22:02 
AnswerRe: ImageMagick++ - ErrorMissingDelegate at memorry location Pin
Randor 7-Mar-17 10:28
professional Randor 7-Mar-17 10:28 
QuestionWhat is the difference between turboc, visual studio and online compilers Pin
ArvindSai1-Mar-17 19:26
ArvindSai1-Mar-17 19:26 
AnswerRe: What is the difference between turboc, visual studio and online compilers Pin
Richard MacCutchan1-Mar-17 20:45
mveRichard MacCutchan1-Mar-17 20:45 
GeneralRe: What is the difference between turboc, visual studio and online compilers Pin
ArvindSai1-Mar-17 23:33
ArvindSai1-Mar-17 23:33 
AnswerRe: What is the difference between turboc, visual studio and online compilers Pin
Jochen Arndt2-Mar-17 0:21
professionalJochen Arndt2-Mar-17 0:21 
GeneralRe: What is the difference between turboc, visual studio and online compilers Pin
ArvindSai2-Mar-17 3:47
ArvindSai2-Mar-17 3:47 
AnswerRe: What is the difference between turboc, visual studio and online compilers Pin
leon de boer2-Mar-17 2:11
leon de boer2-Mar-17 2:11 
Jochen Arndt answer is almost spot on. The only thing I would add is on many compilers they have command line flags you can use to set the standard of C you want or need.

On GCC compilers for example it's the -std flag .... -std=c89 makes it compile with c89 standard etc. On visual studio it's under the compiler settings options on your project settings.

So if you have old code you know the standard it was written with you can just ask the compiler to use that standard. Really old code you can basically guess is going to be C89 and selecting that will remove many of the warnings and errors that won't be accepted by the newer standards.

The newer standards stop some old coding styles that were considered dangerous either from the programmer making a mistake or hackers exploiting with things like buffer overruns. The newer standards also have some new features in the language the old syntax won't understand.

So if you are writing new code you should write to the newest standard your compiler accepts. If you just need to compile an old code just change the compiler standard back to what you need or else you must correct the code to the newer standard. On large code libraries that can be a daunting task and so usually you take the standard change option.
In vino veritas

GeneralRe: What is the difference between turboc, visual studio and online compilers Pin
ArvindSai2-Mar-17 2:18
ArvindSai2-Mar-17 2:18 
AnswerRe: What is the difference between turboc, visual studio and online compilers Pin
Munchies_Matt16-Mar-17 6:24
Munchies_Matt16-Mar-17 6:24 
QuestionHow can I pass macros with commas into other macros? Pin
arnold_w1-Mar-17 7:38
arnold_w1-Mar-17 7:38 
AnswerRe: How can I pass macros with commas into other macros? Pin
Richard MacCutchan1-Mar-17 8:57
mveRichard MacCutchan1-Mar-17 8:57 
AnswerRe: How can I pass macros with commas into other macros? Pin
leon de boer1-Mar-17 16:44
leon de boer1-Mar-17 16:44 
Questionsha code Pin
Member 118556971-Mar-17 2:10
Member 118556971-Mar-17 2:10 
AnswerRe: sha code Pin
Afzaal Ahmad Zeeshan1-Mar-17 2:21
professionalAfzaal Ahmad Zeeshan1-Mar-17 2:21 
AnswerRe: sha code Pin
Jochen Arndt1-Mar-17 2:40
professionalJochen Arndt1-Mar-17 2:40 
QuestionRe: sha code Pin
David Crow1-Mar-17 4:16
David Crow1-Mar-17 4:16 
QuestionRegGetValue and SHRegGetValue Pin
ForNow28-Feb-17 16:04
ForNow28-Feb-17 16:04 
QuestionRe: RegGetValue and SHRegGetValue Pin
Richard MacCutchan28-Feb-17 21:37
mveRichard MacCutchan28-Feb-17 21:37 
AnswerRe: RegGetValue and SHRegGetValue Pin
Randor 7-Mar-17 10:31
professional Randor 7-Mar-17 10:31 
QuestionReading from a file in C++ Windows Application Forms Pin
Member 1300044128-Feb-17 3:59
Member 1300044128-Feb-17 3:59 
AnswerRe: Reading from a file in C++ Windows Application Forms Pin
Richard MacCutchan28-Feb-17 6:27
mveRichard MacCutchan28-Feb-17 6:27 
GeneralRe: Reading from a file in C++ Windows Application Forms Pin
Member 1300044128-Feb-17 9:15
Member 1300044128-Feb-17 9:15 
GeneralRe: Reading from a file in C++ Windows Application Forms Pin
Richard MacCutchan28-Feb-17 21:27
mveRichard MacCutchan28-Feb-17 21:27 
QuestionRe: Reading from a file in C++ Windows Application Forms Pin
David Crow28-Feb-17 6:31
David Crow28-Feb-17 6:31 

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.