ayanda83
11th July 2012, 08:03
Hi there, why does the following statement give an error in Qt?
cout << r1.toString() <<endl; I have a class named "R" and r1 is an object of class "R". toString() is a string returning member function of class "R". when I run my program I get the following error.
7994
I have to mention that the above does not give an error when run in pure C++. It's only when I run it in Qt that it gives an error.
cout << r1.toString() <<endl; I have a class named "R" and r1 is an object of class "R". toString() is a string returning member function of class "R". when I run my program I get the following error.
7994
I have to mention that the above does not give an error when run in pure C++. It's only when I run it in Qt that it gives an error.