Hot answers tagged

1 vote
Accepted

How does the cs50 video player update the url in real time?

The only way I could think of is the history API. https://developer.mozilla.org/en-US/docs/Web/API/History_API#Adding_and_modifying_history_entries It's often used by single page applications (SPAs) ...
user avatar
  • 20.7k
1 vote
Accepted

expected 400 but got 200 OK?

I do not think the problem is in register function or register.html. I ran them through check50 and they passed. A little detail I missed on the initial read was "got 200 in all my apology pages", all ...
user avatar
1 vote
Accepted

CS50 parse function, HTTP version

When will it stop? The while loop that is. When this (SP[iter] != ' ' || SP[iter] != '?') is false. When is this (SP[iter] != ' ' || SP[iter] != '?') false? Never. If SP[iter] is space then SP[iter] !...
user avatar
1 vote
Accepted

Why port no. is required

according to Wikipedia: In computer networking, a port is a software construct serving as a communications endpoint in a computer's host operating system. when you execute ./server -p <port&...
user avatar
  • 17.4k

Only top scored, non community-wiki answers of a minimum length are eligible