Why does Visual Studio make a new folder when I create my .cpp file?
-
Let's say that I make a new project called Welcome Program. Okay Visual Studio creates the project and places that in a new folder called Welcome Program. Next, I create a source code file and I call that WelcomeProgram.cpp. Now here is where I notice that instead of placing that source code file in the main Welcome Program folder that Visual Studio just created, it automatically creates another new folder inside the Welcome Program folder, and it also calls it Welcome Program. I'm wondering why Visual Studio does this? Is it better organized this way? Is there a way to tell Visual Studio not to create another folder, but rather place my source code in the main folder? I'd like to know...even though I will probably not change it.
-
Let's say that I make a new project called Welcome Program. Okay Visual Studio creates the project and places that in a new folder called Welcome Program. Next, I create a source code file and I call that WelcomeProgram.cpp. Now here is where I notice that instead of placing that source code file in the main Welcome Program folder that Visual Studio just created, it automatically creates another new folder inside the Welcome Program folder, and it also calls it Welcome Program. I'm wondering why Visual Studio does this? Is it better organized this way? Is there a way to tell Visual Studio not to create another folder, but rather place my source code in the main folder? I'd like to know...even though I will probably not change it.
-
The first folder contains the files associated with the Solution, and below that are folders for each Project in the Solution.
Okay. Thank You.