Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1030755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:45:02+00:00 2026-05-16T12:45:02+00:00

Yes, it’s a noob question… I have been using Dev-C++ for all my projects

  • 0

Yes, it’s a noob question…

I have been using Dev-C++ for all my projects so far, but it is incredibly outdated, and so where the libraries. So I opened up my copy of Visual C++ and copied the code. When I compile, a million errors pop up, as if every second line of my code is shit. I would hate to start the project again from scratch.

Question: Why is it that Dev-C++ and VC++ compile differently??? I’ve heard they use different compilers, but its still C++. The first error I looked at was an invalid comparison between a const char* and a std::string.

Anyway, is there any way to make VC++ less strict on programming, as is Dev-C++. Or are there a few major differences between Dec-C++ and VC++ compilers that I should know about.

Most of the errors seem to be std::string related, or LPCWSTR (i can fix that myself).

Sorry about this very broad and useless topic, I’m knew.

-Alex

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T12:45:03+00:00Added an answer on May 16, 2026 at 12:45 pm

    This will not answer everything, but it might help.

    By default, VC++ uses unicode while MinGW (on which DevCpp is based I believe) uses ansi.

    This might explain your issues regarding strings: you’re basically passing char* strings where most of the functions require something like wchar*.

    I suggest that either you fix your code so it becomes unicode compliant, or that you undefine the UNICODE macro in your VC++ project, if unicode is not required.

    As you stated, your old code was C++ and the code is C++ as well, so there shouldn’t be that much work… as long as you don’t rely on compiler specific behaviors.

    Could you give us some samples of things that go terribly wrong ? We might be able to help more accurately.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yes, I know this question has been asked before, but I can't find an
Yes, I know this question has been asked a lot of times, but I
Yes, I'm aware that this question has already been post, but ... I'm looking
Yes, I have seen this question, but I am still finding myself confused: How
Yes, I have already asked this question, but the problem is much more specific.
Yes, I have searched and tried many techniques, but nothing seems to work. Here
Yes, yes, I've weighed using an xml parser instead of regular expressions, but this
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
Yes, I have googled this question and even referred to my textbook (PHP by
Yes, this sounds like a simple question, and it probably is. But when i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.