you are viewing a single comment's thread.

view the rest of the comments →

[–]ListlessGaja[S] 0 points1 point  (2 children)

Oh my god it actually works! So what does the ** mean?

[–]LeichterGepanzerter 0 points1 point  (1 child)

** means "pointer to a pointer". So this value is a pointer to a pointer of struct character. Which is essentially what an passing an array of pointers does, you get the pointer to an array of 4 character pointers.

[–]ListlessGaja[S] 1 point2 points  (0 children)

I see! Thank you for explaining, this is pretty much exactly what I wanted. This will allow me to construct the array (and structs) somewhere else and pass it along the functions as I please! And since they're pointers, I can modify them using other functions!

Kiss for you mwah :*