Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStrange variations Pin
hint_5414-Feb-06 8:27
hint_5414-Feb-06 8:27 
AnswerRe: Strange variations Pin
David Crow14-Feb-06 9:46
David Crow14-Feb-06 9:46 
GeneralRe: Strange variations Pin
hint_5415-Feb-06 6:22
hint_5415-Feb-06 6:22 
AnswerRe: Strange variations Pin
Stephen Hewitt14-Feb-06 11:34
Stephen Hewitt14-Feb-06 11:34 
AnswerRe: Strange variations Pin
Dan McCormick14-Feb-06 13:37
Dan McCormick14-Feb-06 13:37 
GeneralRe: Strange variations Pin
hint_5415-Feb-06 5:36
hint_5415-Feb-06 5:36 
NewsRe: Strange variations Pin
Dan McCormick15-Feb-06 11:10
Dan McCormick15-Feb-06 11:10 
QuestionFormat of data in writing file , on different Windows Pin
zahid_ash14-Feb-06 8:14
zahid_ash14-Feb-06 8:14 
HI,

I am using the code below for writing in the file, that file opening on windows XP using WordPad , and the data is in new line for every \n but in win2k and XP 2003 server \n does not works and a box appears and all the data is written in one line.

Why it is so ?

CString write = res+",\t\t\t"+res1+"\n";


percentFile.Open( strFormulaPath , CFile::modeCreate|CFile::modeNoTruncate|CFile::modeReadWrite|CFile::typeBinary);

percentFile.Seek(0L,CFile::end);
percentFile.Write(write , write.GetLength ());
percentFile.Close ();

Regards.
AnswerRe: Format of data in writing file , on different Windows Pin
Red Stateler14-Feb-06 8:57
Red Stateler14-Feb-06 8:57 
QuestionSerial port interfacing Pin
srija14-Feb-06 7:02
srija14-Feb-06 7:02 
AnswerRe: Serial port interfacing Pin
Milton Karimbekallil14-Feb-06 8:16
Milton Karimbekallil14-Feb-06 8:16 
AnswerRe: Serial port interfacing Pin
Dan McCormick14-Feb-06 8:29
Dan McCormick14-Feb-06 8:29 
QuestionWinsock2.h and "unresolved external error" Pin
Mutty14-Feb-06 6:53
Mutty14-Feb-06 6:53 
AnswerRe: Winsock2.h and "unresolved external error" Pin
James R. Twine14-Feb-06 6:57
James R. Twine14-Feb-06 6:57 
GeneralRe: Winsock2.h and "unresolved external error" Pin
Mutty14-Feb-06 7:23
Mutty14-Feb-06 7:23 
GeneralRe: Winsock2.h and "unresolved external error" Pin
ThatsAlok14-Feb-06 22:22
ThatsAlok14-Feb-06 22:22 
AnswerRe: Winsock2.h and "unresolved external error" Pin
David Crow14-Feb-06 7:00
David Crow14-Feb-06 7:00 
Questioninlining problem Pin
hint_5414-Feb-06 6:21
hint_5414-Feb-06 6:21 
AnswerRe: inlining problem Pin
Chris Losinger14-Feb-06 6:33
professionalChris Losinger14-Feb-06 6:33 
GeneralRe: inlining problem Pin
hint_5414-Feb-06 6:36
hint_5414-Feb-06 6:36 
AnswerRe: inlining problem Pin
James R. Twine14-Feb-06 6:36
James R. Twine14-Feb-06 6:36 
GeneralRe: inlining problem Pin
hint_5414-Feb-06 6:38
hint_5414-Feb-06 6:38 
QuestionRe: inlining problem Pin
James R. Twine14-Feb-06 6:40
James R. Twine14-Feb-06 6:40 
AnswerRe: inlining problem Pin
hint_5414-Feb-06 6:46
hint_5414-Feb-06 6:46 
GeneralRe: inlining problem Pin
James R. Twine14-Feb-06 7:02
James R. Twine14-Feb-06 7:02 

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.