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. convert into string

convert into string

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
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.
  • P Offline
    P Offline
    polopo
    wrote on last edited by
    #1

    Hi All Can i convert WIN32_FIND_DATA FindFileData into string?If yes then how? Plz help me

    C D H S 4 Replies Last reply
    0
    • P polopo

      Hi All Can i convert WIN32_FIND_DATA FindFileData into string?If yes then how? Plz help me

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      :confused: Uh ? What do you mean exactly ?

      Cédric Moonen Software developer
      Charting control [v1.5 - Updated] OpenGL game tutorial in C++

      1 Reply Last reply
      0
      • P polopo

        Hi All Can i convert WIN32_FIND_DATA FindFileData into string?If yes then how? Plz help me

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

        You can't convert the structure itself to a string. You can, however, convert its members to a string.

        "Love people and use things, not love things and use people." - Unknown

        "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

        1 Reply Last reply
        0
        • P polopo

          Hi All Can i convert WIN32_FIND_DATA FindFileData into string?If yes then how? Plz help me

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          What do you need? do you want to convert size or time of a file to string?

          1 Reply Last reply
          0
          • P polopo

            Hi All Can i convert WIN32_FIND_DATA FindFileData into string?If yes then how? Plz help me

            S Offline
            S Offline
            SandipG
            wrote on last edited by
            #5

            probably you want to send the structure over socket or some thing similar if this is correct then you can try.

            char str[SIZE]; //SIZE should be size of the structure.
            memcpy(str,&FindFileData,sizeof(WIN32_FIND_DATA));

            I hope this makes sense.

            Regards, Sandip.

            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