943,917 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 631
  • C++ RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Mar 17th, 2009
0

Re: IDE in C++ - How to?

MFC has about a year's learning curve to learn it well, but you can get a basic program going in just a day or so. I assume OpenGL and wxWidgets is several months too. In all cases you need a pretty firm grasp of c++ fundamentals.

You could use pure win32 api functions -- here's a tutorial.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,953 posts
since Aug 2005
Mar 17th, 2009
0

Re: IDE in C++ - How to?

MFC has about a year's learning curve to learn it well, but you can get a basic program going in just a day or so. I assume OpenGL and wxWidgets is several months too. In all cases you need a pretty firm grasp of c++ fundamentals.

You could use pure win32 api functions -- here's a tutorial.
Yes agree ! I still learning the MFC. and win32 learning gets even more time.

Anyway I got a new idea , what about using SDL ?
http://www.libsdl.org/

one of my friend make a CAD program in months using that library.
unlike win32 or MFC or OpenGL that SDL is easy and cross compatiable across many OSes.

Just an idea , just take a look at SDL too.
Reputation Points: 86
Solved Threads: 43
Posting Pro
NicAx64 is offline Offline
532 posts
since Mar 2009
Mar 17th, 2009
1

Re: IDE in C++ - How to?

This is a straightforward program to write with basic WinAPI functions. No MFC (that would be a waste of time unless you know it already) and certainly no OpenGL!
You can either use GDI or the newerGDI+.
Reputation Points: 163
Solved Threads: 91
Posting Pro in Training
nucleon is offline Offline
476 posts
since Oct 2008
Mar 17th, 2009
0

Re: IDE in C++ - How to?

OpenGL is supported on almost all platforms as well, and there is a utility library (GLUT) which is built on top of OpenGL that is pretty easy to use, and handles windows and messaging, etc. in a cross-platform library. OpenGL is nice in that it is a standard that is already built into most platforms, so it is stable and you probably won't have to deal with a 3rd party library.
That being said, it really depends on what the requirements are for the project. Depending on a 3rd party library may be fine for what you are planning.

Thanx,
Sean
Reputation Points: 13
Solved Threads: 6
Light Poster
seanhunt is offline Offline
40 posts
since Oct 2008
Mar 17th, 2009
1

Re: IDE in C++ - How to?

Ah, I just noticed a bit on the SDL site; the video portion is implemented via OpenGL ;P

The GLUT (openGL Utility Toolkit) library simplifies window management, and drawing within the window, mouse input, etc. One of the other things about SDL is that it looks like it contains you don't need, such as audio.
Reputation Points: 13
Solved Threads: 6
Light Poster
seanhunt is offline Offline
40 posts
since Oct 2008
Mar 17th, 2009
0

Re: IDE in C++ - How to?

It sounds like GLUT may be easier than GDI(+).
Reputation Points: 163
Solved Threads: 91
Posting Pro in Training
nucleon is offline Offline
476 posts
since Oct 2008
Mar 17th, 2009
0

Re: IDE in C++ - How to?

different ppl knows different types of graphics libraries and how to use them.
>>
For the windows GUI professional's they can see it's easy to slove this problem using win32 API or MFC.

>>
For the game programmers , they can think this is easy easy with OpenGL.

>>
for a open source person , they can think this is easy with the SDL.

This is the way those Greek ppl looking at a problem. Let's english please.
hmm , so I cannot say this will be easy for you. Just take a look at all and select your choice. But my advice is learning win32 , MFC or OpenGL got around at least 3 months ( assuming that you're very smart). So use a simple library. No matter it's third party or not.
finally it's up to you to choose.
Reputation Points: 86
Solved Threads: 43
Posting Pro
NicAx64 is offline Offline
532 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Resizing created screen shot
Next Thread in C++ Forum Timeline: MFC help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC