February 20th, 2012, 01:34 AM
Re: C++/C conversion to just C
Set a break point at
and step from there. The problem should show up after a couple of steps. Also...your formatting for the switch statement...seems rather odd to me. I would do something like:
Sure, it is more lines of code, but imagine each of the cases requiring 10 instructions. I think the way I have it above would be more clear. But, that is just a personal preference.
// accesses the functions
Finished = 1;
printf("Error in input\n\n");
Last edited by Alterah; February 20th, 2012 at 01:38 AM.
Click Here to Expand Forum to Full Width