Hi so currently I'm making a simple game. But I need there to be a timer so that after 30 seconds it says how many points you've achieved. I'm pretty shore a header will contain this, but what header is it? so what header would I need?
You can use GetTickCount which returns the milliseconds since the system was started. Call it twice, compare the results. When the difference is 30 seconds - do next GameCycle()
If you're using WINAPI u can use the WM_TIMER msg called with SetTimer