Questions tagged [strtok]
The strtok tag has no usage guidance.
3
questions
0
votes
1answer
179 views
PSET6 CS50 - How to Use Strtok()
I am using strtok() to split request_line into multiple variables. However, request_line is not being split correctly and I am receiving errors caused by using strtok().
How can I use strtok() to ...
1
vote
1answer
86 views
Help with parse
I'm getting two errors with check 50 and am struggling to understand how to go about this.
:( Requesting cat.exe returns error code 501
\ expected output, but not "HTTP/1.1 505 HTTP Version Not ...
0
votes
1answer
45 views
PSET6: Question with Mallocing char* for PARSE
I'm currently working on PSET6 and had a question for the parsing section. I decided to use strtok() and as a result, will need to malloc memory when creating new char*. How do i know how much memory ...