What is the project / program?

A real program (also can be said that software) often contain multiple functions, each function requires a few dozen lines or even thousands of lines, tens of thousands of lines of code to achieve, if we'll bring this code into a source file that will make people collapse, not only the source files open very slow, writing and maintaining code will become very difficult.

In the actual development, programmers will be categorized into a plurality of code source files. In addition to these thousands of lines of code, a program often have to include pictures, video, audio, control, library (it can be said Framework) and other resources, they are also one by one file.

In order to effectively manage these types of complex, large number of documents, we have reason to put them all into a directory (folder), and storage resources in this directory only to the current proceedings. IDE is actually doing, it would have created a special program for each directory, all files that will be used are concentrated to this directory, and they are convenient management, such as rename, delete files, edit documents.

The current program is equipped with special folder in the IDE also has a special title, called "Project", translates to "projects" or "project." In Visual  C ++  6.0, this is called a "project", and in Visual Studio, which is also called a "project", they are just the word "Project" in different translations of it, is actually a concept.

Project Type / Project Type

"Program" is a relatively broad term, it can be subdivided into many types, such as:

  • Some programs with no interface is completely "black", can only enter some characters or commands, called the console program (Console Application), such as cmd.exe under Windows, Linux  Terminal (Terminal) or under Mac OS .
  • Some programs with interface, looks very pretty, you can use the mouse to click, called GUI program (Graphical User Interface Program), such as QQ, Thunder, Chrome and so on.
  • Some does not occur alone, but as a part of another program, general users are hard to reach, for example, static library, dynamic libraries.


Different programs corresponding to different types of engineering (project type), you must select the correct project type can use the IDE to create a program we want. In other words, IDE includes a variety of project types, different types of projects will create different programs.

IDE different settings for each parameter on the different types of engineering nature; we can also create a blank project type, and then themselves to set various parameters (but generally do not do it).

Console program corresponding to the type of project as "Win32 Console Application (Win32 Console Application)", GUI program corresponding to the type of project as "Win32 program (Win32 Application)".

DOS console program is a product of the times, and it does not have complex functions, not beautiful interface, only to see some text, though boring boring, is not practical, but it is very simple, the interface is not interference, it is suitable for entry I strongly recommend beginners to learn from the console program. So we master the programming of more skilled, able to write hundreds of lines of code, and then slowly transition to the GUI program.

Guess you like

Origin www.cnblogs.com/HGNET/p/11751718.html