Search:

Type: Posts; User: hmanners

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    2,859

    Ah, I love you man. Program works perfectly now. ...

    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...
  2. Replies
    18
    Views
    2,859

    int main() { printf(" Calculation...

    int main()
    {

    printf(" Calculation Engine\n Ready...\n\n");
    char buf[BUFSIZ];
    char *p;


    while (1) {
  3. Replies
    18
    Views
    2,859

    Ahh, okay thanks guys. Goto commands gone. I've...

    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...
  4. Replies
    18
    Views
    2,859

    printf("\n\n\nWould you like to perform another...

    printf("\n\n\nWould you like to perform another operation? (Y/N): ");


    /* Repetition Station */
    rep:


    scanf("%c", &response );
    if ( response == 'y' || response ==...
  5. Replies
    18
    Views
    2,859

    Ah, fantastic. I have it working now, all good,...

    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...
  6. Replies
    18
    Views
    2,859

    Ah, I see. Hmm...I've read up on strings,...

    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...
  7. Replies
    18
    Views
    2,859

    Ahh, fantastic, thank you very much. :)

    Ahh, fantastic, thank you very much. :)
  8. Replies
    18
    Views
    2,859

    Using char arrays in branching statements

    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...
Results 1 to 8 of 8