10 Replies - 4991 Views - Last Post: 12 December 2010 - 12:17 PM Rate Topic: -----

#1 programmerHTML  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 10-December 10

What is the best compiler for C, C + + to win32 API

Posted 10 December 2010 - 06:06 PM

My friends

What is the best compiler for C, C + + to win32 API ?
Is This A Good Question/Topic? 0
  • +

Replies To: What is the best compiler for C, C + + to win32 API

#2 jimblumberg  Icon User is online

  • member icon


Reputation: 4013
  • View blog
  • Posts: 12,393
  • Joined: 25-December 09

Re: What is the best compiler for C, C + + to win32 API

Posted 10 December 2010 - 06:18 PM

Best at what, being a boat anchor? The "best" anything is very subjective. What I might think is the best you may hate with a passion.

But since you are interested in programming for Win32 you might want to look for a product produced by the producer of the Win32 API.

Edit:Try this link: Visual C.

And like I said the "best" is very subjective, Many people love this compiler, I on the other hand think it is one of the worst.

Jim.

This post has been edited by jimblumberg: 10 December 2010 - 06:26 PM

Was This Post Helpful? 2
  • +
  • -

#3 Aphex19  Icon User is offline

  • Born again Pastafarian.
  • member icon

Reputation: 614
  • View blog
  • Posts: 1,873
  • Joined: 02-August 09

Re: What is the best compiler for C, C + + to win32 API

Posted 10 December 2010 - 07:10 PM

Microsofts Visual C++ compiler has always served me well.
Was This Post Helpful? 0
  • +
  • -

#4 programmerHTML  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 10-December 10

Re: What is the best compiler for C, C + + to win32 API

Posted 11 December 2010 - 10:50 AM

Thanks
One last question.
Why Visual C _tWinMain (
failure
WinMain (

Why "_t" before WinMain (
Was This Post Helpful? 0
  • +
  • -

#5 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: What is the best compiler for C, C + + to win32 API

Posted 11 December 2010 - 10:58 AM

*
POPULAR

Quote

Why "_t" before WinMain
There's two possible entry points. WinMain and wWinMain. Which one you use depends on whether you are creating an ANSI or Unicode build of your program. To allow programmers to choose between the two, the Windows API was designed so that functions, types, etc. give one interface but vary behind the scenes.

_tWinMain resolves to WinMain and wWinMain behind the scenes. Which one depends on whether you choose Unicode or ANSI. The same is true for something like MessageBox. It's a function, but behind the scenes it resolves to MessageBoxA (for ANSI) or MessageBoxW(for Unicode).
Was This Post Helpful? 5
  • +
  • -

#6 Alex6788  Icon User is offline

  • kitties == adorable


Reputation: 144
  • View blog
  • Posts: 1,667
  • Joined: 15-July 10

Re: What is the best compiler for C, C + + to win32 API

Posted 11 December 2010 - 11:04 AM

View PostAphex19, on 10 December 2010 - 08:10 PM, said:

Microsofts Visual C++ compiler has always served me well.

I'm with Aphex19, I've always used it and in my opinion it's the best compiler.

Plus the express edition is free.

This post has been edited by Alex6788: 11 December 2010 - 11:05 AM

Was This Post Helpful? 0
  • +
  • -

#7 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 0
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: What is the best compiler for C, C + + to win32 API

Posted 11 December 2010 - 11:27 AM

I've almost always used the Visual C++ IDE to make my games and code other stuff. Can't see much wrong with it. :)
Was This Post Helpful? 0
  • +
  • -

#8 0xDEADBEEF  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 11-December 10

Re: What is the best compiler for C, C + + to win32 API

Posted 11 December 2010 - 11:37 AM

Microsoft Visual C++, or MinGW.
Was This Post Helpful? 0
  • +
  • -

#9 programmerHTML  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 10-December 10

Re: What is the best compiler for C, C + + to win32 API

Posted 11 December 2010 - 04:05 PM

Thanks Oler1s
I'll save your text to not forget.
Was This Post Helpful? 0
  • +
  • -

#10 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: What is the best compiler for C, C + + to win32 API

Posted 12 December 2010 - 10:05 AM

Well for an "out of the box" answer:

For strict Win32 development I really like PellesC. It is a C compiler (not C++) however the Win32 API is a C API and so if you are not going to be using a C++ framework nothing is really lost by sticking to strictly C.

Once of the best things about PellesC for Win32 programming is the online documentation which has a plethora of windows win32 samples the actually form a little tutorial.
Was This Post Helpful? 0
  • +
  • -

#11 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 0
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: What is the best compiler for C, C + + to win32 API

Posted 12 December 2010 - 12:17 PM

I forgot to mention NetBeans C++ IDE that I used exclusively on Linux and sometimes on Windows. For me it's the next best thing to Visual studio. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1