Search:

Type: Posts; User: Sarah87

Search: Search took 0.01 seconds.

  1. Sorry, Current code is: #include...

    Sorry,

    Current code is:



    #include <stdio.h>
    #include <stdlib.h>
    #include <conio.h>
    #include <string.h>
  2. I understand what you mean, about how they won't...

    I understand what you mean, about how they won't match, because of the number there, but how do I go about fixing that? I continue using strcmp? What do I add to it? Sorry, I'm very confused now :(
  3. In an earlier post, I was told to replace what I...

    In an earlier post, I was told to replace what I had in my original code with a strcmp, which I did, and now you're telling me not to use the strcmp - I'm getting conflicting responses here...
  4. That did the trick as far as letting me input...

    That did the trick as far as letting me input text into command. But after I input text, eg Command: "I 6" ... nothing happens, I hit enter and it just stops. According to my program, I should be...
  5. Ok, thanks for the suggestions to fix my program....

    Ok, thanks for the suggestions to fix my program.
    Initialising i=0 solved the send/don't send error.
    I was particularly silly not to use the strcpy function, so thanks for pointing that out to me!...
  6. Simple text file editor - Having some problems - C program

    Hi there,

    I'm having some problems with my latest programming attempt.

    ----------------------------------------------------------------------------------------------------------------
    So you...
  7. Thanks for the help with those Adak, I was quite...

    Thanks for the help with those Adak, I was quite lost there. At last my program is finished and working perfectly! =D A BIG BIG thanks to all those who helped (you know who you are) I really do...
  8. Ok, I'm a little lost as to what to do next....

    Ok, I'm a little lost as to what to do next. Basically, I can now run my program - It comes up with the original board, asking me to play. I hit 'y' and it makes a new board with the wrong pattern...
  9. Excellent! That did the trick, thank you! Now the...

    Excellent! That did the trick, thank you! Now the program actually runs, asks me to play, after I enter 'y' - it creates another board, then stops =/ But progress at last. I'll have a go at fixing...
  10. Wow, progress (kinda) at last... I now have far...

    Wow, progress (kinda) at last... I now have far less errors.

    Here is my new code:



    #include <stdio.h>
    #include <string.h>

    void display_fctn (char b1[][21], char b2[][21]);
  11. Actually, if you want me to be honest... I posted...

    Actually, if you want me to be honest... I posted the problem in 2 discussion groups, so that I could get a range of responses in utter urgency of handing this assignment in (yes, it's already late)...
  12. Conway's Life - C Program - Errors have me stumped - Please help

    Hey guys, =) First year programing student here

    I'm having some trouble running a program I have written for the C Program "Conway's Life"
    Some help fixing my errors would be HUGELY appreciated....
Results 1 to 12 of 12