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. how to write to a closed output file(.CSV)

how to write to a closed output file(.CSV)

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
5 Posts 4 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.
  • M Offline
    M Offline
    mr2003
    wrote on last edited by
    #1

    Hi, I would like to know if its possible to write to an already closed output file. I am actually using a .CSV file. Thanks Ehsan Behboudi

    N 1 Reply Last reply
    0
    • M mr2003

      Hi, I would like to know if its possible to write to an already closed output file. I am actually using a .CSV file. Thanks Ehsan Behboudi

      N Offline
      N Offline
      Nick Hodapp
      wrote on last edited by
      #2

      not unless you re-open it first. This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2003 Microsoft Corporation. All rights reserved.

      M 1 Reply Last reply
      0
      • N Nick Hodapp

        not unless you re-open it first. This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2003 Microsoft Corporation. All rights reserved.

        M Offline
        M Offline
        mr2003
        wrote on last edited by
        #3

        what is the code to reopen the file? Ehsan Behboudi

        D M 2 Replies Last reply
        0
        • M mr2003

          what is the code to reopen the file? Ehsan Behboudi

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

          The term "reopen" implies that you have previously opened the file. Can you not use the same method again?


          A rich person is not the one who has the most, but the one that needs the least.

          1 Reply Last reply
          0
          • M mr2003

            what is the code to reopen the file? Ehsan Behboudi

            M Offline
            M Offline
            Maximilien
            wrote on last edited by
            #5

            mr2003 wrote: what is the code to reopen the file? FILE *fopen( const char *filename, const char *mode ); ?


            Maximilien Lincourt Your Head A Splode - Strong Bad

            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