When writing the c++ code in Visual Studio 2017,

Asked 2 years ago, Updated 2 years ago, 23 views

Can I check the blank project in the new project-windows wizard and add the source file...? Is it different from 2015? Is it okay not to use #include "stdafx.h" when starting the code?

c++

2022-09-22 18:53

1 Answers

It depends on the project whether you use it or not.

Usually, stdafx.h is used to declare mfc-related header files. That is, it is customary, not essential.

Asking the above question means that you are not aware of the use and behavior of the header file in language c.

Please study the subject again.


2022-09-22 18:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.