Thread: Wanna Learn...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    8

    Question Wanna Learn...

    Hey Everyone..... i've just finished learning c / c++. i want to progress into programming 4 windows. the problem is that i have no idea what should i learn:
    1. MFC
    2. Win32API
    3. OpenGL

    All i've got is the names but i don't know what's behind them...

    Thanx...
    Timer

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    317
    1.MFC a set of wrapper classes, which puts a little bit of cushion between you and the API. There have been discussions on this before, just search for WIN32 vs MFC. (here it is: http://www.cprogramming.com/cboard/s...3&pagenumber=1)

    2.WIN32API The actual interface between you(the programmer) and windows OS. This is where you create windows directly and handle the messages, ect. No cushion, just down and dirty windows programming.

    3. OPENGL A language geared towards game development adn any kind of graphics application( I may be wrong here, but I believe its used in conjunction with either of the options above).


    What to learn, depends on what you want to do.
    Last edited by Traveller; 07-14-2002 at 08:19 AM.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    8
    what about DirectX?

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    317
    DirectX is a set of interfaces which enable you to deal with the available hardware on the computer without having to specifically deal with each individual card. It gives you device independence and yet still allows you to interact directly with the hardware.

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    To make a windows program:
    Win32 API or MFC

    To make a game/Hardware accelerated animation:
    DirectX + one of above, or OpenGL + one of the above

    OpenGL also has a library called GLUT that abstracts the windows stuff so you don't have to know Win32 API or MFC.

  6. #6
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    Your original question was about programming for windows specifically and not games so throw out DirectX and OpenGL. Win32 API or MFC is your choice. My preference is Win32 API and the best book to learn from is Petzold.

  7. #7
    Registered User
    Join Date
    Jul 2002
    Posts
    8
    o.k... so OpenGL and DirectX are used in order to control the graphics, but can i write a whole program in OpenGL? like 3Dsnake? or should i first learn Win32API / MFC and then i control extra graphics with DirectX and OpenGL?

    Anyway, i've decided on Win32Api...:-)....

    Thanx Everyone!

  8. #8
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Underestanding the basic API will help you later, go with that before playing with class libraries etc.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  9. #9
    Unregistered
    Guest
    Anyone Has a good E-book or somthing like that? maybe a good site? if not i'll buy a book....:-)....

  10. #10
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    OpenGL and DirectX are more specific API's than the Win32 API. OGL and DX work with windows, not in lieu of.

  11. #11
    Registered User
    Join Date
    Jul 2002
    Posts
    8
    i've opened a new thread but anyway, which is better? Win32Api or MFC?

  12. #12
    Registered User
    Join Date
    Jul 2002
    Posts
    36
    None is "better", I would say. It's a matter of taste which u use. And ur second Thread was kinda unneccesary
    "I don't know with what weapons World War III will be fought... but World War IV will be fought with sticks and stones." - Albert Einstein

  13. #13
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    ... and kind of against the rules, and if I was feeling nasty I would have deleted it! In general, try to keep related topics in the same thread. If people keep creating new threads, other threads tend to dissappear off the bottom of the first page and, sad but true, many people seldom bother to go beyond the first page.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how long to learn c programming
    By cmay in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 05-13-2009, 12:55 AM
  2. What do I learn now?
    By Lorgon Jortle in forum C++ Programming
    Replies: 14
    Last Post: 03-14-2009, 06:44 PM
  3. suggestions please! how do i learn OS / Languages?
    By nchauhan in forum C++ Programming
    Replies: 8
    Last Post: 08-06-2003, 11:17 AM
  4. wanna learn - pls help
    By therealjdj in forum C++ Programming
    Replies: 2
    Last Post: 07-23-2002, 03:49 AM
  5. Witch to learn first?
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 06-17-2002, 12:06 AM