C What is the difference between creating a file and a project?

Updated on technology 2024-05-16
4 answers
  1. Anonymous users2024-02-10

    The names and uses of the various files in VC++ Stdio:

    workspace) is a workspace file, but other features are similar to DSP. Indicates files and other information in the workspace.

    developerstudio project): project file, text format, but don't manually modify it if you're not familiar with it.

    pre-compiled file) is a pre-compiled file that can speed up compilation, but the file size is very large.

    A parameter file of the project about the development environment. Information such as the location of the toolbar.

    The classwizard information file is actually the format of the ini file, which you can study if you are interested. Sometimes there is a problem with the classwizard, and manually modifying the clw file can solve the problem. If this file doesn't exist, draw a hint of whether to rebuild it every time you use ClassWizard.

    It is a compilation information file, and the error and warning information file (actually an html file) at compile time is generally of little use. There is an option in tools->options to control the generation of this file.

    help project) is a project that generates help files, which can be handled with the microsfot help compiler.

    Microsoft DevStudio Project) is an older version of the project file, and if you want to open this file, you will be prompted to convert to the new DSP format.

    It is used to browse project information, and this file is required if you use source brower. If you don't use this feature, you can remove the generate browse info file from the project options to speed up the compilation.

    It is an image information record file of the execution file, and this file is generally not needed unless you are very familiar with the underlying system.

    Program database) records some data and debugging information about the program, which may be useful when debugging.

    It is generated only when the dll is compiled, and some information in the dll file is recorded. It's generally not very useful.

    No compile browserThis file can be deleted when there is a problem with the autocomplete function. It will be automatically generated after build.

    Note: These files usually record auxiliary information such as compilation connection execution, and most of them can be deleted.

  2. Anonymous users2024-02-09

    You choose the MFC project, this is a VC++ program that uses Microsoft's basic classes, and you can make a very beautiful GUI (user interface).

    But if you don't even know basic VC++ programming, then it's better to start from scratch and learn the basic win32 program first.

  3. Anonymous users2024-02-08

    The project is the foundation, and the file is what you add to the project after you have selected it.

    A project is a collection of associated files. If you are new to C++, you should have only one file per project to complete simple functions (such as implementing simple calculations, input and output, etc.), but you should know that when you develop a project in the future, you will need a lot of functions not in one file"files"to accomplish tasks together.

    Therefore, in order to coordinate the efficient work of these files, the files are gathered together (it should be emphasized here that the files in the same project are all related) and described as projects. Of course, engineering in the true sense of the word is much broader, but that's enough for beginners.

    Features of the C language:

    There are only 32 keywords and 9 control statements in the C language, and the program is written freely, mainly represented by lowercase letters. It combines the basic structure and sentences of a high-level language with the practicality of a low-level language. The C language can manipulate bits, bytes, and addresses in the same way as assembly language, which are the most basic units of work of a computer.

    There are many operators, and the C operator covers a wide range, with a total of 34 operators. C treats parentheses, assignments, castings, etc., as operators. As a result, the operation types of C are extremely rich, and the types of expressions are diversified, and various operators can be used flexibly to achieve operations that are difficult to achieve in other high-level languages.

    The data types of C are abundant: integer, solid, character, array, pointer, struct, and common. It can be used to perform operations on various complex data types.

    And the concept of pointers was introduced to make the program more efficient. In addition, the C language has powerful graphics functions and supports a variety of displays and drivers. And the calculation function and logical judgment function are powerful.

  4. Anonymous users2024-02-07

    <>VS2017 select the Windows Desktop Wizard.

    The following is a fictitious disadvantage to the project name, the project file storage address.

    Click Next. <>

    Select the item you want to create from the drop-down list, the console and the desktop app.

    I'm the desktop poor rock family app that I selected, the empty project, and the <>

    Add the source file.

    Write **, and finally compile and run Zao Shen, f5 and ctrl+f5

Related questions
14 answers2024-05-16

I feel like what you said is not clear! It shouldn't take me more to create a C++ file, right? It's easy to create with Notepad or VC++! >>>More

14 answers2024-05-16

I've tested it for you. Because the file already exists, there is no need to create it. You can delete it by using the following **. >>>More

10 answers2024-05-16

vivo x7 phoneCreate a new desktop folder method: Press and hold any software icon on the desktop, wait for the software icon to enter the floating state, click the icon and drag it to the top of another icon that you want to merge into one folder, and release it to create a new folder. >>>More

5 answers2024-05-16

Dynamically create controls:

for (int i = 0; i < 10; i++)string strname = "textb" + >>>More

3 answers2024-05-16

MD5 is often used on forums and software releases, in order to ensure the correctness of the file, to prevent some people from stealing the program, adding some Trojans or tampering with the copyright, a set of verification system designed. Each file can be calculated with a fixed MD5 code using the MD5 validator. Software authors often calculate the MD5 code of their programs in advance and post them on the Internet. >>>More