Julio Vantrease
Friday, December 16, 2011
Question about dynamic array of structs in C++?
Your Ad Here
Your code is correct, when using an array, you use the . to access members of structs if you refer to an array item by index. If you had used a pointer, then you would use the -> operator to access members.
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment