Being a programmer, I tend to aspire toward maximum efficiency in
my programs, so I'd like to know if anyone has a more efficient
way to do the following:
main()
{
str tiempo[16];
time (curtime(), tiempo);
if (stoi(tiempo) < 22)
{
}
}
For those who can't read SALT, if it's earlier than 10:PM, then I
play the Looney Tunes theme (not included). (My roommate doesn't
like the Looney Tunes theme at 11:30PM.)
---
Isaac Grover (1:214/80)
In the year 2000, the average computer will have 0.6 humans.
--- QScan/PCB v1.17b / 01-0154
---------------
* Origin: MicroLink BBS * Dinuba, CA 209-591-8753 (1:214/80)
|