Thread: creating .DAT files

  1. #1
    Registered User breed's Avatar
    Join Date
    Oct 2001
    Posts
    91

    creating .DAT files

    hi people!
    creating a .DAT file is not so much of a prob, i know you can just give it a .DAT extention name.
    what i would like to know is how data is stored o the file and hows it is retreived.

    any suggestions??
    Before you judge a man, walk a mile in his
    shoes. After that, who cares.. He's a mile away and you've got
    his shoes.
    ************William Connoly

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    This was asked a while ago?

    .dat can mean anything.....what app are you hoping to use it for

  3. #3
    Registered User breed's Avatar
    Join Date
    Oct 2001
    Posts
    91
    application?

    I am coding a prog to accept data froma dat file stored on an a: drive, which will then do several calculations then output it to a printer,

    my problem is i need to create a dat file with data to test the program,i'm not sure how data is stored within a dat file.

    Do i just type a load of text/numbers seperated with comma's,then save as PROG.DAT?

    or is there a specific layout that i should be looking at?
    Before you judge a man, walk a mile in his
    shoes. After that, who cares.. He's a mile away and you've got
    his shoes.
    ************William Connoly

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    A .dat file could be anything......

    Pick a method you feel comfortable with and go with it........

    As long as your .das files arent read by another app...there's no problem

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating and deleting directories and deleting files
    By fguy817817 in forum C Programming
    Replies: 1
    Last Post: 04-08-2009, 07:26 AM
  2. Reading .dat files from a folder in current directory...
    By porsche911nfs in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2009, 09:52 PM
  3. Creating Files
    By Halo2Master in forum C++ Programming
    Replies: 3
    Last Post: 07-20-2005, 02:49 PM
  4. Functions and Creating Files
    By AngelEyes in forum C++ Programming
    Replies: 2
    Last Post: 05-14-2002, 06:12 PM
  5. Replies: 3
    Last Post: 05-03-2002, 05:18 PM