Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jarice1978

    Does anyone know?

    I am looking for some links to sites that have sample C code. More specifically I need to write a program that reads a fixed length file and writes the output as a comma delimited file. I will be using structs to read from... However, the sites would help out now and for future reference...
  2. jarice1978

    file processing problem?

    Since no one else replied I will reply to myself. Basically I was not reading enough bytes of data. For it to work correctly it looks like you need to read the newline character located in the input file. Here are the changes: CopyTestIn.h struct pmCopyTestIn { char data_source_id...
  3. jarice1978

    file processing problem?

    Hello, I am a little new to C. Her is my case: I am reading a record, doing a simple if check and writing the new record to an output file. However when I process the records I am getting 2 records for each record read. I know this is some kind of line feed problem but I am not sure what to...

Part and Inventory Search

Back
Top