X-Git-Url: https://git.ucc.asn.au/?p=progcomp2013.git;a=blobdiff_plain;f=agents%2Fsilverfish%2Fmain.cpp;h=f6887b431c6bcd735dc85a0fd34f02199fe56086;hp=7d24493fcac61c2791e9f77c5286d62ab7966a86;hb=ef3a2d186de4f86b736dc357948a3ca319ef5423;hpb=7518ec8d771e731d6ffbbe00b275b7e3c4b23301 diff --git a/agents/silverfish/main.cpp b/agents/silverfish/main.cpp index 7d24493..f6887b4 100644 --- a/agents/silverfish/main.cpp +++ b/agents/silverfish/main.cpp @@ -9,6 +9,7 @@ #include "silverfish.h" + using namespace std; /** @@ -20,6 +21,8 @@ using namespace std; int main(int argc, char ** argv) { srand(time(NULL)); // seed random number generator + + string colour; cin >> colour; // first read the colour of the agent