Hello! Where To Start C++

Started by
17 comments, last by Elit3d 8 years, 7 months ago

hi guys, i am new on this site and i have some question for youu.

I have learned c# for 2 year at high school but we just learned basics for example the last thing i have learned is overload etc. and database

so i dont have an idea about graphics , sfml etc.

I have just learned sytanxes on c++, I have to start from somewhere but i dont know how to do it.

what should i learn before 2d programming ?

which library do you prefer on 2d programming ?

which way should i follow to learn game programming ?

i just need to know where to start and a Master.

Thanks for help, sorry for bad english

Advertisement

If you're already comfortable with C# then you may want to look at learning MonoGame or SFML.Net instead of switching langauges.

If your interest really is in C++ then you may want to check out this SO post:

http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list

As for when to learn 2D programming, opinions vary, but if you're already decent with some language then just pick up a 2D library and start going through its tutorials. You'll run into problems during this, but you can ask for help and keep on learning. Once you're comfortable with a 2D library then you can start to make simple games like Pong, Breakout, and Asteroids in order to learn progressively about game development in general.

void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

SFML.Net is very good stuff, the c++ version is good too but it would be unnecessary to learn a whole new language. Stick with C#. You can use SFML to make a game, however you'd then not have the level design tools that you will probably need. Therefore I suggest using Unity. You can script unity in c# and of course use the editor for making your game levels. Also Unity has a nice OOP component based design that will probably teach you good programming habits.

There are lots of learning resources for unity including the learn page on there site, and hundreds of books.

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

Thanks for your comments, you guys really help me but

Why i want to learn c++ ?

once i spoke with a programmer who is lead programmer in io interactive he works on hitman

he said " it's not important if you know a language very well it's all about time, learn c++ ,give yourself a deadline , make a pacman game if you can do it on the time

you are on right way "

i just need to learn syntaxes because i am already know logical things for loop,while,overload,class etc.

it wouldnt be very hard for me

this year i am going to study computer engineering at university, i want to learn game programming as a professional,i must be able to work in a game company etc.

so tell me again ? should i go with c# or should i learn c++ and sfml etc ?

Thanks for help

You should stick with C# and use it to actually make games. Making games is more important.

Learning C++ is not just about learning the new syntax; it helps that you know a programming language to some extent already, but C++ involves a very different collection of concepts and practices than C# does. It would be useful for you to know C++ eventually if you want to work in the games industry at a studio that uses primarily C++, but it's far more important for your ability growth to be able to make actual completed games and practice with those processes and paradigms.

If you want to learn C++ I stronlgy suggest Sams Teach yourself C++

http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=sams+teach+yourself+c%2B%2B

There are different books varying in density depending on how deeply you want to go with the language. The important thing is picking up programming concepts that will allow you to learn other languages with relative ease. I can't help much with the programming games specifically bit, but I've used the Sams Teach Yourself for review, and things are explained rather clearly in the texts.

If you want to learn C++ I stronlgy suggest Sams Teach yourself C++

http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=sams+teach+yourself+c%2B%2B

There are different books varying in density depending on how deeply you want to go with the language. The important thing is picking up programming concepts that will allow you to learn other languages with relative ease. I can't help much with the programming games specifically bit, but I've used the Sams Teach Yourself for review, and things are explained rather clearly in the texts.

thanks for your advice !!

You should stick with C# and use it to actually make games. Making games is more important.

Learning C++ is not just about learning the new syntax; it helps that you know a programming language to some extent already, but C++ involves a very different collection of concepts and practices than C# does. It would be useful for you to know C++ eventually if you want to work in the games industry at a studio that uses primarily C++, but it's far more important for your ability growth to be able to make actual completed games and practice with those processes and paradigms.

so i need to learn games logic ok.where should i begin on c#,do i need to learn something before graphic libraries ? which library do you prefer

SFML.net was suggested before. Try that. And try to make Pong. There are plenty of tutorials to create that. For more game ideas, check out the link in my signature below.

Beginner in Game Development?  Read here. And read here.

 

You should stick with C# and use it to actually make games. Making games is more important.

Learning C++ is not just about learning the new syntax; it helps that you know a programming language to some extent already, but C++ involves a very different collection of concepts and practices than C# does. It would be useful for you to know C++ eventually if you want to work in the games industry at a studio that uses primarily C++, but it's far more important for your ability growth to be able to make actual completed games and practice with those processes and paradigms.

so i need to learn games logic ok.where should i begin on c#,do i need to learn something before graphic libraries ? which library do you prefer

Again I suggest learning an engine. This is because without an engine, you will have to develop tools for yourself. Such as level editors/loaders, resource managers ect..., it's almost always useful to "USE" an engine first, because then you see how these things are designed in good systems. Later if you wish to continue learn you can try developing your own systems and the knowledge you picked up from "using" engines will carry over nicely.

Unity is fully scriptable in C# along with the mono/.net libaries are available, which means you can use and learn .net in the process.

One last reason is the cross platform build tools, with unity you can deploy to nearly any platform with just a few clicks.

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

This topic is closed to new replies.

Advertisement