TotalView User Guide : Part V: Debugging : Examining and Changing Data : Changing a Variable’s Data Type : Type-Casting Examples : Displaying the argv Array

Displaying the argv Array
Typically, argv is the second argument passed to main(), and it is either a char **argv or char *argv[ ]. Suppose argv points to an array of three pointers to character strings. Here is how you can edit its type to display an array of three pointers:
1
2
$string*[3]*
3

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com