Click here to Skip to main content
15,919,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Arrow keys Pin
KaЯl10-Sep-03 21:10
KaЯl10-Sep-03 21:10 
GeneralSerial communication witch 9.bit Pin
Kuceram9-Sep-03 22:27
Kuceram9-Sep-03 22:27 
GeneralRe: Serial communication witch 9.bit Pin
Ryan Binns10-Sep-03 0:44
Ryan Binns10-Sep-03 0:44 
GeneralRe: Serial communication witch 9.bit Pin
conrad Braam10-Sep-03 3:00
conrad Braam10-Sep-03 3:00 
GeneralRe: Serial communication witch 9.bit Pin
Ryan Binns10-Sep-03 3:08
Ryan Binns10-Sep-03 3:08 
GeneralCRLF vs. LF Pin
peterchen9-Sep-03 20:55
peterchen9-Sep-03 20:55 
GeneralRe: CRLF vs. LF Pin
geo_m9-Sep-03 21:56
geo_m9-Sep-03 21:56 
GeneralRe: CRLF vs. LF Pin
Johnny ²9-Sep-03 22:00
Johnny ²9-Sep-03 22:00 
There's no 'correct' way. Text files on Windows generally have the CRLF, whilst on Unix and Mac it has LF. I say generally because its not a requirement and you can mix and match, provided your application knows how to handle it. If you want to produce a text file that you can open in Notepad then you should go the CRLF way.

Opening a file in 'text mode' should do the conversion for you. I also think it will expand a \n into a \r\n combination, when writing (using the stdio functions anyway).
GeneralRe: CRLF vs. LF Pin
Ryan Binns10-Sep-03 0:35
Ryan Binns10-Sep-03 0:35 
GeneralDetect the icon selected on desktop Pin
Tipu9-Sep-03 20:49
Tipu9-Sep-03 20:49 
Generalbase-change in c++ without using streams Pin
elchip9-Sep-03 18:59
elchip9-Sep-03 18:59 
GeneralRe: base-change in c++ without using streams Pin
PJ Arends9-Sep-03 20:11
professionalPJ Arends9-Sep-03 20:11 
GeneralRe: base-change in c++ without using streams Pin
elchip9-Sep-03 20:18
elchip9-Sep-03 20:18 
GeneralDLL to static lib converter Pin
Ravi Bhavnani9-Sep-03 18:10
professionalRavi Bhavnani9-Sep-03 18:10 
GeneralRe: DLL to static lib converter Pin
Neville Franks9-Sep-03 23:51
Neville Franks9-Sep-03 23:51 
QuestionHow to detect when a file is created Pin
pankajdaga9-Sep-03 17:49
pankajdaga9-Sep-03 17:49 
AnswerRe: How to detect when a file is created Pin
Pankaj_lazy_to_log_on9-Sep-03 18:22
sussPankaj_lazy_to_log_on9-Sep-03 18:22 
GeneralRe: How to detect when a file is created Pin
Chris Richardson9-Sep-03 18:49
Chris Richardson9-Sep-03 18:49 
Generalnew to c++ need help about compiling Pin
colin219-Sep-03 16:09
colin219-Sep-03 16:09 
GeneralRe: new to c++ need help about compiling Pin
berndg9-Sep-03 20:25
berndg9-Sep-03 20:25 
GeneralRe: new to c++ need help about compiling Pin
DougW4810-Sep-03 2:00
DougW4810-Sep-03 2:00 
GeneralRe: Char * w/ escaped character to char Pin
Abin9-Sep-03 13:55
Abin9-Sep-03 13:55 
GeneralDirectX video capture without audio Pin
cje9-Sep-03 12:12
cje9-Sep-03 12:12 
GeneralRe: DirectX video capture without audio Pin
Andrew Walker9-Sep-03 12:21
Andrew Walker9-Sep-03 12:21 
GeneralRe: DirectX video capture without audio Pin
cje9-Sep-03 12:47
cje9-Sep-03 12:47 

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.