Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
// myclass.h
#ifndef MYCLASS_H
#define MYCLASS_H
class MyClass
{
double d;
public:
MyClass();
double MyMemberFunction();
};
#endif
// myclass.cpp
#include "myclass.h"
MyClass::MyClass() : d(0.0)
{
}
double MyClass::MyMemberFunction()
{
d += 5.0;
return d;
}