Click here to Skip to main content
14,740,820 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WaitForSingleObject not signaled My apologies Pin
ForNow17-Apr-16 7:14
MemberForNow17-Apr-16 7:14 
QuestionMFC problem with CMFCVisualManager::SetDefaultManager Pin
jung-kreidler13-Apr-16 5:27
Memberjung-kreidler13-Apr-16 5:27 
QuestionMFC : Not able to populate db records in list control of MFC SDI application Pin
catchy8713-Apr-16 1:58
Membercatchy8713-Apr-16 1:58 
AnswerRe: MFC : Not able to populate db records in list control of MFC SDI application Pin
Jochen Arndt13-Apr-16 2:36
professionalJochen Arndt13-Apr-16 2:36 
QuestionDifference between Compiled and Interpreted language Pin
Mur250110-Apr-16 4:42
MemberMur250110-Apr-16 4:42 
AnswerRe: Difference between Compiled and Interpreted language Pin
Richard MacCutchan10-Apr-16 5:33
mveRichard MacCutchan10-Apr-16 5:33 
AnswerRe: Difference between Compiled and Interpreted language Pin
Albert Holguin10-Apr-16 16:20
professionalAlbert Holguin10-Apr-16 16:20 
AnswerRe: Difference between Compiled and Interpreted language Pin
W Balboos, GHB11-Apr-16 6:39
mveW Balboos, GHB11-Apr-16 6: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 6:39
MemberMur25017-Apr-16 6:39 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Richard MacCutchan7-Apr-16 8:32
mveRichard MacCutchan7-Apr-16 8:32 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
leon de boer7-Apr-16 17:41
Memberleon de boer7-Apr-16 17:41 
GeneralRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Mur25018-Apr-16 7:35
MemberMur25018-Apr-16 7:35 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Bram van Kampen28-Apr-16 14:39
MemberBram van Kampen28-Apr-16 14:39 
QuestionERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur7-Apr-16 6:03
MemberRatul Thakur7-Apr-16 6:03 
SuggestionRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
David Crow7-Apr-16 6:22
MemberDavid Crow7-Apr-16 6:22 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur7-Apr-16 6:33
MemberRatul Thakur7-Apr-16 6:33 
SuggestionRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Richard MacCutchan7-Apr-16 8:30
mveRichard MacCutchan7-Apr-16 8:30 
AnswerRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer7-Apr-16 23:11
Memberleon de boer7-Apr-16 23:11 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer8-Apr-16 0:06
Memberleon de boer8-Apr-16 0:06 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur8-Apr-16 3:28
MemberRatul Thakur8-Apr-16 3:28 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur8-Apr-16 7:57
MemberRatul Thakur8-Apr-16 7:57 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer8-Apr-16 17:58
Memberleon de boer8-Apr-16 17:58 
QuestionWaitting on hEvent of Mailslot Pin
ForNow4-Apr-16 12:03
MemberForNow4-Apr-16 12:03 
AnswerRe: Waitting on hEvent of Mailslot Pin
CPallini5-Apr-16 1:53
mveCPallini5-Apr-16 1:53 
GeneralRe: Waitting on hEvent of Mailslot Pin
ForNow5-Apr-16 5:03
MemberForNow5-Apr-16 5: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.