User forums > Using Code::Blocks

Watching a strucure array

(1/1)

eddyq:
I have a pointer to an array of structs. I want to watch the 1st 30 structs. If I watch the pointer it only watches the pointer itself. How can I watch the array?

Radek:
Right click the array in the Watches, select Dereference Pointer. If the array is long then right click again, select Properties, set from..to.

Navigation

[0] Message Index

Go to full version