Click here to Skip to main content
15,789,952 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C program to reverse the order of the words entered. Pin
PIEBALDconsult7-Jan-18 8:01
professionalPIEBALDconsult7-Jan-18 8:01 
SuggestionRe: C program to reverse the order of the words entered. Pin
David Crow7-Jan-18 16:50
David Crow7-Jan-18 16:50 
QuestionWrite data to file which cannot be viewed Pin
manoharbalu5-Jan-18 3:09
manoharbalu5-Jan-18 3:09 
SuggestionRe: Write data to file which cannot be viewed Pin
David Crow5-Jan-18 3:16
David Crow5-Jan-18 3:16 
AnswerRe: Write data to file which cannot be viewed Pin
Richard MacCutchan5-Jan-18 3:35
mveRichard MacCutchan5-Jan-18 3:35 
AnswerRe: Write data to file which cannot be viewed Pin
jschell5-Jan-18 14:45
jschell5-Jan-18 14:45 
AnswerRe: Write data to file which cannot be viewed Pin
leon de boer6-Jan-18 5:45
leon de boer6-Jan-18 5:45 
QuestionWriting a huge structure data to file Pin
manoharbalu4-Jan-18 23:29
manoharbalu4-Jan-18 23:29 
I am using huge structure template and size is around 100kb with various member variables like char array, int, long and short. I am writing this entire structure using fwrite. But when I retreive the structure data from file using fread, some of the structure members especially long variable shows incorrect value.

Kindly suggest me if writing a full structure is wrong or how to work around.
AnswerRe: Writing a huge structure data to file Pin
Richard MacCutchan5-Jan-18 0:27
mveRichard MacCutchan5-Jan-18 0:27 
AnswerRe: Writing a huge structure data to file Pin
jschell5-Jan-18 14:49
jschell5-Jan-18 14:49 
AnswerRe: Writing a huge structure data to file Pin
leon de boer6-Jan-18 5:11
leon de boer6-Jan-18 5:11 
QuestionHow to return a string from a user defined function to main function ? Pin
Tarun Jha3-Jan-18 4:21
Tarun Jha3-Jan-18 4:21 
AnswerRe: How to return a string from a user defined function to main function ? Pin
David Crow3-Jan-18 7:24
David Crow3-Jan-18 7:24 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Tarun Jha3-Jan-18 8:20
Tarun Jha3-Jan-18 8:20 
GeneralRe: How to return a string from a user defined function to main function ? Pin
David Crow3-Jan-18 8:29
David Crow3-Jan-18 8:29 
AnswerRe: How to return a string from a user defined function to main function ? Pin
Jochen Arndt3-Jan-18 13:48
professionalJochen Arndt3-Jan-18 13:48 
AnswerRe: How to return a string from a user defined function to main function ? Pin
Member 115604903-Jan-18 15:48
Member 115604903-Jan-18 15:48 
AnswerRe: How to return a string from a user defined function to main function ? Pin
leon de boer3-Jan-18 16:07
leon de boer3-Jan-18 16:07 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Tarun Jha3-Jan-18 20:29
Tarun Jha3-Jan-18 20:29 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Victor Nijegorodov4-Jan-18 0:04
Victor Nijegorodov4-Jan-18 0:04 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Tarun Jha4-Jan-18 5:02
Tarun Jha4-Jan-18 5:02 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Richard MacCutchan4-Jan-18 0:21
mveRichard MacCutchan4-Jan-18 0:21 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Tarun Jha4-Jan-18 5:05
Tarun Jha4-Jan-18 5:05 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Richard MacCutchan4-Jan-18 5:10
mveRichard MacCutchan4-Jan-18 5:10 
GeneralRe: How to return a string from a user defined function to main function ? Pin
Tarun Jha5-Jan-18 1:48
Tarun Jha5-Jan-18 1:48 

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.