Using C++

Started by
33 comments, last by frob 10 years ago


The argument that C is not used is not why someone should not learn it.

No one made that argument.


The OP has obviously no knowledge of programming,

You were able to properly ascertain his knowledge of programming from less than 4 posts asking how to apply C++ to developing a game even after he says he understands the basics of the language?

Advertisement

Guys, this is way off topic. If you want to debate languages, or high-level vs low-level, go open a thread in the Lounge.

Meanwhile, let's bring this thread back around to discussing the OP's actual question.

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

KB Toys

If you haven't already, start with simple terminal apps to get the logic down. Tic-Tac-Toe and Guess The Number are real common to attempt. After you get the hang of making some simple console/terminal games like that you need to pick up a library like SDL, SFML, or Allegro and read tutorials for them and their documentation to get an understanding of them. Of course make some simple apps with the library of your choice in order to get the hang of using it. Then once you feel comfortable with C++ and the library tackle the list of games to make clones of in this article http://www.gamedev.net/page/resources/_/technical/game-programming/your-first-step-to-game-development-starts-here-r2976. Once you get done making those clones and making your own original ideas, you can move to learning OpenGL or DirectX and start dabbling in 3D. Be warned that this is a long road and will take a couple of years if not longer depending on how fast you pick up on things.

all past points are very good but one thing i instantly thought is and i know this may sound strange but bare with me if you haven't programmed be for don't jump straight into c++ for the one reason of most ide's i have come across don't show errors very well to a novice when you be come more proficient with programming and the c syntax then c++ ide's start to make seance when they throw weird errors e.g. linker errors.

a programming language i would maybe start on to get the bare bones basics of programming is something like c# this will still get you to understand the c syntax but in a smother way so i would recommend learning how to make variables, loops, outputting and conditional statements like "if(){}else{}" and "switch(){ case }" and then when you can easily build console apps in things like c# then move to c++. You would have to relearn slight bits but the core concepts will be the same between languages.

then when you get proficient at building programmes or mini console based games (which can still be graphical, think ascii art) then moving to ether a basic 2d graphical game with the windows form api or the likes of a 3d game engine like unity or some other game engine from there if you wanted you could start building your own engine.

but you need to remember you don't even need a game engine to make a game, but it will help you to think of how to start a 3d game without one when you have seen how you use a game engine .


Guys, this is way off topic. If you want to debate languages, or high-level vs low-level, go open a thread in the Lounge.

don't jump straight into c++ ... c# ... the c syntax ... think of how to start a 3d game

It seems the masses are uninterested in actually answering the original question, and prefer the tangent.

Closing.

This topic is closed to new replies.

Advertisement