I download Code block yesterday. But I seem to be having problem with the debugger not showing the value of char data type correctly. It does however show the value of int data type correctly.
The following code display the following data value
#include <iostream>
//
// This is the main entry point
// It is used to see how code block works
int main()
{
char tmp[20];
for ( int i = 0; i < 20; i++ )
{
tmp = i;
}
return 0;
}
Value of tmp: "\000\001\002\003\004\005\006\a\b\t\n\v\f\r\016\017\020\021\022\023"
The version I am runing is :-
Code::Blocks IDE, with MINGW compiler
Filesize: 13,597,181 Bytes | Version: 1.0rc2
MD5 Hash: 7638bdd4fd087b3168be4f0f968d1f3c
Many thanks in advance.