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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Greek character in ascii?

Greek character in ascii?

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
5 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.
  • A Offline
    A Offline
    acerunner316
    wrote on last edited by
    #1

    Is it possible to write greek characters in VC++ Dialog window? I found that the greek ascii code for alpha is 0xE0. But it didnt work. Here's my code: Cstring TempStr; TempStr.Format("%c (alpha)", 0xE0); The character displayed as an 'a' with an ascent mark.

    C 1 Reply Last reply
    0
    • A acerunner316

      Is it possible to write greek characters in VC++ Dialog window? I found that the greek ascii code for alpha is 0xE0. But it didnt work. Here's my code: Cstring TempStr; TempStr.Format("%c (alpha)", 0xE0); The character displayed as an 'a' with an ascent mark.

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

      I don't think that alpha occurs in ASCII, that's what Unicode is for.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      A 2 Replies Last reply
      0
      • C Christian Graus

        I don't think that alpha occurs in ASCII, that's what Unicode is for.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        A Offline
        A Offline
        acerunner316
        wrote on last edited by
        #3

        I didn't think so either. I was shocked when my coworker showed me a chart containing greek letters. The ascii chart I know of only goes up to 7F. He showed me one that goes to FF

        M 1 Reply Last reply
        0
        • C Christian Graus

          I don't think that alpha occurs in ASCII, that's what Unicode is for.

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          A Offline
          A Offline
          acerunner316
          wrote on last edited by
          #4

          How do you use unicode in VC++?

          1 Reply Last reply
          0
          • A acerunner316

            I didn't think so either. I was shocked when my coworker showed me a chart containing greek letters. The ascii chart I know of only goes up to 7F. He showed me one that goes to FF

            M Offline
            M Offline
            markkuk
            wrote on last edited by
            #5

            It's not an ASCII[^] chart, it's a chart for some 8-bit character set, e.g. one of the ISO 8859[^] parts.

            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