|
|
@@ -1,6 +1,7 @@
|
|
|
// #include "char_test.hpp"
|
|
|
// #include "process_bar.hpp"
|
|
|
#include "functions.h"
|
|
|
+#include "try_class.hpp"
|
|
|
|
|
|
int main()
|
|
|
{
|
|
|
@@ -20,5 +21,15 @@ int main()
|
|
|
std::cout << "C is " << c << " and D is " << d << std::endl;
|
|
|
swap(c, d);
|
|
|
std::cout << "C is " << c << " and B is " << d << std::endl;
|
|
|
+
|
|
|
+ something gg("Man", "Human", 228);
|
|
|
+ gg.add_value(16);
|
|
|
+ gg.add_value(8);
|
|
|
+ std::cout << gg.name << std::endl;
|
|
|
+ std::cout << "Value list:" << std::endl;
|
|
|
+ for (int v : gg.value_list)
|
|
|
+ {
|
|
|
+ std::cout << v << std::endl;
|
|
|
+ }
|
|
|
return 0;
|
|
|
}
|