Resolves the C + + code in eclipse to display the symbol & #39;std& #39; Could not being resolved problem

Source: Internet
Author: User

The first time I wrote C + + code in Eclipse, I wrote a simple Hello world program, not yet waiting for me to compile. All sorts of errors were reported, but the code was so simple. How could there be so many mistakes. So I did not bother. After the compilation is executed, it can output normally!!! Hello World!!!, but I still have a lot of red forks in my code, and I put the mouse on it: Symbol ' std ' could not being resolved this information.

So the question came. How to solve?


Method: After writing the library function, save it immediately. Then the code will not be able to error.

Like:--> first write # include <iostream>

-Save

-and then write the following code (only if the correct is not an error)

Resolves the C + + code in eclipse to display the symbol & #39;std& #39; Could not being resolved problem

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.