Click here to Skip to main content
15,908,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: My program doesn't recognize "sin" - but I've included <math.h> Pin
David Crow9-Jun-03 10:30
David Crow9-Jun-03 10:30 
GeneralRe: My program doesn't recognize "sin" - but I've included <math.h> Pin
kleft9-Jun-03 11:04
kleft9-Jun-03 11:04 
GeneralRe: My program doesn't recognize "sin" - but I've included <math.h> Pin
peterchen9-Jun-03 21:44
peterchen9-Jun-03 21:44 
GeneralRe: My program doesn't recognize "sin" - but I've included <math.h> Pin
Roger Allen10-Jun-03 0:36
Roger Allen10-Jun-03 0:36 
QuestionCarriage return and line feed, y use them in files?? Pin
IrishSonic9-Jun-03 8:30
IrishSonic9-Jun-03 8:30 
AnswerRe: Carriage return and line feed, y use them in files?? Pin
David Crow9-Jun-03 9:23
David Crow9-Jun-03 9:23 
AnswerRe: Carriage return and line feed, y use them in files?? Pin
Christian Graus9-Jun-03 16:13
protectorChristian Graus9-Jun-03 16:13 
AnswerRe: Carriage return and line feed, y use them in files?? Pin
David Chamberlain10-Jun-03 3:19
David Chamberlain10-Jun-03 3:19 
grahamoj wrote:
I am writing records of lenght 100 in a file.

If you know that your records are of length 100, then there is no reason to add CR/LF as a delimeter. In fact, there is no reason to delimit records of a fixed length.

If this is a binary file (holding just data for a program to read/write/process) then there is no need for CR/LF. If this is a text file that a person may want to look at, then CR/LF is nice to keep the lines separate, but only for someone to look at. If the file is text but is meant only for a program, then CR/LF isn't necessary.

Dave

"You can say that again." -- Dept. of Redundancy Dept.
GeneralIDE (vc++ 6) Pin
Maximilien9-Jun-03 8:17
Maximilien9-Jun-03 8:17 
GeneralRe: IDE (vc++ 6) Pin
David Crow9-Jun-03 9:26
David Crow9-Jun-03 9:26 
QuestionHow do I correlate IP address and device description to a specific adapter card? Pin
JohnnyG9-Jun-03 8:15
JohnnyG9-Jun-03 8:15 
AnswerRe: How do I correlate IP address and device description to a specific adapter card? Pin
David Crow9-Jun-03 9:33
David Crow9-Jun-03 9:33 
GeneralRe: How do I correlate IP address and device description to a specific adapter card? Pin
JohnnyG9-Jun-03 9:43
JohnnyG9-Jun-03 9:43 
GeneralRe: How do I correlate IP address and device description to a specific adapter card? Pin
David Crow9-Jun-03 10:26
David Crow9-Jun-03 10:26 
GeneralIdentical Resource IDs Pin
smjones9-Jun-03 8:04
smjones9-Jun-03 8:04 
GeneralRe: Identical Resource IDs Pin
Neville Franks9-Jun-03 11:43
Neville Franks9-Jun-03 11:43 
GeneralRe: Identical Resource IDs Pin
Sardaukar9-Jun-03 21:40
Sardaukar9-Jun-03 21:40 
GeneralSomething better than atoi Pin
Shay Harel9-Jun-03 7:06
Shay Harel9-Jun-03 7:06 
GeneralRe: Something better than atoi Pin
basementman9-Jun-03 7:10
basementman9-Jun-03 7:10 
GeneralRe: Something better than atoi Pin
Shay Harel9-Jun-03 7:14
Shay Harel9-Jun-03 7:14 
GeneralRe: Something better than atoi Pin
Shay Harel9-Jun-03 7:16
Shay Harel9-Jun-03 7:16 
GeneralRe: Something better than atoi Pin
basementman9-Jun-03 7:27
basementman9-Jun-03 7:27 
GeneralRe: Something better than atoi Pin
Shay Harel9-Jun-03 7:37
Shay Harel9-Jun-03 7:37 
GeneralRe: Something better than atoi Pin
David Crow9-Jun-03 9:38
David Crow9-Jun-03 9:38 
GeneralTranslation Pin
sardinka9-Jun-03 6:54
sardinka9-Jun-03 6:54 

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.