My Vista machine hovers at around 1.5GB after boot =/
Type: Posts; User: dra
My Vista machine hovers at around 1.5GB after boot =/
Direct2D is built on top of DirectX 10 (which isn't supported on XP), so no it won't work =/
Well first off, you need to indent your code properly.
Also, you are declaring records an array of ints, not Node
Not sure what you mean, but if your values are stored in memory, then AND'ing will get you the desired effect.
//check if 8th bit is set
if(randomValue & 0x80)
{ //do stuff }
I'm crossing my fingers that MS makes it available on MSDNAA. Not really keen on spending $200 to upgrade.
I'm just wondering, why are you against using VS for windows development? Arguably, it's the best tool out there for Windows development.
If you want something more portable, have at look at Qt. I've toyed around with it in the past, and it's actually pretty straightforward. It's object-oriented, which I think makes creating GUIs...
Yes it has, thank you.
d'oh! How embarrassing! Thanks for the observation.
I'm currently playing around with binary trees, but it seems I can't even get my insert function to work correctly. When I try to compile my code, i get the following error:
Unhandled exception...
It is generally considered good practice to use accessor functions to retrieve members from a class, rather than exposing them directly to the user.
There is no underlying "base" class that all classes must inherit from in C++ as tabstop said. In MFC, classes like CDialog are provided as "foundations" that allow the programmer to build upon them...
I've only seen the occasional episode from time to time on TV, so I'm not a Star Trek fan by any means. I wouldn't know how well it embodies the "soul" of the series or whatever, but as a Sci-Fi...
I'm a big LOST fan. I live in Hawaii so I get to see them filming around town from time to time. Have yet to run into one of the actors however :P
Depends on how big your screen is! :p
^ is the symbol for the logical operator XOR (exclusive OR)
a ^= b is the same as a = a ^ b
Nope, but I've gotta say, that's some dedication!
if (board[0] [0] == board[i] [i])
{
same = false; break;
}
Here's your condition for major diagonal. See anything wrong?
Why is it necessary for you to call the constructor again? If you've got code in the constructor of your body, why not wrap it up in a public member function that way you can call it again if you...
Try un4seen's BASS library.
Un4seen Developments - 2MIDI / BASS / MID2XM / MO3 / XM-EXE / XMPlay
I took a quick look at the wowhead.com's client and it seems that the real work is done by the ingame addon, which collects information as you play, and a separate client does the uploading. If the...
If the pop_back function removes the last element, then it wouldn't make sense to try and use it to remove an element that is somewhere in the middle. Use the erase member function instead.
erase...
You cannot use sort() on a list because it doesn't support random access iterators. std::list has its own sort member function that you can use.
First, the above code does not compile, so you may want to look it over again and fix any syntactical issues.
Second, this line executes before you assign a value to n, which is bound the source...
If you need help w/ the sorting part, this is probably one of the best sorting tutorials I've found on the web.
Eternally Confuzzled - The Art of Sorting