The API GetTickCount() sounds like a good candidate to do this. There is still a case where the value will roll back to 0, but it seems appropriate for what you are doing.
With a name like "Help!!!!!", most of the people will enter your thread and find out that they can't help you because they don't know about function xxxx. If you would have named your thread "Help...
Your post is in the right forum, but the Crystal Reports forum is not the one having the most activity. You can see it for yourself by looking at other thread without any answer....
Your cars each need a "collision region". It can be a rectangular area or a circular area. Once you have that, it is quite easy to compare the mouse coordinate with a car...
The "C++ and WinAPI" forum is for question related to usage of API. Sometimes, it is not very clear in which forum a post should be, but usually, if your question is about the usage of...
I see you have a structure for the ball and one for the paddle. I suggest you create a similar structure for a brick. In this structure, you keep the position of the brick and a boolean to know if...
You don't need to swap numbers millions of times. The algorithm you are looking for is called Fisher–Yates shuffle and is quite efficient (check for the modern algorithm).
Care if I add a speed test of mine? It's pure calculation and the results are pretty interesting. Now, see if you can tweak some compilation parameters or some code parameters and even the things...
The combinaisons of 1 and 0 of length n is simply the binary representations of all numbers from 0 to (2^n)-1. It should be easy to generate the binary representation of those numbers.
It's probably because you try to access an index out of bounds. You do stuff like: m[mr+1][mc] or m[mr-1][mc]. If mr is 0 or is mr+1 is outside the array, you will have problem. To solve that, you...
I'm not sure if I understand correctly your question, but once your array is sorted, you can easily find the duplicates as they will be regrouped. You can then browse the array, output what you need...
Just to let you know, it's possible to copy a file in VB6 without hanging the window, there is an API called CopyFileEx that is pretty easy to use, there is an example here:
...
I looked at this code. I don't see any malicious code, but since it use subclassing and some strange hex patch-code with GlobalAlloc and MoveMemory, it can cause all sort of bads things to your...