M
muser
I have a struct declared in a function: void write_crecord( struct crecord *inc )
{
/******/
}
I now want to pass this into main
int main
{
/******/
switch(temp1[0])
case 'c':
case 'C':
Processcrecord( ...... )
write_crecord( how do I pass the struct to here, along with the pointer too )
}
{
/******/
}
I now want to pass this into main
int main
{
/******/
switch(temp1[0])
case 'c':
case 'C':
Processcrecord( ...... )
write_crecord( how do I pass the struct to here, along with the pointer too )
}