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

  • SEARCH
  • Home
  • 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 6361165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:44:28+00:00 2026-05-24T23:44:28+00:00

I am so frustrated with the Microsoft C++ compiler (not Visual). I am really

  • 0

I am so frustrated with the Microsoft C++ compiler (not Visual). I am really annoyed at how it uses

int _tmain(

and

_TCHAR* argv[]

as well as many other things. I just want to use straight C++ like you would in GCC. Is there an alternative?

Thanks to all the responses. I was really just looking for a way of not using Microsoft Style code. This is what helped me –

  1. Remove #include "stdafx.h"
  2. Rename main method to –

int main (int argc, char* argv[])
{
return 0;
}

And it works!

  • 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-24T23:44:29+00:00Added an answer on May 24, 2026 at 11:44 pm

    You don’t have to use _tmain() and TCHAR if you do not want to. Just create an empty project, add an empty source file to it and start writing

    int main(int argc, char* argv[])
    {
    }
    

    On VC++ 2010 Express you can just compile and execute it straight away. I don’t remember if previous versions require that you set the project type.

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

Sidebar

Related Questions

I am very frustrated with how MD and IB seem to not work well
Im getting frustrated because of OpenDNS and other services (ie: roadrunner) that now always
I'm getting increasingly frustrated with Flex's Dictionary (which is really just an array with
I'm really frustrated with this one. A few weeks ago I got it working
I am really frustrated by all the Android apps in the market that look
I'm frustrated recently by all of the choices that Microsoft offers to develop a
I'm very frustrated. I have a website running on Visual Web Developer 2008 Express
I feel frustrated, because there does not seem to be any IDE that understands
I'm really frustrated after spending like three hours googling around to solve this problem!!
I'm getting really frustrated as I'm trying to get an array to my _Click-Event

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.