I am not an expert in Windows programming, but the description of GetAsyncKeyState says the following about the return value:
Therefore GetAsyncKeyState(VK_SPACE) always returns true, you...
Type: Posts; User: MWAAAHAAA
I am not an expert in Windows programming, but the description of GetAsyncKeyState says the following about the return value:
Therefore GetAsyncKeyState(VK_SPACE) always returns true, you...
And yet another extremely helpful comment by Elysia! Your post count has now been increased! (Incidentally, so has mine)
Priceless.
If you want to change your logic after encountering an empty line, then why not simply check whether the line is empty?
Incidentally, since when is the magnitude of a vector equal to the root difference square of its components?
Are you familiar with the concept of a manual? If not, I suggest you look it up. Here, straight from the printf manual, headed under 'conversion specifier', 'c':
... the int argument is converted...
Obviously having the board size and number of opponents and whether they are computers or humans, hard-coded in your program is not very user-friendly. How about letting the user enter these...
Qt - A cross-platform application and UI framework, well-designed, well-documented, easy-to-use.
You should read up on the differences between assignment and comparison.
Grumpy said best what we all know to be true:
From this thread.
Except that if he converts it to 8-bits, then he will lose a lot of resolution in z-value.
It is one possible approach. Obviously if you just want to play around with a single file it is perfectly fine to manually convert it to a format that you are comfortable with. On the other hand, if...
You don't 'manually' specify the texture coordinates, you have a modeling program do that for you. All your program has to do is to just load in the data, and render it.
I had a similar issue a long time ago, never figured out the underlying cause. SDL is about as easy to setup as GLUT and solved the problem for me at the time.
Are you by any chance using GLUT?
Now that we're on the topic of rookies: very very bad coding practice to show a beginner!
Oh dear!
Think about what you want to accomplish in a logical manner. Essentially what you are asking is the following: I have a random polygon in space, but I have no convention as to what constitutes the...
On a side note, this topic reminds of something... Caroundw5h, perhaps you are also bothered by this? [WARNING: some people may find this offensive]
I'm guessing they don't have mirrors where you're from?
Also don't forget that there are probably endianness issues propping up when working with Mac vs. PC.
A giving up attitude is going to get you nowhere. This really is a simple matter of placing the correct switches at the right places, and also one of the reasons why I abhor IDE's.
Have a look at CommonTater's first post for a possible approach.
And I'm such a likable fellow...
Nah, I think you couldn't find the delete button, so you're trying to save face by putting in an edit.