Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 75145

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

0
votes
1answer
I'm trying to find free space to place rectangles, but even though I check for a collision using .intersects() it still places them through each other and somehow doesn't see the intersection happenin …
asked Apr 3 '16 by GigaNova
2
votes
3answers
I'm kinda new to C++ Multithreading, and I'm keeping it simple right now. I will keep things simple and write psuedo-code. I'm making a Turn Based Strategy Game but let's keep it at Chess for now. I …
asked Jul 27 '16 by GigaNova
1
vote
1answer
I have a very simple event handeling system at the moment. void LevelScreen::PollInput() { sf::Event event; while (pWindow->pollEvent(event)) { if (event.type == sf::Event::KeyPr …
asked Jul 23 '16 by GigaNova
2
votes
4answers
I'm trying to use A* to make my enemies move about, but it takes up to 20 seconds to get a path to walk. My grid is only 64*64. This is my code: #include "AStar.h" #include "Node.h" #include "Enti …
asked Apr 17 '16 by GigaNova
1
vote
The problem was this: bool AStar::Contains(std::vector<Node*> _pVector, Node* _pNode) { return find(_pVector.begin(), _pVector.end(), _pNode) != _pVector.end(); } It made a copy of the vector e …
answered Apr 23 '16 by GigaNova
0
votes
1answer
I'll let the gif speak first. As you can see, the small cube just kinda floats there like it has a forcefield. This weird glitch only happens with small cubes, smaller than 60 pixels for some reason. …
asked Sep 10 by GigaNova
1
vote
Problem solved: the error was in drawing the boxes all along. The way Box2D returns positions is by returning the center of an object, and not the upper-left corner. So all I had to do was deduct half …
answered Sep 11 by GigaNova
1
vote
1answer
This is my code. TextRenderer->setString(pCurrentUnit->getCHAR()->getNAME()); TextRenderer->setCharacterSize(16); TextSanitizer::CenterOrigin(TextRenderer); TextRenderer->setPosition( …
asked Jul 25 '16 by GigaNova
0
votes
1answer
I've been trying my best on porting my 3D game from Java to C++, but to no avail. I use only LWJGL with OpenGL but I cannot find any other library in C++ that supports as much as LWJGL does for Java. …
asked Feb 20 '16 by GigaNova