Sorry I know this has been posted before but the solutions to the other problems doesn't seem to work with this.
Code:
char 
readABchoice()
{         
       scanf( "%c", &input );
       getchar();
       
       if( input == 'A' || input == 'a' || input == 'B' || input == 'b' ){
           
       } 
       else{
       printf( "(A/a or B/b): " );
       }

       return input;      
}
it says that theres a conflicting type for 'readABchoice' i already have a function protocol for it. and input is a global variable that i've declared up above main. any help would be great thanks

Last edited by shabbir; 22Nov2006 at 22:02.. Reason: Code formating.