Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Exception in IAccessibleProxyImpl from CMFCPropertyGridCtrl PinmemberBob Pryor12-Oct-12 6:30 
GeneralRe: Exception in IAccessibleProxyImpl from CMFCPropertyGridCtrl PinmemberStephen Hewitt12-Oct-12 17:17 
Questionneed code to check if the value is numeric in C PinmemberMikerush74-Oct-12 6:49 
AnswerRe: need code to check if the value is numeric in C PinmvpRichard MacCutchan4-Oct-12 7:22 
GeneralRe: need code to check if the value is numeric in C PinmemberMikerush74-Oct-12 7:50 
GeneralRe: need code to check if the value is numeric in C PinmvpRichard MacCutchan4-Oct-12 7:53 
AnswerRe: need code to check if the value is numeric in C PinmvpCPallini4-Oct-12 9:48 
QuestionRe: need code to check if the value is numeric in C PinmemberDavidCrow4-Oct-12 9:55 
Mikerush7 wrote:

      while ((k = scanf ("%lf%lf", &hours, &payrate))==2)
Without a full understanding of assignments and expressions, mixing the two in one statement is highly discouraged.
 
Mikerush7 wrote:

            return hours;
While I'm not sure who you'd be returning hours worked to or why, the compiler should have at least warned you about loss of data.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


AnswerRe: need code to check if the value is numeric in C PinmvpRichard MacCutchan4-Oct-12 21:37 
GeneralRe: need code to check if the value is numeric in C PinmemberMikerush75-Oct-12 8:30 
AnswerRe: need code to check if the value is numeric in C PinmemberC Mahesh8-Oct-12 22:24 
Questioni want any code to make project Pinmemberemanalshboul3-Oct-12 12:54 
AnswerRe: i want any code to make project PinmemberPeter_in_27803-Oct-12 13:48 
AnswerRe: i want any code to make project PinmemberMohibur Rashid3-Oct-12 18:55 
QuestionRe: i want any code to make project PinmemberDavidCrow4-Oct-12 2:51 
AnswerRe: i want any code to make project PinmvpRichard MacCutchan4-Oct-12 4:30 
Questionstatic text boxes and using the wizard to initialize a variable PinmemberAndrewG12313-Oct-12 11:46 
AnswerRe: static text boxes and using the wizard to initialize a variable PinmemberMohibur Rashid3-Oct-12 18:51 
AnswerRe: static text boxes and using the wizard to initialize a variable Pinmember«_Superman_»3-Oct-12 19:04 
AnswerRe: static text boxes and using the wizard to initialize a variable PinmemberMarius Bancila4-Oct-12 0:41 
Questionneed help with client server Pinmemberaajibade3-Oct-12 6:45 
AnswerRe: need help with client server PinmemberDavidCrow3-Oct-12 6:53 
QuestionHow to create C++/CLI Interface to access .net API from C++ code? Pinmemberlitu kumar3-Oct-12 2:14 
AnswerCrosspost PinmemberPeter_in_27803-Oct-12 2:24 
GeneralRe: Crosspost Pinmemberlitu kumar3-Oct-12 2:30 

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.140916.1 | Last Updated 17 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid