Renesas M16C PC4701 Network Card User Manual


 
10 C/C++ Expressions
10.2.3 Pointer Types
When the result of calculation is a pointer type to other than a char* type, it is displayed in
hexadecimal as follows:
(unsigned int *) p = 0x1234(all Radices)
When the result of calculation is a char* type, you can select the display format of the string or a
character in the C Watch window's menu [Display String].
- string types
(unsigned char *) str = 0x1234 "Japan"(all Radices)
- character types
(unsigned char *) str = 0x1234 (74 'J')(all Radices)
l When the result of calculation is a char* type, it is displayed as follows:
(unsigned char *) str = 0x1234 "Jap(all Radices)
If the string contains a non-printing code prior to the code to show the end of the string (0), it is
displayed up to the non-printing character and the closing quote mark is not displayed.
You can double-click on lines indicated by a '+' to see the members of that structure or union. The '+'
changes to a '-' while the members are displayed. To return to the original display, double click the
line, now indicated by the '-'.
259