[Dev-C++] Compiler and Linker Output
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Mitchell, T. (HNA) <Tam...@hj...> - 2001-02-26 19:38:58
|
I believe this answer has circulated once but will someone respond again.
My mailbox fills up quickly so I had to delete the inquiry.
When I compile and run my program I get what seems to be an error message
that indicates undefined references to instructions.
Here are snippets of my code that refer to instructions (only)
void instructions(void); /* prototype for instructions */
instructions(); /* display the menu */
printf("? ");
scanf("%d", &choice);
switch(choice)
default:
printf("Invalid choice. \n");
instructions();
break;
/* Print instructions */
void instructions (void)
{
printf ("enter your choice: \n);
}
I can't see the error can any one help?
Thanks
Tamra Y. Mitchell
Heinz North America
Operating Systems Analyst
(412) 237-5232 Work
(412) 996-9078 Cell Phone
|