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. defining as public, protected, or private

defining as public, protected, or private

Scheduled Pinned Locked Moved C / C++ / MFC
question
12 Posts 6 Posters 1 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.
  • J John Uhlenbrock

    Where can I find details on the differences between defining variables/functions public, protected and private in a class (or maybe someone can explain?). John

    T Offline
    T Offline
    Tomasz Sowinski
    wrote on last edited by
    #3

    In any C++ book worth the price of paper it's printed on :) Tomasz Sowinski -- http://www.shooltz.com

    Free your mind and your ass will follow.

    J 1 Reply Last reply
    0
    • T Tomasz Sowinski

      In any C++ book worth the price of paper it's printed on :) Tomasz Sowinski -- http://www.shooltz.com

      Free your mind and your ass will follow.

      J Offline
      J Offline
      John Uhlenbrock
      wrote on last edited by
      #4

      BUT, that would require me getting out of my chair to go get the book, and I would have to talk (*shudder*) to a fellow employee to get the book. ROFLMAO Yeah, dumb-ish question, I kind of knew the answer...but I guess I was hoping for something enlightening... BTW its great how fast questions get answered here! John ----------------------- Try this: Look up at the cieling right about your head...your mouth is open isn't it?

      T P 2 Replies Last reply
      0
      • J John Uhlenbrock

        BUT, that would require me getting out of my chair to go get the book, and I would have to talk (*shudder*) to a fellow employee to get the book. ROFLMAO Yeah, dumb-ish question, I kind of knew the answer...but I guess I was hoping for something enlightening... BTW its great how fast questions get answered here! John ----------------------- Try this: Look up at the cieling right about your head...your mouth is open isn't it?

        T Offline
        T Offline
        Tomasz Sowinski
        wrote on last edited by
        #5

        John Uhlenbrock wrote: I would have to talk (*shudder*) to a fellow employee to get the book I wouldn't underestimate this option. Talking to people develops social skills :) Tomasz Sowinski -- http://www.shooltz.com

        Free your mind and your ass will follow.

        A 1 Reply Last reply
        0
        • T Tomasz Sowinski

          John Uhlenbrock wrote: I would have to talk (*shudder*) to a fellow employee to get the book I wouldn't underestimate this option. Talking to people develops social skills :) Tomasz Sowinski -- http://www.shooltz.com

          Free your mind and your ass will follow.

          A Offline
          A Offline
          Andreas Saurwein
          wrote on last edited by
          #6

          Tomasz Sowinski wrote: ...develops social skills I for one dont get payed for social skills or developing them, rather for programming skills and developing applications :suss:

          int x=1, y=5;
          x^=y^=x^=y; // whats the content of x and y now?
          ClickHereForHelp();

          J T 2 Replies Last reply
          0
          • A Andreas Saurwein

            Tomasz Sowinski wrote: ...develops social skills I for one dont get payed for social skills or developing them, rather for programming skills and developing applications :suss:

            int x=1, y=5;
            x^=y^=x^=y; // whats the content of x and y now?
            ClickHereForHelp();

            J Offline
            J Offline
            Jon Hulatt
            wrote on last edited by
            #7

            I get paid for being here. So I'm not against developing social skills. STL is a religeon. Enquiries to Reverend Christian Graus

            1 Reply Last reply
            0
            • A Andreas Saurwein

              Tomasz Sowinski wrote: ...develops social skills I for one dont get payed for social skills or developing them, rather for programming skills and developing applications :suss:

              int x=1, y=5;
              x^=y^=x^=y; // whats the content of x and y now?
              ClickHereForHelp();

              T Offline
              T Offline
              Tomasz Sowinski
              wrote on last edited by
              #8

              Andreas Saurwein wrote: I for one dont get payed for social skills or developing them, As everybody in this industry. However, the social skills may be helpful someday :) Tomasz Sowinski -- http://www.shooltz.com

              Free your mind and your ass will follow.

              A 1 Reply Last reply
              0
              • T Tomasz Sowinski

                Andreas Saurwein wrote: I for one dont get payed for social skills or developing them, As everybody in this industry. However, the social skills may be helpful someday :) Tomasz Sowinski -- http://www.shooltz.com

                Free your mind and your ass will follow.

                A Offline
                A Offline
                Andreas Saurwein
                wrote on last edited by
                #9

                My wife is happy with what she gets, what do I need more :-D :-D And if one day I need these pesky "social skills", well, I send her. :~

                int x=1, y=5;
                x^=y^=x^=y; // whats the content of x and y now?
                ClickHereForHelp();

                T 1 Reply Last reply
                0
                • A Andreas Saurwein

                  My wife is happy with what she gets, what do I need more :-D :-D And if one day I need these pesky "social skills", well, I send her. :~

                  int x=1, y=5;
                  x^=y^=x^=y; // whats the content of x and y now?
                  ClickHereForHelp();

                  T Offline
                  T Offline
                  Tomasz Sowinski
                  wrote on last edited by
                  #10

                  Andreas Saurwein wrote: My wife is happy with what she gets, Wife? Dude, think about yourself and lost possibilities :-D Tomasz Sowinski -- http://www.shooltz.com

                  Free your mind and your ass will follow.

                  A 1 Reply Last reply
                  0
                  • T Tomasz Sowinski

                    Andreas Saurwein wrote: My wife is happy with what she gets, Wife? Dude, think about yourself and lost possibilities :-D Tomasz Sowinski -- http://www.shooltz.com

                    Free your mind and your ass will follow.

                    A Offline
                    A Offline
                    Andreas Saurwein
                    wrote on last edited by
                    #11

                    Tomasz Sowinski wrote: lost possibilities As I said, I am programmer, not playboy :-D With a wife a can spend more time in front of the computer.

                    int x=1, y=5;
                    x^=y^=x^=y; // whats the content of x and y now?
                    ClickHereForHelp();

                    1 Reply Last reply
                    0
                    • J John Uhlenbrock

                      BUT, that would require me getting out of my chair to go get the book, and I would have to talk (*shudder*) to a fellow employee to get the book. ROFLMAO Yeah, dumb-ish question, I kind of knew the answer...but I guess I was hoping for something enlightening... BTW its great how fast questions get answered here! John ----------------------- Try this: Look up at the cieling right about your head...your mouth is open isn't it?

                      P Offline
                      P Offline
                      Pavel Klocek
                      wrote on last edited by
                      #12

                      John Uhlenbrock wrote: BUT, that would require me getting out of my chair to go get the book You can download a good C++ book. Sonork 100.15206;PavelK

                      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