It is currently Fri Apr 03, 2020 3:50 pm Advanced search

C++ not reading player information

Topics about starter packages, visualizer or any other third party tools.
Please submit new language requests in the Language Request Forum.

C++ not reading player information

Postby RynsArgent » Sat Dec 17, 2011 2:43 am

Hi everyone,

I was testing to see if playerNo from State.h is actually being read. I found out it doesn't get initialized when I output it using the stream state.bug and so it would be a really ridiculous number. I was surprised I got this far without recognizing it.

I downloaded the starter package and checked to see if playerNo gets read but it doesn't. I'm wondering if I'm not understanding how this is being read.
Posts: 1
Joined: Sat Dec 17, 2011 2:39 am

Re: C++ not reading player information

Postby Parasprites » Sat Dec 17, 2011 3:03 am

Just ignore playerNo and scores. They aren't inputted until after the game is over anyway. I have no idea why the bot has code to read them, but they're useless.
Posts: 224
Joined: Mon Oct 24, 2011 3:08 pm

Return to Starter Packages & Tools

Who is online

Users browsing this forum: No registered users and 2 guests