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

Error

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
9 Posts 8 Posters 3 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.
  • L Offline
    L Offline
    lgatcodeproject
    wrote on last edited by
    #1

    Can any one tell me what is the mistake i have did in below line of code? int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI}; I am getting compiler error C2059, C2334. Regards, lg

    lgatcodeproject

    A F S T Y 6 Replies Last reply
    0
    • L lgatcodeproject

      Can any one tell me what is the mistake i have did in below line of code? int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI}; I am getting compiler error C2059, C2334. Regards, lg

      lgatcodeproject

      A Offline
      A Offline
      Abhi Lahare
      wrote on last edited by
      #2

      the single line of code won;t give enough info, look around for declaration above and below the statement as it roughly stated in http://msdn.microsoft.com/en-us/library/t8xe60cf(VS.80).aspx

      1 Reply Last reply
      0
      • L lgatcodeproject

        Can any one tell me what is the mistake i have did in below line of code? int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI}; I am getting compiler error C2059, C2334. Regards, lg

        lgatcodeproject

        F Offline
        F Offline
        Fatbuddha 1
        wrote on last edited by
        #3

        Hi, You might also post the code above. I think (based on error C2334 ) you missed ': or {'; somewhere. At least google tells you that: http://msdn.microsoft.com/en-us/library/f0swb231.aspx[^] Cheers

        You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)

        1 Reply Last reply
        0
        • L lgatcodeproject

          Can any one tell me what is the mistake i have did in below line of code? int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI}; I am getting compiler error C2059, C2334. Regards, lg

          lgatcodeproject

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          It might be an idea to quote more of the error than just its code. Not all of us have comitted them to memory. Make it easy for people to answer your question and more people are likely to reply.

          Steve

          F 1 Reply Last reply
          0
          • S Stephen Hewitt

            It might be an idea to quote more of the error than just its code. Not all of us have comitted them to memory. Make it easy for people to answer your question and more people are likely to reply.

            Steve

            F Offline
            F Offline
            Fatbuddha 1
            wrote on last edited by
            #5

            Actually the only reply he needs is: ask google :) Cheers

            You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)

            1 Reply Last reply
            0
            • L lgatcodeproject

              Can any one tell me what is the mistake i have did in below line of code? int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI}; I am getting compiler error C2059, C2334. Regards, lg

              lgatcodeproject

              T Offline
              T Offline
              transoft
              wrote on last edited by
              #6

              lgatcodeproject wrote:

              int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI};

              I compiled this code. I did not get any error message. Did you include right header files?

              1 Reply Last reply
              0
              • L lgatcodeproject

                Can any one tell me what is the mistake i have did in below line of code? int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI}; I am getting compiler error C2059, C2334. Regards, lg

                lgatcodeproject

                Y Offline
                Y Offline
                Y_miao
                wrote on last edited by
                #7

                sorry!i don't know

                T 1 Reply Last reply
                0
                • Y Y_miao

                  sorry!i don't know

                  T Offline
                  T Offline
                  Tim Craig
                  wrote on last edited by
                  #8

                  There are over 6.5 million members of CodeProject, think about what would happen if most of them answered every question with "I don't know". :doh:

                  You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

                  1 Reply Last reply
                  0
                  • L lgatcodeproject

                    Can any one tell me what is the mistake i have did in below line of code? int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI}; I am getting compiler error C2059, C2334. Regards, lg

                    lgatcodeproject

                    M Offline
                    M Offline
                    Maxwell Chen
                    wrote on last edited by
                    #9

                    You need to import the Recognizer COM object to let the compiler know those macros (that is: LANG_ENGLISH things)[^]

                    Maxwell Chen

                    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