No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to make an istance of this Vector2f(20,20) How to I go about this? |
|
I have this sprite that I am printing out sf::Image aNimat; if(!aNimat.LoadFromFile("images/fish.png")) std::cout<<"File not found fish.png"<<std::endl; however I want to print it out at random places and in random numbers. Can anyone suggest how I would go about it? |
|
I have this iterator that I want to format so the output is something like this. < "Index of first node"(first value of iterator)<<"Second index"(second value of iterator). Can anyone help me with this.[code]void Level::printAstarList(list<int> AstarList) { // cout<<"<"; std::list<int>::const_reverse_iterator it; for (it = AstarList.rbegin(); it != AstarList.rend(); ++it) { … |