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. help......

help......

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
5 Posts 2 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
    MFC is the Best
    wrote on last edited by
    #1

    hello, does the possibility exist to convert hexadecimal in integer? thanks, mfc

    C 1 Reply Last reply
    0
    • M MFC is the Best

      hello, does the possibility exist to convert hexadecimal in integer? thanks, mfc

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Yes. In what context ? You can do this: int n = 0x0BADF00D; you can also use iostreams to display a number of any format as any other, my ostringstream article shows how. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

      M 1 Reply Last reply
      0
      • C Christian Graus

        Yes. In what context ? You can do this: int n = 0x0BADF00D; you can also use iostreams to display a number of any format as any other, my ostringstream article shows how. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

        M Offline
        M Offline
        MFC is the Best
        wrote on last edited by
        #3

        thank you for your reply! i have hexadecimals in a string and i need them as integer numbers. how can i get it? thanks, mfc

        C 1 Reply Last reply
        0
        • M MFC is the Best

          thank you for your reply! i have hexadecimals in a string and i need them as integer numbers. how can i get it? thanks, mfc

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          sscanf[^] appears to be what you're looking for. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

          M 1 Reply Last reply
          0
          • C Christian Graus

            sscanf[^] appears to be what you're looking for. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

            M Offline
            M Offline
            MFC is the Best
            wrote on last edited by
            #5

            sorry i forgot: thank you very much.....great...

            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