Transferred from: http://www.maomao365.com/?p=673
Understanding the framework of other languages
Examples: Java Struts1, Struts2, Hibernate, Mybatis, Ibatis, Spring, and so on, use these frameworks to quickly develop stable applications, and in Java the functions of these frameworks mainly provide some condensed version functionality.
Think carefully:
The general structure of other languages?
Example: MVC common structure
Folder App_Data Content Controllers Models Scripts views
Configuration files Global.asax packages.config Web. config
--------------------------------------------
What are the frameworks for C language?
I think that the system in the C language provides all the library functions that can be called by the outside world, which is understood as an application framework.
Example: Stdio.h is one of the most basic C language IO application frameworks.
C Language general structure?
Common directory structure under Linux
Makefile
|
|–inc
| |–*.h
|
|–src
| |–*.c
|
|–apps
| |–*.c
The purpose of each catalog entry is as follows:
The. h file is stored in the INC directory.
The SRC directory holds. c files without the main function.
The. c file with the main function is stored in the Apps directory.
Makefile compile the source code.
Linux c Development common structure, framework