hquxmu / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 0 forks source link

planet wars server missing #include <cstdio> in samplebots #156

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sample_bots/do_nothing_bot.cc: In function ‘int main(int, char**)’:
sample_bots/do_nothing_bot.cc:6: error: ‘EOF’ was not declared in this scope

sample_bots/timeout_bot.cc: In function ‘int main(int, char**)’:
sample_bots/timeout_bot.cc:8: error: ‘EOF’ was not declared in this scope

added #include <cstdio> to those files and it worked fine.

i am using ubuntu 10.10.

Original issue reported on code.google.com by anton.fo...@gmail.com on 16 Sep 2010 at 5:00