How to use Inheritance and constructor overloading

Dependencies:   mbed

Brother.h

Committer:
Jamess
Date:
2015-08-05
Revision:
0:4731d40a338a
Child:
1:6289618eacd1

File content as of revision 0:4731d40a338a:

#ifndef Brother_H
#define Brother_H

#include "mbed.h"

class Brother{
       
    private:
        uint32_t age;   
    
    public:
        uint32_t getAge(void);
        void setAge(uint32_t);
        Brother();
        Brother(uint32_t myAge);
    
    protected:
        //TODO    
    
    };

#endif