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. program in oop in c++

program in oop in c++

Scheduled Pinned Locked Moved C / C++ / MFC
c++
11 Posts 7 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.
  • K Offline
    K Offline
    KARFER
    wrote on last edited by
    #1

    please ..source code for program in oop in c++ i can't write program in c++ in oop please i want to be expert in oop LORAN

    To Be Or Not To Be (KARFER)

    H J D R 4 Replies Last reply
    0
    • K KARFER

      please ..source code for program in oop in c++ i can't write program in c++ in oop please i want to be expert in oop LORAN

      To Be Or Not To Be (KARFER)

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

      Do you know C++ ? see MFC/C++ [^] is helpfuls?


      WhiteSky


      1 Reply Last reply
      0
      • K KARFER

        please ..source code for program in oop in c++ i can't write program in c++ in oop please i want to be expert in oop LORAN

        To Be Or Not To Be (KARFER)

        J Offline
        J Offline
        Joan M
        wrote on last edited by
        #3

        You should search the definition for the "class" word, once you've read that you'll understand what is the oop about... Then making that code will be easy (at the beggining) of course you can make it as hard as you want, but for example, look for the CButton source code or any other control in the MFC, and then you'll understand. Hope this helps.

        X 1 Reply Last reply
        0
        • K KARFER

          please ..source code for program in oop in c++ i can't write program in c++ in oop please i want to be expert in oop LORAN

          To Be Or Not To Be (KARFER)

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          loran1986 wrote:

          please ..source code for program in oop in c++

          #include

          int main()
          {
          std::cout << "I've a long way to go...\n";
          }


          "A good athlete is the result of a good and worthy opponent." - David Crow

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          1 Reply Last reply
          0
          • K KARFER

            please ..source code for program in oop in c++ i can't write program in c++ in oop please i want to be expert in oop LORAN

            To Be Or Not To Be (KARFER)

            R Offline
            R Offline
            Rick York
            wrote on last edited by
            #5

            Try a google search for object oriented scribble. Read through that code and you'll be an expert in no time. :cool:

            R 1 Reply Last reply
            0
            • J Joan M

              You should search the definition for the "class" word, once you've read that you'll understand what is the oop about... Then making that code will be easy (at the beggining) of course you can make it as hard as you want, but for example, look for the CButton source code or any other control in the MFC, and then you'll understand. Hope this helps.

              X Offline
              X Offline
              xyecloudy
              wrote on last edited by
              #6

              how can i check the stack-overflow through my programme.

              H K 2 Replies Last reply
              0
              • R Rick York

                Try a google search for object oriented scribble. Read through that code and you'll be an expert in no time. :cool:

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

                Rick York wrote:

                Try a google search for object oriented scribble. Read through that code and you'll be an expert in no time.

                :laugh: Some testimonials of satisfied users of your suggestion: 1. I went through the code for a couple of minutes and now I am very confident. I am currently re-writing Linux - Mr. XYZ 2. Scribble code is the best. I wrote a mail server, right after going through the code. - Mr. ABCD 3. I wrote an ERP package for our company in C++, immediately after having a look at scribble code. - Mr. GHIJ


                Nobody can give you wiser advice than yourself. - Cicero

                1 Reply Last reply
                0
                • X xyecloudy

                  how can i check the stack-overflow through my programme.

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

                  See Debug Tutorial Part 2: The Stack[^] is helpful for you debugging tutorials


                  WhiteSky


                  X 1 Reply Last reply
                  0
                  • H Hamid Taebi

                    See Debug Tutorial Part 2: The Stack[^] is helpful for you debugging tutorials


                    WhiteSky


                    X Offline
                    X Offline
                    xyecloudy
                    wrote on last edited by
                    #9

                    thank you,i am reading it now!

                    H 1 Reply Last reply
                    0
                    • X xyecloudy

                      thank you,i am reading it now!

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

                      I hope it solved your problem.:)


                      WhiteSky


                      1 Reply Last reply
                      0
                      • X xyecloudy

                        how can i check the stack-overflow through my programme.

                        K Offline
                        K Offline
                        KARFER
                        wrote on last edited by
                        #11

                        //this is add to stack function void push (int x) { if (top >size -1) //size is the max size of stack cout <<"Stack is full"; else stack[top++]=x; //top is the pointer for the stack } //this is delete from stack function int pop () { if (top >0) return stack[top--]; else cout <<"stack is empty"; } O.K ... Go Head ... ;)

                        To Be Or Not To Be (KARFER)

                        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