Codeschnippseln für diese Übung

Dependencies:   mbed

class1.cpp

Committer:
Aagrus
Date:
2020-10-13
Revision:
2:7a0bae2281e8
Parent:
1:c65875995efb

File content as of revision 2:7a0bae2281e8:

class MyClass
{
    private:
        double _messwert;
        
    public:
        MyClass() : _messwert(0)
        {
            //_messwert = 0;
        }
        MyClass(double messwert) : _messwert(messwert)
        {
            
        }
        
        
        int GetMesswert()
        {
            return _messwert;    
        }
};