#include "DataStore.h" #include int main() { DataStore a; a.PrintAllValues(); /* std::cout << "Value of a: " << a.GetValue() << std::endl; std::cout << "PointerValue of a: " << a.GetPointerValue() << std::endl; a.SetValue(111); a.SetPointerValue(42); std::cout << "Value of a: " << a.GetValue() << std::endl; std::cout << "PointerValue of a: " << a.GetPointerValue() << std::endl; a.SetPointerValueCorrect(43); std::cout << "PointerValue of a: " << a.GetPointerValue() << std::endl; */ /* DataStore b(a); DataStore c = a; std::cout << "Value of b: " << b.GetValue() << std::endl; std::cout << "PointerValue of b: " << b.GetPointerValue() << std::endl; std::cout << "Value of c: " << c.GetValue() << std::endl; std::cout << "PointerValue of c: " << c.GetPointerValue() << std::endl; a.SetPointerValueCorrect(-111); std::cout << "PointerValue of a: " << a.GetPointerValue() << std::endl; std::cout << "PointerValue of b: " << b.GetPointerValue() << std::endl; std::cout << "PointerValue of c: " << c.GetPointerValue() << std::endl; */ }