Search:

Type: Posts; User: matthew82

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    3,944

    Should I use scanf instead? or fgets or something...

    Should I use scanf instead? or fgets or something else? I have no idea.
  2. Replies
    18
    Views
    3,944

    I think I chose getch because it didn't require...

    I think I chose getch because it didn't require an enter press.
  3. Replies
    18
    Views
    3,944

    That must be why Meldreth added conio.h. EDIT:...

    That must be why Meldreth added conio.h.

    EDIT: Oh, hey Meldreth. :)
  4. Replies
    18
    Views
    3,944

    Thanks everyone. Thanks Elysia -- I see what you...

    Thanks everyone. Thanks Elysia -- I see what you mean about no need for checking key there.

    Here is the new code based on guesst's pseudocode:


    #include <stdio.h>

    int main()
    {
    int c;
  5. Replies
    18
    Views
    3,944

    I think I've cleared it up in this version... ...

    I think I've cleared it up in this version...


    #include <stdio.h>

    int a;
    int main()

    {
  6. Replies
    15
    Views
    3,161

    Try VEDIT? http://www.vedit.com/

    Try VEDIT?
    http://www.vedit.com/
  7. Replies
    18
    Views
    3,944

    Thanks so much. but I don't know how to have it...

    Thanks so much. but I don't know how to have it display "You do not have the key." I thought it would if you pressed b before getting the key.


    EDIT: oh I found that by putting "key = 1;" inside...
  8. Replies
    18
    Views
    3,944

    Changing a variable

    Hi. I'm trying to write a simple program where you need a key to open a door, and it requires you to get the key before opening the door. I'm getting some errors. This is what I have so far:


    ...
Results 1 to 8 of 8