timelib.h problems

smartik:
Any idea why im getting thease results? Thanks

Something is wrong in the code you didn't post. Before posting more code, though,

get rid of the

excess white space, and use
Tools + Auto Format
to fix your piss-poor indenting.