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. Any Example in MFC

Any Example in MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
7 Posts 6 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.
  • P Offline
    P Offline
    Pankaj D Dubey
    wrote on last edited by
    #1

    Can i get any example to utilize strcmp() in MFC.

    French is the language of love, for everything else there is c++ ...(anonymous)

    _ C H M M 5 Replies Last reply
    0
    • P Pankaj D Dubey

      Can i get any example to utilize strcmp() in MFC.

      French is the language of love, for everything else there is c++ ...(anonymous)

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      Only if you can read the documentation here[^]

      You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

      1 Reply Last reply
      0
      • P Pankaj D Dubey

        Can i get any example to utilize strcmp() in MFC.

        French is the language of love, for everything else there is c++ ...(anonymous)

        C Offline
        C Offline
        Chandrasekharan P
        wrote on last edited by
        #3

        HAve a look at this. http://www.cplusplus.com/reference/clibrary/cstring/strcmp/[^]

        P 1 Reply Last reply
        0
        • C Chandrasekharan P

          HAve a look at this. http://www.cplusplus.com/reference/clibrary/cstring/strcmp/[^]

          P Offline
          P Offline
          Pankaj D Dubey
          wrote on last edited by
          #4

          Thanks Ansuman, Chandrasekharanp

          French is the language of love, for everything else there is c++ ...(anonymous)

          1 Reply Last reply
          0
          • P Pankaj D Dubey

            Can i get any example to utilize strcmp() in MFC.

            French is the language of love, for everything else there is c++ ...(anonymous)

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

            strcmp Example [^].

            Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

            1 Reply Last reply
            0
            • P Pankaj D Dubey

              Can i get any example to utilize strcmp() in MFC.

              French is the language of love, for everything else there is c++ ...(anonymous)

              M Offline
              M Offline
              Madhu Nair 0
              wrote on last edited by
              #6

              if(strcmp(strHello,_T("Hello")==0) { cout << _T("SAME"); } is same as CString strHello(_T("hello")); if(strHello.Compare(_T("Hello"))==0) { cout << _T("SAME"); } in MFC

              1 Reply Last reply
              0
              • P Pankaj D Dubey

                Can i get any example to utilize strcmp() in MFC.

                French is the language of love, for everything else there is c++ ...(anonymous)

                M Offline
                M Offline
                Maximilien
                wrote on last edited by
                #7

                dubeypankaj wrote:

                Can i get any example to utilize strcmp() in MFC.

                Heck, you're asking for example in MFC, so I'm giving you the MFC solution : have a look at CString::Compare and CString::CompareNoCase

                This signature was proudly tested on animals.

                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