Forum: C++ Sep 24th, 2009 |
| Replies: 14 Views: 587 so if 0 is randoms starting number, you add 15 so... 15 is the minimum number |
Forum: C++ Sep 24th, 2009 |
| Replies: 14 Views: 587 if random is used like random(high number)
why not do random(number)+15 |
Forum: C++ Sep 20th, 2009 |
| Replies: 82 Views: 16,148 ooh, sqrt(4)=4^(1/2)=2
might help :D
where sqrt = Square root
^ = to the power of
oh, hang on...
no to the pwr of...
well if 4x4x4 = 4^3 = 64 |
Forum: C++ Nov 21st, 2008 |
| Replies: 2 Views: 480 heh. didnt help me that much :/ but dad had some code for me
HKEY hKey;
DWORD buffersize = 1024;
char* hldsloc = new char[buffersize];
RegOpenKeyEx (HKEY_CURRENT_USER,... |
Forum: C++ Nov 21st, 2008 |
| Replies: 2 Views: 480 how would I get the install directory of another program, the registry perhaps? (using HLDS as my directory to be found) (GET HLDS HERE!)... |
Forum: C++ Nov 21st, 2008 |
| Replies: 6 Views: 662 no probs dude, it works fantastically well +rep |
Forum: C++ Nov 21st, 2008 |
| Replies: 6 Views: 662 oh well its at the end, so it distracts you from other work to press ok, (like an ad)
and that sample didnt realy compile for me (im using code::blocks)
... |
Forum: C++ Nov 21st, 2008 |
| Replies: 6 Views: 662 OK, I'm making a backup application and once the backup is complete, I want it to flash
FINISHED!!!! - in different colours - any help at all would be appreciated, thanks - MaxICube |