Please see my reply to someone with a similar problem:
g++/ncurses
I believe that will help.
This assumes you weren't just using ncurses for the "<press any key to continue>" functionality; if you were, just follow Ephraim's solution.
Also, if you <i>do</i> want ncurses, you may want to turn echo off and some other things (I haven't used ncurses in awhile, so I can't remember all the options... cbreak or something?).
Also, is getch() really unique to C, or just unique to ncurses?