Search:

Type: Posts; User: mcborn

Search: Search took 0.01 seconds.

  1. Thread: fstream, getch

    by mcborn
    Replies
    5
    Views
    2,643

    OK, want to make sure I understand this...

    OK, want to make sure I understand this correctly.

    So, basically, when using getch(), the F keys just return simple pair of decimal values. If I wanted to check to see if, for example, the F1 key...
  2. Thread: fstream, getch

    by mcborn
    Replies
    5
    Views
    2,643

    Wow prelude, you pretty much nailed exactly what...

    Wow prelude, you pretty much nailed exactly what I was looking for. I have much work to do now! I'll post if I encounter any problems, thanks a bunch!
  3. Thread: fstream, getch

    by mcborn
    Replies
    5
    Views
    2,643

    I want to grab a keystroke, write it to a char...

    I want to grab a keystroke, write it to a char variable, check if it equals F10, F11, or F12. If it is not these keys, write the char data to file and continue loop.

    I've already tried getch(),...
  4. Thread: while question

    by mcborn
    Replies
    4
    Views
    1,081

    If you're making program that utilizes a menu...

    If you're making program that utilizes a menu selection system, use a case switch. you can google a tutorial, but it goes something like this.



    switch (test) // where test is a declared int...
  5. Thread: fstream, getch

    by mcborn
    Replies
    5
    Views
    2,643

    fstream, getch

    Since I was unaware of the forums rules stating I can't ask for help for a own personal project of mine that which apparently violates forum rules, I need advice for getting key presses.

    First,...
  6. Replies
    1
    Views
    2,214

    fstream file I/O, getting keystrokes

    I'm a c programmer, and I just started a personal project of mine to get me in to c++. When I decided to do this, I knew that c doesn't really do strings too well, and there's not much I can do about...
Results 1 to 6 of 6