Lessons learned by beginners

Source: Internet
Author: User

Lessons learned by beginners

When I first went to college to study C language, I suffered a lot of losses when downloading the IDE and compiler. Although it was not a very profound problem, I decided to share it.

Some senior recommended me Clion as IDE, and some teachers recommended my code blocks as IDE.

I downloaded two files at the same time, installed them according to the Baidu tutorial, and edited them, but finally found that the program could not run.

Code blocks keeps popping up ItSeemsThat this file has not been built yet, Clion displays Error: Neither MinGW nor Cygwin is selected.

I have discussed with my friends and searched the internet. This process is very difficult and I think it will be a joke in the future.

Finally, we found that 1. We did not install the compiler, only IDE. This is one of the easiest mistakes for beginners.

2. We have not configured it. Next I will directly post a tutorial on how to configure it from the Internet.

1. code blocks

// Check whether settings-> compiler-> toolkhain executables-> linker for dynamin libs is the gcc compiler. If not, change it to gcc.

// Setting-> compiler and debugger select toolchain executable. Set the compiler path here, or click Auto Detect next to it.

// Set the setting menu, select compiler and debugger, and select Toolchain executable to see if the compiler path is correct.

2. clion

 

We can see that the mingw compiler can satisfy both.

In short, this is our first completely immature exploration, hoping to help new people.

Above.

This is my first contribution. I hope you will understand how to complete the configuration of CLION.

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.