getch in Eclipse IDE

This might sound a hella stupid question...
when I use getch() in Visual Studio, it works perfectly fine but when I use it in Eclipse ( MinGW ), for some reason, it stops working by not passing the line that says: int temp = getch();
I think it is worth the mention there are no compiling or runtime errors. It is just not the behavior that I expected.
Any idea of what be happening?
hmmm... It is not even working when I compile in MSYS. So it is not an Eclipse issue.
Does the fact that my machine is 32 bits might be causing this?
If you are using the getch() from conio.h, please DON'T! Use getline() and then parse the character yourself.

http://www.cplusplus.com/forum/articles/6046/
Are you trying to Keep the console open long enough to see your program's output?
http://www.cplusplus.com/forum/articles/7312/
Topic archived. No new replies allowed.