Click here to Skip to main content
15,891,657 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WaitForSingleObject not signaled My apologies Pin
ForNow17-Apr-16 6:14
ForNow17-Apr-16 6:14 
QuestionMFC problem with CMFCVisualManager::SetDefaultManager Pin
jung-kreidler13-Apr-16 4:27
jung-kreidler13-Apr-16 4:27 
QuestionMFC : Not able to populate db records in list control of MFC SDI application Pin
catchy8713-Apr-16 0:58
catchy8713-Apr-16 0:58 
AnswerRe: MFC : Not able to populate db records in list control of MFC SDI application Pin
Jochen Arndt13-Apr-16 1:36
professionalJochen Arndt13-Apr-16 1:36 
QuestionDifference between Compiled and Interpreted language Pin
Mur250110-Apr-16 3:42
Mur250110-Apr-16 3:42 
AnswerRe: Difference between Compiled and Interpreted language Pin
Richard MacCutchan10-Apr-16 4:33
mveRichard MacCutchan10-Apr-16 4:33 
AnswerRe: Difference between Compiled and Interpreted language Pin
Albert Holguin10-Apr-16 15:20
professionalAlbert Holguin10-Apr-16 15:20 
AnswerRe: Difference between Compiled and Interpreted language Pin
W Balboos, GHB11-Apr-16 5:39
W Balboos, GHB11-Apr-16 5:39 
Another difference to consider is their behavior.

For an interpreted language, the program is run line-by-line when you request it to run. If there is a problem in the logic or any other 'bad things', it will run until it hits one. Thus, if you misspelled a variable's name it wouldn't react to it until you run it and it happens to come across the misspelled version. Also, if you left out a BEGIN or END statements, it would run until that caused a problem, if ever. Some feel that these languages are easier for beginners to start with because they're not all-or-nothing, but not everyone agrees with that.

Now, for a compiled language, the entire program is converted to 'machine code' (often in several steps). This code has to take the entire program into consideration at once. If you have a problem it will not be able to figure out what to do and you'll get an error. The program will NOT be compiled. A misspelled variable is 'undefined' and would be a problem. Similarly, the compiler will look for an END for every BEGIN, in the correct order or it will be an error. Compiling a program is an all-or-nothing affair.

Because of this difference in when the program is turned into real computer instructions, the interpreted languages are much slower than compiled languages when running.


"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

Questionis Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Mur25017-Apr-16 5:39
Mur25017-Apr-16 5:39 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Richard MacCutchan7-Apr-16 7:32
mveRichard MacCutchan7-Apr-16 7:32 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
leon de boer7-Apr-16 16:41
leon de boer7-Apr-16 16:41 
GeneralRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Mur25018-Apr-16 6:35
Mur25018-Apr-16 6:35 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Bram van Kampen28-Apr-16 13:39
Bram van Kampen28-Apr-16 13:39 
QuestionERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur7-Apr-16 5:03
Ratul Thakur7-Apr-16 5:03 
SuggestionRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
David Crow7-Apr-16 5:22
David Crow7-Apr-16 5:22 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur7-Apr-16 5:33
Ratul Thakur7-Apr-16 5:33 
SuggestionRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Richard MacCutchan7-Apr-16 7:30
mveRichard MacCutchan7-Apr-16 7:30 
AnswerRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer7-Apr-16 22:11
leon de boer7-Apr-16 22:11 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer7-Apr-16 23:06
leon de boer7-Apr-16 23:06 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur8-Apr-16 2:28
Ratul Thakur8-Apr-16 2:28 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur8-Apr-16 6:57
Ratul Thakur8-Apr-16 6:57 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer8-Apr-16 16:58
leon de boer8-Apr-16 16:58 
QuestionWaitting on hEvent of Mailslot Pin
ForNow4-Apr-16 11:03
ForNow4-Apr-16 11:03 
AnswerRe: Waitting on hEvent of Mailslot Pin
CPallini5-Apr-16 0:53
mveCPallini5-Apr-16 0:53 
GeneralRe: Waitting on hEvent of Mailslot Pin
ForNow5-Apr-16 4:03
ForNow5-Apr-16 4:03 

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.