Record an egg ache for a long time and a bad place in C language

Source: Internet
Author: User

In the process of learning, found a sense of C language design is not very good place, that is, when the free memory failure. I caused the error because the dynamic memory is out of bounds, the compiler has to give the free () function error, It feels like a little unbearable. should be in the design of the first time to expose the problem to that crossed the place, otherwise it will make people inexplicable, difficult to find mistakes, for this waste time and energy.

The other is about the TXT file read problem, I learned a good, each time the operation, must remember, the current TXT file is what code, or else there is a mistake to let a person some touch the mind, completely affect the learning mood. Pay attention to a record.

Record an egg ache for a long time and a bad place in C language

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.