Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Reading from file

Reading from file

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
7 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dercio
    wrote on last edited by
    #1

    How do I read a comma delimited Excel file in C++

    Dercio@C++

    R _ S CPalliniC D 6 Replies Last reply
    0
    • D Dercio

      How do I read a comma delimited Excel file in C++

      Dercio@C++

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      Some options - CreateFile/ReadFile ifstream/getline

      «_Superman_» I love work. It gives me something to do between weekends.

      1 Reply Last reply
      0
      • D Dercio

        How do I read a comma delimited Excel file in C++

        Dercio@C++

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        The search keywords would be "CSV parser C++". I prefer Google, but whatever pleases you.

        It is a crappy thing, but it's life -^ Carlo Pallini

        1 Reply Last reply
        0
        • D Dercio

          How do I read a comma delimited Excel file in C++

          Dercio@C++

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4
          1. Ask Google[^]
          2. Ask CodeProject - there are several articles (such as this one[^]) that talk about reading CSV files
          1 Reply Last reply
          0
          • D Dercio

            How do I read a comma delimited Excel file in C++

            Dercio@C++

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            I suppose you've to write some code for that. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            In testa che avete, signor di Ceprano?

            1 Reply Last reply
            0
            • D Dercio

              How do I read a comma delimited Excel file in C++

              Dercio@C++

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              Here is one example. Another is to use Excel Automation.

              "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              1 Reply Last reply
              0
              • D Dercio

                How do I read a comma delimited Excel file in C++

                Dercio@C++

                Z Offline
                Z Offline
                zhanzongru
                wrote on last edited by
                #7

                Simple way: They are just plain text files. Use general file operations. Complete way: Office Automation. You can find a sample in the MSDN.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups