How did you learn c++

I’ve been researching game development and computer programming for a few months now and its something i really want to peruse in. The main reason is for game development but i understand i cant jump straight into using C++ with unreal engine without knowing the fundamentals of C++ and programming as a whole. I’ve also been looking into a computer science course at my local college but i do not have the entry requirements at this time so I’ve applied for a course that is related to the Computer science course so when finished i will have the entry requirements.

I’m aware of the blueprint system but i would prefer the benefit of learning a programming language(just a personal preference)

Some things I’ve been concerned about:

some of what I’ve read gives the impression that you need to be really good at maths and know more than the basic standard, this concerns me because in high school i didn’t struggle with maths but i wasn’t in school long enough to peruse learning. So do you need to be a maths genius or does it all depend on what you are actually going to be programming ? if so what main math subjects will i need or be best to learn ?

I’ve also seen mixed opinions on choosing C++ as a starting language so it would be good to hear from people that started on with C++ so i can get opinions, I understand it varies from person to person.

last thing would be what are some good resources that people have learned C++ from as it will be a while until i will be in a computer science class so i would like to learn now at a beginners pace. I’ve learned the very basics of programming such as data types etc but I’m looking for a book or online course that teaches beginners and can be easily understood instead of throwing words at you that may not make sense to the person reading. looking for something that actually defines what these magical words mean.

would appreciate someone taking the time to answer :slight_smile:

.

Alright so, I started programming in C++ and it took me a long time to learn. I would say that programming is math based but it is more logic than anything. If you can figure out how to solve the programming problems then the math isn’t too bad. It really depends on what you’re going to be programming, I think that getting the concepts down can be harder than the math. I would recommend learning Trig, I found that Trig was most helpful when you start getting into graphics programming(if you get that far into it).

I would suggest a book called C++ from the ground up. That is the first one I really used when I started. C++ is a great language to start out using. There are a few key differences but I think it will be easier to transfer from C++ to another language than the other way around and I found that C++ is more in-depth than the other languages and is mostly focused on game development.

I was an artist first so it took me a little bit to grasp the concept but once i figured it out, it was exciting to be able to control things. I started learning it around 2006 with books like Sams Teach yourself C++ , just kind of went page by page. There really wasn’t any engines that you could just use back in those days (except Torque engine *barf)and C# didn’t exist .

I was using Allegro and then DirectX/C++ for a few years until i tried ue4 back in jan.

I’d say it’s fine as a beginning languages because I survived XD But people consider it a tougher language, but I’m not sure why since it’s the only language I’ve used,

Hey, I actually started out as an electrician, then started learning 3DSMax, after few years I was getting good at it, then went to electronics college where I’ve learned all the Math , Physics and Programming theory, we weren’t taught in such detail as they learn in the computer science course but seems like that extra background is not that important.
I wasn’t really interested in electronics that much at the time so I never finished to get a degree, however as said I did learn the whole package related to Programming.
At same time when I was studying I was playing Unreal Tournament 2004 and started to learn about game dev. , after UT3 was released I started learning the UE3 editor and level design, soon my 3D models were getting better and I started learning unrealscript , we also formed a team and competed at 1mill$ make something unreal contest and got an honorable mention, then when the first UDK was released I even recorded a introductory tutorial from what I have learned.
With the team we wanted to keep working in UDK and create a PC game but lack of resources, and several other problems made this goal out of reach for us, thou we did invest a lot of time and made some awesome assets, we never even got to the demo part. After that I have learned a lot about all this game development and our limitations as an indie game developer that supports himself working other kind of jobs, so I switched to making something simple instead, something I know I can finish, in December 2011 I released Jumpy Frogs iOS game, at the time it felt really great to finish it and I felt really proud on the visuals. The game was created on PC, using UE3 UDK editor and unrealscript. I helped on the forums with what I’ve learned and also visited UDK chat often.
Since this was my first game released and I made several mistakes including no marketing plan, I was only loosing money and was forced to stop doing this and get back to working other things.
As years passed by, I have been working many other things, including programming simple scripts for some other game engine, building websites and freelancing. Then UE4 was released, and it is amazing, so now I’m updating my first game and trying to fix everything I did wrong with the first version, I also learned a lot about marketing and monetizing, but there are still limitations, like I don’t have a Macbook , I can’t afford yet to pay for all the licenses and so on, so my priority still has to be working other jobs and projects. Few months ago I got some job as a html5 / javascript / jquery programmer, they were promising a lot but after 250+ hours, they still owe me money and they did not give me a full time job like they were saying, even thou it is a respectful company I now have doubts and am looking for other projects at the moment, I say this so you can imagine working like this can be annoying.
Anyway of course I will keep working, I am also developing a side scroller game using the frog characters from the first game, and this will be a lot better opportunity to finally make some great looking levels and artwork and fun gameplay as well as make everything work.
I know this is a long story but I wanted to explain my learning path, and in my opinion programming is not that hard, it is important to have a good understanding of the basics, but the real experience is gained when working on projects, solving problems and bugs and being creative. Knowing “Math” is most of time not that important , and even when it is you can just google it find some resource and learn about that topic and that’s it, there are are lots of great videos about math and physics on you tube.
You should take programming as something you learn slowly, no rushing or anything, but keep your goals of making something and stick to it until you do, you may get there in six months or in 2 years or more, depends on your goals and effort, but there is no doubt you can do it !

I started with QBasic when I was 8. Before going to university I was working with Game Maker, MMB and Flash. In university we mostly worked with C++ and that’s how I learned it. I did all the stuff professors asked me to do no matter how long it would take. You don’t have to be a math expert to develop games but you need to be logical, good problem solver and good at vector math.