From fc6c0a461581207ab296e76d56913b58c42c1f75 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 21 Dec 2003 12:51:59 +0000 Subject: [PATCH] Print a banner git-svn-id: svn://svn.cc65.org/cc65/trunk@2808 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- samples/sieve.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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(); -- 2.39.5