Forum: C Sep 8th, 2004 |
| Replies: 5 Views: 3,536 Correct; hardware interrupt 9h is the keyboard interrupt, and it's possible to use that to get keyboard states. But if you're compiling for Win32, then by all means use the API like bdiamond... |
Forum: C Jun 17th, 2004 |
| Replies: 5 Views: 2,562 The sprintf function (http://www.cplusplus.com/ref/cstdio/sprintf.html) should work for that:
#include <stdio.h>
void Set(char string_time[])
{
sprintf(meridian, string_time);
}
If you... |