I have tried to attempt 10 challenges from a book I am reading (obviously a c coding book (= )
But each time i have tried one I fail... For some reason, to my knowledge I have done exactly what the book shows me to do. I have attempted to go over my latest attempt (Create a program that produces prime numbers). After several attempts my program actually compiles, but of course it doesn't do anything, except count and for some reason it makes my screen flicker. My first question is, what am I doing wrong? And second question is how can anyone stand going over a program over and over again and not seeing any result?
My code is as follows, it is very basic:

Code:
#include <stdio.h>

int[/COLOR] main(void)
 {
int test_number; 		/* This variable shall be tested whether or not it is prime, although at this point it does not seem to want to */
int tester;		
 test_number = 3;
 tester = 2;

  while (1 == 1) 
    {

 	 if ((test_number % tester == 0) && (test_number != tester)) 
		{
		   test_number = test_number + 1;
		    tester = 2;
		    continue;
		}
	
	
	
	 else if ((test_number % tester != 0) && (test_number != tester))
		{
		    tester = tester + 1;
		    continue;
		}



	 else
		{
		   printf("%d is prime.\n", test_number);
		    test_number = test_number + 1;
		    tester = tester + 1;
		    continue;
		}
    }

 return 0;

}
Also if anyone can recommend a tutorial that they know for certain is up to date and all code in it is correct PLEASE let me know, I have given up on trying to learn anything from the book I have and at this time I can't run out and get another one )=
I see there is a sticky post, but I'm wondering if you can recommend a tutorial that you started out on and didn't come across later.

Now I must get some sleep (= 4 a.m. here (=

Thanks for any help.