hi anyone see anything wrong with this?
i keep getting these errors. Do i need to define prototypes or something?
All i want to do is get a random quote when i call that function. When i call it i want it to print out a quote.
warning C4013: 'get' undefined; assuming extern returning int
error C2371: 'get' : redefinition; different basic types
Code:void get(void) { int val; val=rand()%4; switch(val) { case 0: printf( "Hello!\n " ); break; case 1: printf( "How Are YOU!\n " ); break; case 2: printf( "abcdefg\n" ); break; case 3: printf( "hey there\n" ); break; case 4: printf( "What!\n" ); break; } }