Choosing a C++ API
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Choosing a C++ API

  1. #1
    Join Date
    Nov 2011
    Posts
    0

    Choosing a C++ API

    Background:
    Hey, I'm sort of a beginner at programming, I have a been programming for a couple of years in Flash using AS3 and would like to move onto something a bit bigger. Before/during my AS3 Era I gave VB.net a little go, and I am then followed Nick Gravelyns tile engine tutorial in C# using XNA framework. I have heard that all the big games use c++ and am interested in trying to learn this.

    Actual Question:
    So this leads me to this: What is a good c++ API for a beginner (at c++), which can do 2D, but 3D as well (for later, when I get better), is widely used and has a big community? while using c#, XNA Game Studio was perfect, is there something equivalent in c++???

    Thanks in advance.

  2. #2
    Join Date
    Apr 1999
    Posts
    27,424

    Re: Choosing a C++ API

    Quote Originally Posted by hvince95 View Post
    Background:
    Hey, I'm sort of a beginner at programming, I have a been programming for a couple of years in Flash using AS3 and would like to move onto something a bit bigger. Before/during my AS3 Era I gave VB.net a little go, and I am then followed Nick Gravelyns tile engine tutorial in C# using XNA framework. I have heard that all the big games use c++ and am interested in trying to learn this.

    Actual Question:
    So this leads me to this: What is a good c++ API for a beginner (at c++), which can do 2D, but 3D as well (for later, when I get better), is widely used and has a big community? while using c#, XNA Game Studio was perfect, is there something equivalent in c++???

    Thanks in advance.
    Honestly, I think you should learn the C++ language first before jumping into graphics libraries, at least learn it well enough to be competent.

    The big mistakes I see are beginners of C++ trying to do "cool things" with C++ before they learn the language properly. What ends up happening is that they're bogged down in the complexities of pointers, functions, etc. and at the same time, trying to use libraries that assume you know the C++ language, at least at the intermediate level.

    Regards,

    Paul McKenzie

  3. #3
    Join Date
    Jul 2002
    Posts
    2,512

    Re: Choosing a C++ API

    Agree with Paul McKenzie, if you want to learn C++, just start from simple console applications.
    Regarding game programming in C++, you need DirectX or OpenGL. The main difference between them is that OpenGL is cross-platform, and DirectX is only for Windows.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center