Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondither.c:16:9: error: too few arguments to function ‘fwrite’ ?can anyone help Pin
mybm127-Jul-14 20:31
mybm127-Jul-14 20:31 
AnswerRe: dither.c:16:9: error: too few arguments to function ‘fwrite’ ?can anyone help Pin
Jochen Arndt27-Jul-14 20:49
professionalJochen Arndt27-Jul-14 20:49 
GeneralRe: dither.c:16:9: error: too few arguments to function ‘fwrite’ ?can anyone help Pin
mybm127-Jul-14 20:59
mybm127-Jul-14 20:59 
GeneralRe: dither.c:16:9: error: too few arguments to function ‘fwrite’ ?can anyone help Pin
Jochen Arndt27-Jul-14 21:09
professionalJochen Arndt27-Jul-14 21:09 
GeneralRe: dither.c:16:9: error: too few arguments to function ‘fwrite’ ?can anyone help Pin
mybm128-Jul-14 1:14
mybm128-Jul-14 1:14 
AnswerRe: dither.c:16:9: error: too few arguments to function ‘fwrite’ ?can anyone help Pin
mybm127-Jul-14 20:57
mybm127-Jul-14 20:57 
QuestionProgram to find sum of digits of a number . Please help with logical error of program. Pin
Member 1097308626-Jul-14 6:03
Member 1097308626-Jul-14 6:03 
GeneralRe: Program to find sum of digits of a number . Please help with logical error of program. Pin
PIEBALDconsult26-Jul-14 6:35
mvePIEBALDconsult26-Jul-14 6:35 
If you want to iterate the digits, then why get the number as a number rather than as a string?
I'd get the string, iterate the digits, then get the numeric value of each digit, and then sum them.
That makes getting the number of digits simpler as well.
You'll never get very far if all you do is follow instructions.

QuestionRe: Program to find sum of digits of a number . Please help with logical error of program. Pin
David Crow26-Jul-14 11:57
David Crow26-Jul-14 11:57 
AnswerRe: Program to find sum of digits of a number . Please help with logical error of program. Pin
CPallini27-Jul-14 21:21
mveCPallini27-Jul-14 21:21 
GeneralRe: Program to find sum of digits of a number . Please help with logical error of program. Pin
Stefan_Lang27-Jul-14 23:49
Stefan_Lang27-Jul-14 23:49 
GeneralRe: Program to find sum of digits of a number . Please help with logical error of program. Pin
CPallini27-Jul-14 23:56
mveCPallini27-Jul-14 23:56 
GeneralRe: Program to find sum of digits of a number . Please help with logical error of program. Pin
Satya Chamakuri8-Aug-14 22:52
Satya Chamakuri8-Aug-14 22:52 
QuestionCan some one please tell me how to insert items into a friggin CListCtrl Pin
Member 1095872124-Jul-14 7:57
Member 1095872124-Jul-14 7:57 
AnswerRe: Can some one please tell me how to insert items into a friggin CListCtrl Pin
tagopi24-Jul-14 19:21
tagopi24-Jul-14 19:21 
AnswerRe: Can some one please tell me how to insert items into a friggin CListCtrl Pin
Richard MacCutchan24-Jul-14 20:41
mveRichard MacCutchan24-Jul-14 20:41 
GeneralRe: Can some one please tell me how to insert items into a friggin CListCtrl Pin
Member 1095872128-Jul-14 23:55
Member 1095872128-Jul-14 23:55 
GeneralRe: Can some one please tell me how to insert items into a friggin CListCtrl Pin
Richard MacCutchan29-Jul-14 5:16
mveRichard MacCutchan29-Jul-14 5:16 
Questionhow to generate text file for a program output? Pin
mybm124-Jul-14 0:41
mybm124-Jul-14 0:41 
AnswerRe: how to generate text file for a program output? Pin
Richard MacCutchan24-Jul-14 1:07
mveRichard MacCutchan24-Jul-14 1:07 
GeneralRe: how to generate .txt file as output dynamic for this program? Pin
mybm124-Jul-14 1:47
mybm124-Jul-14 1:47 
GeneralRe: how to generate .txt file as output dynamic for this program? Pin
Richard MacCutchan24-Jul-14 2:05
mveRichard MacCutchan24-Jul-14 2:05 
GeneralRe: how to generate text file for a program output? Pin
mybm124-Jul-14 2:05
mybm124-Jul-14 2:05 
GeneralRe: how to generate text file for a program output? Pin
Richard MacCutchan24-Jul-14 2:11
mveRichard MacCutchan24-Jul-14 2:11 
GeneralRe: how to generate text file for a program output? Pin
mybm124-Jul-14 18:47
mybm124-Jul-14 18:47 

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.