This is the most recent practice problem I have done. It took 26 seconds before the program ran for the first time after compiling. I understand it is a long set of loops, but 26 seconds just sounds wrong. I have done this book before on a different computer, and I'm pretty sure this program didn't take 26 seconds before it ran on it's first try.
The other programs that don't involve such involved loops take a lot less time, but a lot of them still take longer than I expect.
Note that if I run it again, it runs instantly.
Code:
#include <stdio.h>
int main()
{
char a,b,c,d,e;
for(a='A';a<='Z';a=a+1)
for(b='A';b<='Z';b=b+1)
for(c='A';c<='Z';c=c+1)
for(d='A';d<='Z';d=d+1)
for(e='A';e<='Z';e=e+1)
printf("%c%c%c%c%c\t",a,b,c,d,e);
return 0;
}