From: cuz Date: Sun, 21 Dec 2003 12:51:59 +0000 (+0000) Subject: Print a banner X-Git-Tag: V2.12.0~1001 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc6c0a461581207ab296e76d56913b58c42c1f75;p=cc65 Print a banner git-svn-id: svn://svn.cc65.org/cc65/trunk@2808 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/samples/sieve.c b/samples/sieve.c index 6c6c4a923..cb6783c93 100644 --- a/samples/sieve.c +++ b/samples/sieve.c @@ -26,7 +26,7 @@ static unsigned char Sieve[COUNT]; /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/ @@ -35,7 +35,7 @@ static unsigned char Sieve[COUNT]; -int main (void) +int main (void) { /* Clock variable */ clock_t Ticks; @@ -45,6 +45,11 @@ int main (void) register unsigned I; register unsigned J; + /* Output a header */ + printf ("Sieve benchmark - calculating primes\n"); + printf ("between 2 and %u\n", COUNT); + printf ("Please wait patiently ...\n"); + /* Read the clock */ Ticks = clock();