Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Bug: String and others composite types are evaluated as "<void>" in debugger
Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37530 is a reply to message #37529] |
Mon, 15 October 2012 02:55 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I don't know what you are trying to do with the struct T1{
but if you just want a character out of the String you could try:
add this
using namespace std;
String T = "TTT";
string t0 (T, 0, 1);
String T2 = t0;
Cout() << "t = " << T2 << "\n";
U++ may have something to do this but I don't know what that would be without the "using namespace std;"
Note that String T2 = t0; is necessary to change the string to String.
[Updated on: Mon, 15 October 2012 02:56] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri May 10 10:01:30 CEST 2024
Total time taken to generate the page: 0.01848 seconds
|