Click here to Skip to main content
15,389,125 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: gauge pressure and absolute pressure calculations in C++ Pin
Munchies_Matt2-Apr-17 23:30
MemberMunchies_Matt2-Apr-17 23:30 
QuestionMessage: Failed to set up the execution context to run the test. Pin
HaraldGalda31-Mar-17 2:16
professionalHaraldGalda31-Mar-17 2:16 
QuestionRe: Message: Failed to set up the execution context to run the test. Pin
David Crow31-Mar-17 5:23
MemberDavid Crow31-Mar-17 5:23 
AnswerRe: Message: Failed to set up the execution context to run the test. Pin
zezba90003-Dec-18 9:30
Memberzezba90003-Dec-18 9:30 
GeneralRe: Message: Failed to set up the execution context to run the test. Pin
David Crow3-Dec-18 10:21
MemberDavid Crow3-Dec-18 10:21 
GeneralRe: Message: Failed to set up the execution context to run the test. Pin
zezba90003-Dec-18 10:59
Memberzezba90003-Dec-18 10:59 
QuestionSave strings and integer in text file Pin
lolici25-Mar-17 11:01
Memberlolici25-Mar-17 11:01 
SuggestionRe: Save strings and integer in text file Pin
David Crow25-Mar-17 11:12
MemberDavid Crow25-Mar-17 11:12 
If you used Write() to write the integer and then used something like Notepad to view the file, it will indeed not look like you'd expect. This is a difference between "binary" and "text" files.

Try something like:
CString s;
s.Format(_T("%d\n"), m_nCon);
file.WriteString(s);

"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


GeneralRe: Save strings and integer in text file Pin
lolici25-Mar-17 11:27
Memberlolici25-Mar-17 11:27 
SuggestionRe: Save strings and integer in text file Pin
Premnath Mali14-Apr-17 1:40
professionalPremnath Mali14-Apr-17 1:40 
QuestionCMFCToolBarComboBoxButton dont work on some machines Pin
vojtee24-Mar-17 3:21
Membervojtee24-Mar-17 3:21 
SuggestionRe: CMFCToolBarComboBoxButton dont work on some machines Pin
Richard MacCutchan24-Mar-17 3:40
mveRichard MacCutchan24-Mar-17 3:40 
GeneralRe: CMFCToolBarComboBoxButton dont work on some machines Pin
vojtee24-Mar-17 3:46
Membervojtee24-Mar-17 3:46 
GeneralRe: CMFCToolBarComboBoxButton dont work on some machines Pin
Richard MacCutchan24-Mar-17 4:02
mveRichard MacCutchan24-Mar-17 4:02 
AnswerRe: CMFCToolBarComboBoxButton dont work on some machines Pin
_Flaviu9-Apr-17 21:53
Member_Flaviu9-Apr-17 21:53 
QuestionSave the content from List Control in text file vc++ Pin
lolici22-Mar-17 4:16
Memberlolici22-Mar-17 4:16 
SuggestionRe: Save the content from List Control in text file vc++ Pin
David Crow22-Mar-17 4:48
MemberDavid Crow22-Mar-17 4:48 
GeneralRe: Save the content from List Control in text file vc++ Pin
lolici22-Mar-17 5:23
Memberlolici22-Mar-17 5:23 
GeneralRe: Save the content from List Control in text file vc++ Pin
David Crow22-Mar-17 5:26
MemberDavid Crow22-Mar-17 5:26 
GeneralRe: Save the content from List Control in text file vc++ Pin
lolici22-Mar-17 5:35
Memberlolici22-Mar-17 5:35 
GeneralRe: Save the content from List Control in text file vc++ Pin
David Crow22-Mar-17 5:37
MemberDavid Crow22-Mar-17 5:37 
GeneralRe: Save the content from List Control in text file vc++ Pin
Victor Nijegorodov22-Mar-17 9:58
MemberVictor Nijegorodov22-Mar-17 9:58 
GeneralRe: Save the content from List Control in text file vc++ Pin
lolici23-Mar-17 2:36
Memberlolici23-Mar-17 2:36 
GeneralRe: Save the content from List Control in text file vc++ Pin
Victor Nijegorodov23-Mar-17 7:20
MemberVictor Nijegorodov23-Mar-17 7:20 
GeneralRe: Save the content from List Control in text file vc++ Pin
lolici23-Mar-17 8:14
Memberlolici23-Mar-17 8:14 

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.