Eclipse CDT cannot be input or output

Source: Internet
Author: User

I ran a simple C ++ program in the eclipse CDT mingw environment.Program, The console always does not work for no reason, no output, no input and response, directly show that the console has ended. In the same environment, the C language is completely normal.

My operating system is win7_64-bit. At the same time, vs2010 is installed on the machine, and VS can be used normally. After searching for it online for a long time, I did not get the result. Finally, I added the environment variable to run configurations, path = D:/mingw/bin, so that the standard console is normal again.

In my system environment variables, path is set normally. In the engineering properties of eclisep, the environment variable path also contains D:/mingw/bin.
The company has a computer, win7_32-bit. It seems to be normal if vs is not installed.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.