| 70 | StringUser(const char *string="NO", int integer=99) : s(strdup(string)), i(integer) {} |
| 71 | ~StringUser() { free(s); } |
| 72 | void Print(int anotherInteger, char *anotherString) { |
| 73 | printf("|%s|%d|%s|%d|\n", s, i, anotherString, anotherInteger); |
| 74 | } |
| 75 | void PrintFloat(float f) { printf("%.2f\n", f); } |
| 76 | const char* returnAString() { return "a returned string"; } |
| 77 | }; |