Click here to Skip to main content
15,867,834 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
SuggestionRe: Need help with this little C program Pin
Richard MacCutchan12-Sep-15 21:00
mveRichard MacCutchan12-Sep-15 21:00 
AnswerRe: Need help with this little C program Pin
CPallini13-Sep-15 6:52
mveCPallini13-Sep-15 6:52 
GeneralRe: Need help with this little C program Pin
Member 1197963713-Sep-15 8:05
Member 1197963713-Sep-15 8:05 
GeneralRe: Need help with this little C program Pin
CPallini13-Sep-15 10:23
mveCPallini13-Sep-15 10:23 
QuestionRe: Need help with this little C program Pin
Member 1197963713-Sep-15 12:24
Member 1197963713-Sep-15 12:24 
AnswerRe: Need help with this little C program Pin
CPallini13-Sep-15 21:13
mveCPallini13-Sep-15 21:13 
QuestionRe: Need help with this little C program Pin
Member 1197963714-Sep-15 2:42
Member 1197963714-Sep-15 2:42 
AnswerRe: Need help with this little C program Pin
Member 1197963714-Sep-15 2:55
Member 1197963714-Sep-15 2:55 
Well, I don't know why it did not work the first time, but I tried to simplify the code and ended up with:

printf("price of a: price of b: price of c: ");
scanf("%d %d %d", &a, &b, &c);

instead of that thing with while { ... }

And this time, it did work. I do not really see the difference with the code I used before that did not work.. :p
GeneralRe: Need help with this little C program Pin
CPallini14-Sep-15 3:40
mveCPallini14-Sep-15 3:40 
SuggestionRe: Need help with this little C program Pin
David Crow14-Sep-15 4:40
David Crow14-Sep-15 4:40 
GeneralRe: Need help with this little C program Pin
Member 1197963714-Sep-15 6:10
Member 1197963714-Sep-15 6:10 
QuestionC++ lambda callbacks, how to initialize with NULL pointer ? Pin
Member 853403512-Sep-15 0:45
Member 853403512-Sep-15 0:45 
AnswerRe: C++ lambda callbacks, how to initialize with NULL pointer ? Pin
Richard Andrew x6414-Sep-15 11:36
professionalRichard Andrew x6414-Sep-15 11:36 
GeneralRe: C++ lambda callbacks, how to initialize with NULL pointer ? Pin
Member 853403514-Sep-15 21:42
Member 853403514-Sep-15 21:42 
Questiondata structure and algoritm Pin
Member 1197512010-Sep-15 10:26
Member 1197512010-Sep-15 10:26 
AnswerRe: data structure and algoritm Pin
Afzaal Ahmad Zeeshan10-Sep-15 10:41
professionalAfzaal Ahmad Zeeshan10-Sep-15 10:41 
GeneralRe: data structure and algoritm Pin
Member 1197512010-Sep-15 10:55
Member 1197512010-Sep-15 10:55 
QuestionRe: data structure and algoritm Pin
CPallini10-Sep-15 21:19
mveCPallini10-Sep-15 21:19 
AnswerRe: data structure and algoritm Pin
David Crow11-Sep-15 2:11
David Crow11-Sep-15 2:11 
QuestionRe: data structure and algoritm Pin
CPallini11-Sep-15 2:35
mveCPallini11-Sep-15 2:35 
AnswerRe: data structure and algoritm Pin
jschell11-Sep-15 11:08
jschell11-Sep-15 11:08 
AnswerRe: data structure and algoritm Pin
David Crow11-Sep-15 2:10
David Crow11-Sep-15 2:10 
AnswerRe: data structure and algoritm Pin
jschell11-Sep-15 11:12
jschell11-Sep-15 11:12 
Questionfreestanding Pin
Member 1194028910-Sep-15 6:16
Member 1194028910-Sep-15 6:16 
QuestionRe: freestanding Pin
Richard MacCutchan10-Sep-15 7:04
mveRichard MacCutchan10-Sep-15 7:04 

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.