I know that (*var).t works well, but I am wondering why my "solutions" aren't working. Maybe is another syntax ?
P.S.: I know about "->" and I use it, but I like to try new things and I hope you can help me (are the var->next->t or (*var).next->t the only options ?)
Correct way to write this without using pointer member selection operator (dereference only) is to write:
1 2 3 4 5 6
(*((*var).next)).t
(*var) //Transform pointer into reference
(*var).next //Select next member
(*(*var).next) //Transform next pointer to reference
(*((*var).next)).t //Select t member