Answer to Question #3060 in C++ for leomaria
I have a :
class Type{
public:
& & & string s;
& & & int i;
& & & char c;& & &
};
and i want :
t[0].s= "hello" ;
but what is the problem?
1
2011-06-07T05:03:25-0400
class Type{
public:
string s;
int i;
char c;
};
Answer:
t.s= "hello" ;
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment