Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between empty project and win32 console project in Visual Studio 2005

When I use GCC with no IDE, I just need to create *.h file and *.cpp files.

But in VS2005, there are two ways to create an empty project, first way is to use "general -> Empty Project", second way is "Win32 -> Win32 console project ->next ->empty project".

The official example recommends the second way while I preffer the first way.

Then what's the differeces between them?

In win32 console project, "subsystem" is "console", "Character Set" is "unicode". But in empty project, "subsystem" is "NoSet", "Character Set" is "multi bytes". What does this mean?

like image 248
jia hilegass Avatar asked Jun 08 '26 02:06

jia hilegass


1 Answers

An "Empty project" is just that: Empty. It has no specific settings at all, you need to set things like that yourself. For an empty "Console project" the IDE sets up the project with nice flags and settings for a console project, but doesn't add any files.

If you want a console program, then you most certainly should use the console project type.

like image 93
Some programmer dude Avatar answered Jun 10 '26 17:06

Some programmer dude