Summary of MFC "Missing function title (whether it is an old-fashioned form table)"

Source: Internet
Author: User

This first occurs when you want to locate the error in the program, and if there is no problem, look at the declaration and definition of the class carefully. It is possible that the corresponding class is not added later;

The second reason is that you may have forgotten to add the header file "StdAfx", if so you can add #include "stdafx" try.

The third reason is that a function declared in a class may be defined without the addition of a class name. Therefore, you must add the class name when you declare a function definition in a class, or you will get this type of error

The fourth reason is that there may be some superfluous symbols, such as "/" or "more" in the program, which can occur. In the author's program, there have been similar problems, carefully examined for a long time to find, vs hints that the wrong place is sometimes inconsistent with the real error.

Summary of MFC "Missing function title (whether it is an old-fashioned form table)"

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.