Codeschnippseln für diese Übung

Dependencies:   mbed

class1.cpp

Committer:
Aagrus
Date:
2020-10-13
Revision:
1:c65875995efb
Parent:
0:76d9c940a794

File content as of revision 1:c65875995efb:

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