Hi, I need help with 2 things.

1st thing is I want to make a header to hold my #includes and ints,floats,exc. When I do this it works ok with just my #includes out in this file, but when I move my ints(so on) into it also, it doesnt work at all. It gives me a error about something inside the file and says other things don't work.

2end is: I want this line of code to refresh it self. Its a clock so I know the time, but it only tells me ones unless I reloop it when I hit enter or something.
Code:
  time_t rawtime;
  struct tm * timeinfo;
  time ( &rawtime );
  timeinfo = localtime ( &rawtime );
//--------menu------------------------
  printf ("Current date and time is: %s", asctime (timeinfo));