Using the GCC compiler in Ubuntu: no file or directory

Source: Internet
Author: User


(1) When we compile the code, we usually encounter the following error


But we do see that my files are there!

The question is what that:

A. Your own directory is really wrong, this only need to modify the directory can be, not to say;

B. One of the most covert is the problem that occurs when the file is named, as follows.

Above this is the normal naming, when the mouse on the suffix behind the time, is close to;


And you see, this is the suffix you just didn't find. There is a space behind it! Nima is too hidden! The problem has been found to remove the space just fine!

Ok! Can look at the effect!



To explain the problem more effectively! We put the top two test files in the Windows directory, and then we can see why! OK hope to help you!


Using the GCC compiler in Ubuntu: no file or directory

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.