Jump to content
  • Advertisement
Sign in to follow this  
dadads

VS and DevC++

This topic is 4240 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I got both VS Express 2005 and DevC++ in my computer, and I recently noticed differences between both. e.g. Win32 in VS uses LPCWSTR, etc. So far, most of the tutorials / codes I see on the net are more compatible with DevC++, and this caused a bit of confusion when I try doing the examples on VS. Should I stick to VS or DevC++ ?

Share this post


Link to post
Share on other sites
Advertisement
I say Visual. IMO Visual is a MUCH better IDE. Lots of major features in it that kill Dev-CPP and it's Debugger is just awesome.

Also note, that this is coming from a person who used Dev-CPP for the longest time, and then swtiched to Visual to see how it was and I was actaully amazed with it.


Chad

Share this post


Link to post
Share on other sites
I'd say it comes down to personal preference. Go with what you like more. I like VC++ Express a lot more personally. About the LPCWSTR thing, you know you can switch it out of Unicode back to 'normal' char right? If not, alt-F7 -> Configuration Properties->General and change 'Character Set' to 'Not Set'. By default it is set to Unicode.

Share this post


Link to post
Share on other sites
Ok, thx for the opinion.
Maybe I should just use VC++ coz' it has more features and is probably more compatible with Microsoft libraries.

Btw, thx for the LPCWSTR thing you've just explained.
That was the only reason why I thought VC++ was annoying.

Share this post


Link to post
Share on other sites
But dont forget that only Visual thing in Visual c++ is the word 'Visual' in it's name :D But nevertheless, I also think that it has killer debbuger. Never seen anything like it.

Share this post


Link to post
Share on other sites
The difference you mentioned between DevC++ and VS is Unicode. Visual Studio 2005(and express edition apparently) have Unicode support turned on by default. To get an idea about Unicode take a look at this link:

http://www.jorendorff.com/articles/unicode/windows.html

Now, you can change the settings of Visual Studio so that Unicode is turned off. When you have your project opened click on Project and then click on ___ Properties where ___ is the name of the project. This brings up all of the properties for your project. THe main one you need to pay attention to is Configuration->General->Character Set. Set the character set to 'Not Set' for ASCII support.

My guess is that with time more and more tutorials will start to assume Visual C++ Express Edition. This is because for a long time the only free IDE you could get was DevC++. Along those lines, even earlier VC++ editions didn't use unicode by default. However, unicode support is getting more and more important so it would be good to get started on it soon.

Another difference you are probably referring to is the precompiled headers. You can turn these off as well, just look through the project properties.

Edit: didn't see that Dranith already covered unicode. My bad!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!