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. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved C / C++ / MFC
14 Posts 10 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 p_1960

    [Message Deleted]

    N Offline
    N Offline
    norish
    wrote on last edited by
    #5

    Check the constructor definitions of CString. :^)

    1 Reply Last reply
    0
    • R Rajesh R Subramanian

      const *char or const char* ? Will you PLEASE buy a book and do us all a favour instead of posting the most elementary stuff here every day?! How many days do you think you can be going on like this?

      It is a crappy thing, but it's life -^ Carlo Pallini

      P Offline
      P Offline
      p_1960
      wrote on last edited by
      #6

      const *char only...

      R F 2 Replies Last reply
      0
      • P p_1960

        const *char only...

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #7

        BUY A BOOK.

        It is a crappy thing, but it's life -^ Carlo Pallini

        _ C 2 Replies Last reply
        0
        • R Rajesh R Subramanian

          BUY A BOOK.

          It is a crappy thing, but it's life -^ Carlo Pallini

          _ Offline
          _ Offline
          _Superman_
          wrote on last edited by
          #8

          How about making a donation!!! ;)

          «_Superman_» I love work. It gives me something to do between weekends.

          1 Reply Last reply
          0
          • R Rajesh R Subramanian

            BUY A BOOK.

            It is a crappy thing, but it's life -^ Carlo Pallini

            C Offline
            C Offline
            CPallini
            wrote on last edited by
            #9

            Sir, I HAVE a book. Unfortunately, 'The Hound of the Baskervilles', tells me nothing about const char *! :rolleyes:

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            R 1 Reply Last reply
            0
            • P p_1960

              const *char only...

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

              Or at least 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)

              D 1 Reply Last reply
              0
              • C CPallini

                Sir, I HAVE a book. Unfortunately, 'The Hound of the Baskervilles', tells me nothing about const char *! :rolleyes:

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                R Offline
                R Offline
                Rajesh R Subramanian
                wrote on last edited by
                #11

                :laugh:

                It is a crappy thing, but it's life -^ Carlo Pallini

                P 1 Reply Last reply
                0
                • F Fatbuddha 1

                  Or at least 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)

                  D Offline
                  D Offline
                  Defender Scott
                  wrote on last edited by
                  #12

                  I came here by google to find how to convert a const char * to CString without a book. I should know better than look for answers in Code Project replies. Guess what? Come 2011, 2012, and beyond people will still be finding this disappointing conversation. Good to know at the top of the search will be fodder like this. :)

                  K 1 Reply Last reply
                  0
                  • D Defender Scott

                    I came here by google to find how to convert a const char * to CString without a book. I should know better than look for answers in Code Project replies. Guess what? Come 2011, 2012, and beyond people will still be finding this disappointing conversation. Good to know at the top of the search will be fodder like this. :)

                    K Offline
                    K Offline
                    kadvanimayur
                    wrote on last edited by
                    #13

                    char* str = "Hello"; CString cs(str); :-D

                    1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      :laugh:

                      It is a crappy thing, but it's life -^ Carlo Pallini

                      P Offline
                      P Offline
                      pipaliya chirag
                      wrote on last edited by
                      #14

                      char* str = "Hello"; CString cs(str); :laugh:

                      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