okay so I'm not sure how to do this, but suppose i have a struct that looks something like this:
sound is an object that is defined by a .h file.
and in my main program, i have a pointer called node that points to a soundNode. If there's a function in new_sound that i want to access, how do i do it? In my example im creating a linked list of soundNodes and each node holds a .wav that it can play, pause, resume, stop, etc. so if i wanted to access play_wav() which is a member function of sound, how would i do it using the pointer node? I tried this
node->new_sound.play_wav(), and tried playing around with the brackets to change the order of evaluation but it didnt work, any help would be appreciated, thanks!