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 a line of text from a txt file without doulble quotes?

reading a line of text from a txt file without doulble quotes?

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

    hi all, i will make my question more clear, i want to read a line of characters from a text file. The problem is i don want to read the ""(double quotes ) which is in the line. line is like this "string","12","23","32"... how to access this values without " and comma... thanks in advance :(

    ||SnAkeBed||

    T I T G 4 Replies Last reply
    0
    • S SnaKeBeD

      hi all, i will make my question more clear, i want to read a line of characters from a text file. The problem is i don want to read the ""(double quotes ) which is in the line. line is like this "string","12","23","32"... how to access this values without " and comma... thanks in advance :(

      ||SnAkeBed||

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      is philiptabraham another account you're behind ?


      [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

      1 Reply Last reply
      0
      • S SnaKeBeD

        hi all, i will make my question more clear, i want to read a line of characters from a text file. The problem is i don want to read the ""(double quotes ) which is in the line. line is like this "string","12","23","32"... how to access this values without " and comma... thanks in advance :(

        ||SnAkeBed||

        I Offline
        I Offline
        Iain Clarke Warrior Programmer
        wrote on last edited by
        #3

        Can you not be bothered to look at the question IMMEDIATELY BEFORE YOURS? Not to mention the answer was posted before your question also... I'd understand if it was paaaages back, but one line? It wouldn't be a class assignment you both had.....? Your's crankily, Iain ps. Youth of today... sheesh... I remember when all this was vt100s...

        1 Reply Last reply
        0
        • S SnaKeBeD

          hi all, i will make my question more clear, i want to read a line of characters from a text file. The problem is i don want to read the ""(double quotes ) which is in the line. line is like this "string","12","23","32"... how to access this values without " and comma... thanks in advance :(

          ||SnAkeBed||

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          swaroopkb wrote:

          , i want to read a line of characters from a text file. The problem is i don want to read the ""(double quotes ) which is in the line.

          CString::Replace! and CString::Tokenize

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief

          1 Reply Last reply
          0
          • S SnaKeBeD

            hi all, i will make my question more clear, i want to read a line of characters from a text file. The problem is i don want to read the ""(double quotes ) which is in the line. line is like this "string","12","23","32"... how to access this values without " and comma... thanks in advance :(

            ||SnAkeBed||

            G Offline
            G Offline
            ghle
            wrote on last edited by
            #5

            WOW! From India, interested in neural networks and you can't parse a simple line of text? Try this: 1) Take programming course, or 2) Read a programming book, then 2) have an AHA! moment. Good luck. fscanf, sscanf, while 0 != x.read(), .....

            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