- Created Friday, March 21st 2014 @ 01:21:24
Uploaded my bot and site says my bot did not respond to server. i was wondering if this is because i used "fgets" instead of "cin"
DeveloperCreated Friday, March 21st 2014 @ 09:04:56
Fgets should work to read from stdin. Maybe it's a problem with your bot's output?
- Created Friday, March 21st 2014 @ 13:58:32
it works fine when i run the program and manually enter the commands the server will enter. in my bots Zip file, do i need to include the iostream or string or any other header files?
- Updated Saturday, November 29th 2014 @ 11:47:13
Try adding an #include <stdio.h> to your file, thats where fgets is located.