Reg: Extracting the data to CSV format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #16
    Read my post number 4 again.
    Do you understand the meaning of the word "redirect"?

    Comment

    • sivadhanekula
      New Member
      • Nov 2008
      • 58

      #17
      Sorry....I didn't get you...Can you tell me reg that briefly.....

      ThanQ

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #18
        Your code already had lots of printfs which were printing to the console. You wanted that output to go to the file instead. That code that I posted redirects the output from going to the console to going to the file. So you just use your printfs after that code but they will be writing to the file rather than writing to the console.
        That is the concept of redirecting.

        Comment

        • sivadhanekula
          New Member
          • Nov 2008
          • 58

          #19
          Ok....got it..and even I am getting the output for my program.

          Thank you for one and all who help me

          C you all in other thread...bye

          Comment

          • sivadhanekula
            New Member
            • Nov 2008
            • 58

            #20
            Hmmmmm again I have a problem with the program.....Now I am able to get a separate .CSV file in my project but the problem is the data what I wana insert into that is not there....Can you tell me how to get the .CSV file with my required data...

            Thank you

            Comment

            • r035198x
              MVP
              • Sep 2006
              • 13225

              #21
              You didn't forget to fclose(fp); did you?

              Comment

              • sivadhanekula
                New Member
                • Nov 2008
                • 58

                #22
                ya....I haven't forget that....but I have solved the prob and it seems to be very simple...slappe d of myself becoz of the prev thread,,looks like funny..I just forgot one '\' and for that I am struggling from half a day. Now it is OK....

                Thanks for the reply

                Comment

                • r035198x
                  MVP
                  • Sep 2006
                  • 13225

                  #23
                  Better make that two slaps.

                  Comment

                  Working...