C-Free problem set (not updated)

xiaoxiao2021-03-06  39

common problem

When writing programs in C-Free, most of the functional press is grayed and cannot be used. What should I do? Is C-free with a function of compiling into a DLL? Can I use other function libraries in C-FREE? Why did the build programs always have errors when I use cono.h? How do I upgrade the C-Free's compiler?

When writing programs in C-Free, most of the functional press is grayed and cannot be used. What should I do? 3.5 and after the later version does not exist. 3.5 Previous versions The source code that is editing is only saved as a file to be compiled, run, and debug. So only the code is saved into a C / C file, most of the buttons can be used. The suffix name of the C / C file is generally .c or .cpp.

Is C-free with a function of compiling into a DLL? With this feature, please refer to the "Engineering Templates" and "DLL and Use" chapters included in the help documentation included with the C-Free software.

Can I use other function libraries in C-FREE? Other libraries can be used, need to add a directory of the library to the build directory before use (generally need to be added to the "Include Files" directory). Please refer to the "Build Directory Settings" section in the help document included with the C-Free software.

Why did the build programs always have errors when I use cono.h?

Use conio.H a little special, link error occurs when building a program, such as undefined reference to 'clrscr' Because, all functions declared in all conoe.h, the implementation of these functions is not in the connection library, so link will appear error. But the implementation of these functions can be found in the file conio.c. Workaround: (1) Add the following code in your source code file (below #include ): #include (2) If you have established a project, you can file the file Conio.c is added to the project.

How do I upgrade the C-Free's compiler? In general, there is no need to upgrade the compiler. Unless you need some new features in the C / C language. You can download the new version of the MingW compiler here. After downloading, you only need to delete the path in the three build directory (include Files, Library Files, and Executable Files), add the include, lib, bin directory to the three build directories. The specific settings are as follows (assuming that the MingW installation directory is d: / mingw):

转载请注明原文地址:https://www.9cbs.com/read-64698.html

New Post(0)