Thread: print output problem

  1. #1
    Registered User
    Join Date
    Nov 2002

    Question print output problem

    Please somebody help me........

    I am trying to print a data to a output file by command

    fprintf (file_pointer, "%d \t %4.2f \t %4.2f \t 0 \t 0 \t 0 \t %4.2f\n", k,x,y,ang);

    what i need is to print it in .csv file with difference column (that is why i use \t command). when i run the program, it will not print it at difference column.

    It work ok when i print it to .xls file.

    may i know how can i do it to print it at difference column in .csv file?


  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Wotsit has all you need.

    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 12
    Last Post: 10-16-2008, 12:07 PM
  2. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  3. Print Preview problem
    By MarkookraM in forum Windows Programming
    Replies: 4
    Last Post: 09-24-2006, 10:13 AM
  4. Problem with program output
    By progrookie in forum C++ Programming
    Replies: 7
    Last Post: 03-23-2006, 02:58 PM
  5. tricky output problem, dont understand
    By panfilero in forum C Programming
    Replies: 6
    Last Post: 11-12-2005, 12:30 AM