assign an int(eg. 10) to a string member in a struct in c++, why it compile success? – CentOS
I'm practicing <thinking in c++ > for chapter5, ex01: Write a struct called Lib that contains three string objects a, b, and c. In main( ) create a Lib object called x and assign to x.a, x.b, and x.c. Print…