Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
Wrap text
processinput() { int curX, curY, curFood; std::cin>>numAnts; std::vector newAnts; int w; for(w=0; w>curX>>curY>>curFood; if(curFood) ++numFoodAnts; char found = 0; for(std::vector::iterator i=ants.begin(), end = ants.end(); i
Pasted November 21, 2007 1:06PM EDT
Embed
paste again