how to create a string representation of a struct in c++ code example Example: struct c++ struct product { int weight; double price; } apple, banana, melon;