Thread: Writing to a column in a text file

  1. #1
    olland
    Guest

    Angry Writing to a column in a text file

    Can anyone help!!!!!!!!!!
    I am writing a series of conditions to a text file which contains numerous columns.

    One of the conditions is to print an X or a particular value which I have declared in the program. How can I get the program to print an X or a value to a particular column in the text document which , will then allow each of the other 250 rows of that column to be entered with an X or a particular value.

    John

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Normal Text does not have such formatting. You could simulate it with structures. Some columns for the data, Other columns between them to act as buffers.

    Slightly tedious though.......

  3. #3
    olland
    Guest

    Angry

    What woud you sugest that I do then?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. Function is called and I am trying to open a file
    By tommy69 in forum C Programming
    Replies: 88
    Last Post: 05-06-2004, 08:33 AM
  5. what does this mean to you?
    By pkananen in forum C++ Programming
    Replies: 8
    Last Post: 02-04-2002, 03:58 PM