I'm making a little text-based RTS and I'm at the point to where I need to start making something to run respawn times. I came across time.h and it looks like I could use it but I guess my mind is wrapping around it easily as I thought it would.
I just need a basic respawn timer right now that will count how many seconds have passes since the game has started and to give the player 1 citizen for every x amount of seconds of game time.
Thanks! ;]
-Oh, I'm programming in C++