thanx, that did it. i actually had to try getchar() though because for some
reason MSVC++ freaked when i tried getch(). (i found that suggestion in one
of my books on C).
>From: "Benjamin Wheeless" <ben...@ho...>
>To: dig...@ho..., dev...@so...
>Subject: Re: [Dev-C++] Re: MS problem
>Date: Fri, 12 Apr 2002 12:00:03 -0400
>
>Rather than using the system( "PAUSE" ) command, have you tried using the
>getch() function?
>
>Try that and see if it works, especially since you don't seem worried about
>portability and your focus is on DOS/Windows users.
>
>If getch() doesn't work, it may be because you have a '\n' somewhere in the
>code that is getting read into the getch() function call, so add a second
>getch() call and see if that helps.
>
>Ben
>
>Benjamin Wheeless
>Network Systems - Delta AirLines, Inc.
>Atlanta, Georgia - USA
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
|