Writting Excel file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Abhay

    Writting Excel file

    How can i write a excel file through c program.?
  • jacob navia

    #2
    Re: Writting Excel file

    Abhay wrote:
    How can i write a excel file through c program.?
    I think I misunderstood your question. I thought you wanted to send
    data to Excel, but mayybe you want to just write a CSV file.
    In the later case ignore my message.


    --
    jacob navia
    jacob at jacob point remcomp point fr
    logiciels/informatique

    Comment

    • santosh

      #3
      Re: Writting Excel file

      Abhay wrote:
      How can i write a excel file through c program.?
      Like all other text files. Using fprintf or similar functions.
      Do you have a specific problem?

      Comment

      • CBFalconer

        #4
        Re: Writting Excel file

        Malcolm McLean wrote:
        "Abhay" <abhay.asingh@g mail.comwrote:
        >
        >How can i write a excel file through c program.?
        >
        Probably what you want is a coma-separated values file.
        How do you plan to introduce each coma? With a blunt instrument?

        --
        [mail]: Chuck F (cbfalconer at maineline dot net)
        [page]: <http://cbfalconer.home .att.net>
        Try the download section.



        --
        Posted via a free Usenet account from http://www.teranews.com

        Comment

        • Kenny McCormack

          #5
          Re: Writting Excel file

          In article <47BD8A13.83921 60F@yahoo.com>,
          CBFalconer <cbfalconer@mai neline.netwrote :
          >Malcolm McLean wrote:
          >"Abhay" <abhay.asingh@g mail.comwrote:
          >>
          >>How can i write a excel file through c program.?
          >>
          >Probably what you want is a coma-separated values file.
          >
          >How do you plan to introduce each coma? With a blunt instrument?
          Keep in mind that neither commas nor comas are good choices for
          delimiters. The best, native, delimiter for Excel is TAB.

          Comment

          • =?ISO-8859-1?Q?Bj=F6rn_Paetzel?=

            #6
            Re: Writting Excel file

            Abhay schrieb:
            How can i write a excel file through c program.?
            You can find the specs here:



            Good luck!

            (SCNR)

            Comment

            • Antoninus Twink

              #7
              Re: Writting Excel file

              On 21 Feb 2008 at 14:26, CBFalconer wrote:
              Malcolm McLean wrote:
              >"Abhay" <abhay.asingh@g mail.comwrote:
              >>
              >>How can i write a excel file through c program.?
              >>
              >Probably what you want is a coma-separated values file.
              >
              How do you plan to introduce each coma? With a blunt instrument?
              Marvelous. CBF was clearly so excited by his little bit of humor that he
              even forgot to berate the OP for an OT post, and Maclean for an OT
              reply.
              --
              [mail]: Chuck F (cbfalconer at maineline dot net)
              [page]: <http://cbfalconer.home .att.net>
              Try the download section.
              >
              >
              >
              Oh, and fix your fricking signature.

              Comment

              • Randy Howard

                #8
                Re: Writting Excel file

                On Thu, 21 Feb 2008 06:45:11 -0600, jacob navia wrote
                (in article <fpjrot$46r$2@a ioe.org>):
                Abhay wrote:
                >How can i write a excel file through c program.?
                >
                I think I misunderstood your question. I thought you wanted to send
                data to Excel, but mayybe you want to just write a CSV file.
                In the later case ignore my message.
                It could be that wants to write a .xls file directly. I would guess
                that before either your original guess or a .csv file. Either way,
                it's not well specified, and probably better answered in some group
                specifically for Microsoft programming.

                --
                Randy Howard (2reply remove FOOBAR)
                "The power of accurate observation is called cynicism by those
                who have not got it." - George Bernard Shaw





                Comment

                • Kenneth Brody

                  #9
                  Re: Writting Excel file

                  Abhay wrote:
                  >
                  How can i write a excel file through c program.?
                  Use fopen() to open the file, making sure to specify binary mode.
                  Use fwrite() to write your data.
                  Use fclose() to close the file when you're done.

                  As to _what_ to write, you'll need to go elsewhere to find specs on
                  the Excel file format. Perhaps this URL is what you're looking for:



                  --
                  +-------------------------+--------------------+-----------------------+
                  | Kenneth J. Brody | www.hvcomputer.com | #include |
                  | kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer .h|
                  +-------------------------+--------------------+-----------------------+
                  Don't e-mail me at: <mailto:ThisIsA SpamTrap@gmail. com>


                  Comment

                  • Oleksandr Gavenko

                    #10
                    Re: Writting Excel file

                    santosh wrote:
                    Abhay wrote:
                    >
                    >How can i write a excel file through c program.?
                    >
                    Like all other text files. Using fprintf or similar functions.
                    Do you have a specific problem?
                    >
                    Ggggg-g-g-g. :-)

                    Comment

                    Working...