I'm a university student taking a module in C programming. While I am enjoying the module, we have recently been set an assignment that has pushed me. I have to use .h files within my code to tie together 4 different questions.
This is what I have so far. Not much I know, but I've only just started. Each of the .h files that this code 'links' to has something akin to
printf("This program has the ability to do four tasks. "
"\n\nPlease pick the corresponding number related"
" to the task you wish to be done.\n\n"
"1. Sort elements stored on file by either name or abundance.\n"
"2. Find maxima from data on wavelengths and absorbances.\n"
"3. Root Finding\n"
"4. Element Database");
if (decision == 1)
printf("You have selected option 1");
if (decision == 2)
printf("You have selected option 2");
if (decision == 3)
printf("You have selected option 3");
if (decision == 4)
printf("You have selected option 4");
and that alone.
My problem arises when I try to build I get two errors, with Assessment 2 being the title of the piece.
make: *** [Assessment2] Error 1 Assessment 2
symbol(s) not found Assessment 2
unfortunately these both do not reference anywhere in particular that the error is to be found.
Please note I have used Eclipse before and it has worked. I also get a similar problem when I attempt to use xcode.
Any help would be very much appreciated.