Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
~198 People Reached
Favorite Forums
Computer Science
x
3
if i have this code: [code=c]int main(int argc, char *argv[]) { struct tm tmbuf; time_t timeinsecs; int n, rc; char req[16], resource[128], proto[16], fname[128]; char buffer[1024], dates[64]; rc=read(0,buffer,1024);[/code] how would i go about extracting the three substrings into req, resource and proto using the sscanf function? can someone please talk … |