Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Win32: l need help on filling a combo box Pin
Richard Andrew x6414-Jan-16 12:09
professionalRichard Andrew x6414-Jan-16 12:09 
AnswerRe: Win32: l need help on filling a combo box Pin
Jochen Arndt14-Jan-16 21:23
professionalJochen Arndt14-Jan-16 21:23 
PraiseRe: Win32: l need help on filling a combo box Pin
Member 1213944215-Jan-16 8:09
Member 1213944215-Jan-16 8:09 
QuestionOpen the file but do not save the args Pin
honor3us13-Jan-16 8:42
honor3us13-Jan-16 8:42 
AnswerRe: Open the file but do not save the args Pin
jeron113-Jan-16 9:18
jeron113-Jan-16 9:18 
GeneralRe: Open the file but do not save the args Pin
honor3us14-Jan-16 0:46
honor3us14-Jan-16 0:46 
SuggestionRe: Open the file but do not save the args Pin
David Crow13-Jan-16 9:33
David Crow13-Jan-16 9:33 
GeneralRe: Open the file but do not save the args Pin
honor3us14-Jan-16 0:56
honor3us14-Jan-16 0:56 
Thank you! I didn't see that error of logic... --'
But still giving me the same answer :/
I think the error is when he count the lines on

C
char n;
while (!feof(arq1)) {
    n = fgetc(arq1);
    if (n == "\n") { //count lines
        ct++;
        }
    }

warning: assignment makes pointer from integer without a cast
and...

C
for(i=0;!feof(arq1);i++) {
    fscanf(arq1, ",,,%d,", op[i]); //I think this is the error
    }

format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat=]|
QuestionRe: Open the file but do not save the args Pin
David Crow14-Jan-16 2:33
David Crow14-Jan-16 2:33 
AnswerRe: Open the file but do not save the args Pin
honor3us14-Jan-16 3:51
honor3us14-Jan-16 3:51 
AnswerRe: Open the file but do not save the args Pin
David Crow14-Jan-16 3:52
David Crow14-Jan-16 3:52 
SuggestionRe: Open the file but do not save the args Pin
k505413-Jan-16 11:39
mvek505413-Jan-16 11:39 
GeneralRe: Open the file but do not save the args Pin
honor3us14-Jan-16 0:57
honor3us14-Jan-16 0:57 
GeneralRe: Open the file but do not save the args Pin
k505414-Jan-16 3:52
mvek505414-Jan-16 3:52 
AnswerRe: Open the file but do not save the args Pin
honor3us15-Jan-16 2:44
honor3us15-Jan-16 2:44 
SuggestionRe: Open the file but do not save the args Pin
David Crow15-Jan-16 3:49
David Crow15-Jan-16 3:49 
Questiondoubt in typdef segregation one class in two Pin
narsi8112-Jan-16 18:50
narsi8112-Jan-16 18:50 
SuggestionRe: doubt in typdef segregation one class in two Pin
Jochen Arndt12-Jan-16 20:53
professionalJochen Arndt12-Jan-16 20:53 
QuestionVisual Studio 2016 & MFC Pin
BarryPearlman11-Jan-16 16:54
BarryPearlman11-Jan-16 16:54 
AnswerRe: Visual Studio 2016 & MFC Pin
Jochen Arndt11-Jan-16 20:52
professionalJochen Arndt11-Jan-16 20:52 
QuestionMFC, Cannot disable Menu option from Child View Pin
Member 1120327711-Jan-16 4:30
Member 1120327711-Jan-16 4:30 
AnswerRe: MFC, Cannot disable Menu option from Child View Pin
Richard MacCutchan11-Jan-16 5:59
mveRichard MacCutchan11-Jan-16 5:59 
GeneralRe: MFC, Cannot disable Menu option from Child View Pin
Member 1120327711-Jan-16 7:23
Member 1120327711-Jan-16 7:23 
GeneralRe: MFC, Cannot disable Menu option from Child View Pin
Richard MacCutchan11-Jan-16 21:23
mveRichard MacCutchan11-Jan-16 21:23 
AnswerRe: MFC, Cannot disable Menu option from Child View Pin
Jochen Arndt11-Jan-16 21:30
professionalJochen Arndt11-Jan-16 21:30 

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.