Original link: http://www.cplusplus.com/info/faq.html
C FAQ
This part includes common problems about C languages. If you have questions about a specific programming problem, please go to the forum.
◎ What is C ? C is a programming language. Because it is derived from the C language, it is "C's advanced". For more introductory text, see the C Introduction Chapter.
◎ Do you have other languages for learning C ? Do not. In terms of expression, C is a simple, clear language. Indeed, a C code is more confused than some other languages, because there is a lot of special characters ({} [] * &!, ...). But once they understand their role, they will be more clear than other languages.
◎ How do I learn C ? There are many ways to learn C , depending on your time, ability, and learning methods, you can choose to participate in a training course or try a book, guide, and self-study of various information. http://www.cplusplus.com/doc/> Document chapter contains information that can help you learn this language.
◎ What is OOP: Object-oriented programming? (Translator Note: The original text is POO, suspected is a pen error) This is a programming model. It uses a perspective to program the components in the program as "objects that have its own feature" to assist or replace the conventional, without "object" concept, only process and variables.
◎ What is ANSI-C ? ANSI-C is the name of the ANSI / ISO international standard of C language. Follow this standard, your code can be easily transplanted by a system or interface that supports this standard.
◎ How do I know if my compiler supports the ANSI-C standard? Logically, a compiler that fully supports ANSI-C standards must be published than this standard - November 1997 - update. Of course, there are also many old compilers to support the "famous" regulations in almost all standards (Well-KNown Criteria). If you support your compiler Support Bool, Using Namespace, and Template keywords, you can use a program like this:
#include
Using namespace std;
Template
Bool Ansisupported (T x) {Return True;}
Int main () {
IF (ANSISUPPORTED (1)) cout << "ANSI OK";
Return 0;
}
◎ How do I write a Windows program? You need a compiler that can compile, link Windows code, and libraries that are necessary for the Windows Environment Development program and contain files.
◎ What is Visual C ? What is Visual (visual) programming? Visual C is a C compiler with an integrated environment of Microsoft. It contains tools that simplify the development of powerful programs and required library files. Its method of use is a method called "visualization programming". There are also some other companies to develop, have their own tools and libraries development environment, such as Borland C , Visual Age, and so on ...