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. Base Convertion

Base Convertion

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

    I am a beginner at programming and am in need of some assistance on how to take a string and convert it to decimal. Please help!

    R S H 3 Replies Last reply
    0
    • C C Los

      I am a beginner at programming and am in need of some assistance on how to take a string and convert it to decimal. Please help!

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

      _tcstol CRT function will do... Regards, Rane

      modified on Thursday, September 18, 2008 12:49 AM

      1 Reply Last reply
      0
      • C C Los

        I am a beginner at programming and am in need of some assistance on how to take a string and convert it to decimal. Please help!

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

        Does this link[^] help?

        Regards, Sandip.

        1 Reply Last reply
        0
        • C C Los

          I am a beginner at programming and am in need of some assistance on how to take a string and convert it to decimal. Please help!

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

          You can use of CString:Format,but for more info about other converts see The Complete Guide to C++ Strings, Part II - String Wrapper Classes[^] and The Complete Guide to C++ Strings, Part I - Win32 Character Encodings[^].

          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