If i have a structure like :<br><br>struct node {<br> double x,y;<br> } *n;<br><br>i would like to code a routine, called from main program, who reads the two components of the structure.<br><br>void ReadStruct( ? ? ? ? ? ? ?);<br><br>void main (void)<br>{<br> <br> ReadStruct( ? ? ? ? ?);<br>}<br><br>void ReadStruct( ? ? ? ? ?)<br>{<br>? ? ? ? ? ? ?<br>}<br><br>The problem is that i don't know how to write routine's header (maibe the routine itself) and how to pass arguments to the routine. Thank you in advance for help.<br>