.csv vs .txt files

This is a discussion on .csv vs .txt files within the C++ Programming forums, part of the General Programming Boards category; Ok so I recently finished my project using .txt files and I am now moving on to .csv files. I'm ...

  1. #1
    Registered User
    Join Date
    Mar 2013
    Location
    Portugal, Porto.
    Posts
    105

    .csv vs .txt files

    Ok so I recently finished my project using .txt files and I am now moving on to .csv files.
    I'm aware .csv (which stand for comma separated files) are defined as :
    >This is a special file extension commonly used by MS Excel. Basically this is also a plain text file but with a limitation of comma separated values. Normally when you double click this type of file it will open in MS Excel.

    I guess .csv are pretty much .txt files but I'm now wondering if I can actually manipulate .csv within notepad. I mean, edit them within notepad and save them with .csv extention.

    Any input is welcome, thank you

  2. #2
    Registered User
    Join Date
    Apr 2013
    Posts
    29
    I don't know why you need this, but yes, you can edit it with notepad.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    2,694
    I guess .csv are pretty much .txt files
    A csv file is not "pretty much" .txt files, they are text files. Remember the extension is only a hint to the operating system and user as to the content of the file. You can name your files almost anything with almost any extension. You can, if you so desire, create your CSV file with a .txt, .dat, .csv or almost anything else you want.

    Jim

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. binary files: copying jpeg or video files
    By cfanatic in forum C Programming
    Replies: 5
    Last Post: 07-19-2012, 08:17 AM
  2. Multiple Source Files, make files, scope, include
    By thetinman in forum C++ Programming
    Replies: 13
    Last Post: 11-05-2008, 10:37 PM
  3. Packed Files (Puting multiple files in one file)
    By MrKnights in forum C++ Programming
    Replies: 17
    Last Post: 07-22-2007, 04:21 PM
  4. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 10:46 AM
  5. Replies: 3
    Last Post: 05-03-2002, 05:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21