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. Char* -> DWORD conversion

Char* -> DWORD conversion

Scheduled Pinned Locked Moved C / C++ / MFC
help
4 Posts 3 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.
  • _ Offline
    _ Offline
    __Cerb
    wrote on last edited by
    #1

    I'd need help on converting a char* to a dword OR a byte[4] thanks! :-)

    R 1 Reply Last reply
    0
    • _ __Cerb

      I'd need help on converting a char* to a dword OR a byte[4] thanks! :-)

      R Offline
      R Offline
      ravjak
      wrote on last edited by
      #2

      i don't know if this is what you are looking for but my this will help DWORD str_num = atoi("12345"); Pain is a weakness living the body

      _ 1 Reply Last reply
      0
      • R ravjak

        i don't know if this is what you are looking for but my this will help DWORD str_num = atoi("12345"); Pain is a weakness living the body

        _ Offline
        _ Offline
        __Cerb
        wrote on last edited by
        #3

        Didn't work :( Actually I have a string like " b7333109 " and I wanna convert it to a dword

        M 1 Reply Last reply
        0
        • _ __Cerb

          Didn't work :( Actually I have a string like " b7333109 " and I wanna convert it to a dword

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          See the FAQ 6.3 How can I change a number into its string representation, or vice versa?[^] --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- You cannot stop me with paramecium alone!

          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