Ah, I love you man. Program works perfectly now.
Thanks very much for all of your help, you've been very patient and polite with my idiocity. I'll definately keep coding, although it's back to...
Type: Posts; User: hmanners
Ah, I love you man. Program works perfectly now.
Thanks very much for all of your help, you've been very patient and polite with my idiocity. I'll definately keep coding, although it's back to...
int main()
{
printf(" Calculation Engine\n Ready...\n\n");
char buf[BUFSIZ];
char *p;
while (1) {
Ahh, okay thanks guys. Goto commands gone. I've implemented the while loop, works great, but only for the if branch 'directory', which prints the command inputs for the different functions. But when...
printf("\n\n\nWould you like to perform another operation? (Y/N): ");
/* Repetition Station */
rep:
scanf("%c", &response );
if ( response == 'y' || response ==...
Ah, fantastic. I have it working now, all good, Thanks so much for your help. :D
One more thing. I used goto commands for the [would you like to perform another operation y/n?] prompt, so that...
Ah, I see.
Hmm...I've read up on strings, and I'm understanding how to rid myself of the extra '\n', but I'm not clear on any way to instruct the program to say 'When this word is input, do...
Ahh, fantastic, thank you very much. :)
Evening, very early in the morning (04:45) actually. I'm very new to C, self taught using online tutorials, and I'm trying to create a small, extremely simple program to run equations for me so that...