Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
zak10025-Apr-19 8:56
zak10025-Apr-19 8:56 
AnswerRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
ChrisFromWales30-Apr-19 23:37
ChrisFromWales30-Apr-19 23:37 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
Stefan_Lang4-Jun-19 22:01
Stefan_Lang4-Jun-19 22:01 
Questionprocessing Multithread in MFC Pin
Member 1422104124-Apr-19 18:41
Member 1422104124-Apr-19 18:41 
AnswerRe: processing Multithread in MFC Pin
Victor Nijegorodov24-Apr-19 20:36
Victor Nijegorodov24-Apr-19 20:36 
AnswerRe: processing Multithread in MFC Pin
Richard MacCutchan24-Apr-19 21:31
mveRichard MacCutchan24-Apr-19 21:31 
QuestionConversion from- C++ to C-language Pin
zak10024-Apr-19 16:28
zak10024-Apr-19 16:28 
QuestionRe: Conversion from- C++ to C-language Pin
David Crow24-Apr-19 16:59
David Crow24-Apr-19 16:59 
Is file_buffer a vector? If so, you could have something like:
int *file_buffer = malloc(num_rows * sizeof(int)); // assumes you are reading ints from file
Note: your fgets() call could be the source of an issue. It'll read 19 characters, or until an EOF or newline character is encountered. If it reads too many, then any subsequent fgets() calls will start at the wrong spot in the file stream.

"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

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


AnswerRe: Conversion from- C++ to C-language Pin
zak10024-Apr-19 18:04
zak10024-Apr-19 18:04 
GeneralRe: Conversion from- C++ to C-language Pin
David Crow25-Apr-19 2:11
David Crow25-Apr-19 2:11 
GeneralRe: Conversion from- C++ to C-language Pin
leon de boer25-Apr-19 2:20
leon de boer25-Apr-19 2:20 
QuestionPreprocessor Directives in C Program Pin
Aakashdata22-Apr-19 22:57
Aakashdata22-Apr-19 22:57 
AnswerRe: Preprocessor Directives in C Program Pin
Renuka peshwani22-Apr-19 23:16
Renuka peshwani22-Apr-19 23:16 
AnswerRe: Preprocessor Directives in C Program Pin
Richard MacCutchan22-Apr-19 23:43
mveRichard MacCutchan22-Apr-19 23:43 
AnswerRe: Preprocessor Directives in C Program Pin
leon de boer23-Apr-19 6:55
leon de boer23-Apr-19 6:55 
GeneralRe: Preprocessor Directives in C Program Pin
k505423-Apr-19 7:01
mvek505423-Apr-19 7:01 
GeneralRe: Preprocessor Directives in C Program Pin
leon de boer23-Apr-19 7:15
leon de boer23-Apr-19 7:15 
JokeRe: Preprocessor Directives in C Program Pin
Peter_in_278023-Apr-19 12:15
professionalPeter_in_278023-Apr-19 12:15 
GeneralRe: Preprocessor Directives in C Program Pin
leon de boer23-Apr-19 14:43
leon de boer23-Apr-19 14:43 
GeneralRe: Preprocessor Directives in C Program Pin
Richard MacCutchan23-Apr-19 21:14
mveRichard MacCutchan23-Apr-19 21:14 
QuestionThe GOD Pin
hbtalha21-Apr-19 7:30
hbtalha21-Apr-19 7:30 
AnswerRe: The GOD Pin
Gerry Schmitz21-Apr-19 7:51
mveGerry Schmitz21-Apr-19 7:51 
QuestionVector of Class with Array Pin
T Bones Jones19-Apr-19 10:21
T Bones Jones19-Apr-19 10:21 
AnswerRe: Vector of Class with Array Pin
CPallini19-Apr-19 10:32
mveCPallini19-Apr-19 10:32 
GeneralRe: Vector of Class with Array Pin
T Bones Jones19-Apr-19 11:04
T Bones Jones19-Apr-19 11: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.