Hi
Is it possible to return a textstring.
ex: I need to return the time in a program.
But if I put the time in a textsting, how can I return it, so I can
call the function gettime() from another program??
tx
------------------------ex: code
int gettime()
{
struct time t;
gettime(&t);
printf("The current time is: %2d:%02d:%02d\n",
t.ti_hour, t.ti_min, t.ti_sec);
return ??;
}



LinkBack URL
About LinkBacks


