Search:

Type: Posts; User: adzee

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    768

    #include #include using...

    #include <iostream>
    #include <string>
    using namespace std;
    class parent{
    protected:
    int age;
    public:
    //setter
    void setValues(int Age) { age=Age; }
    //getter
  2. Replies
    2
    Views
    768

    is the main methods for storing and retrieving...

    is the main methods for storing and retrieving DATA in private class variables using setter/getter methods? is this common practice?
  3. Replies
    2
    Views
    768

    inistializing derived class veriables

    Sorry if my terminology is off, it's been a long while since i've practiced programming.


    #include <iostream>
    #include <string>
    using namespace std;
    class parent{
    protected:
    int age;...
Results 1 to 3 of 3