Download

If it is really difficult to learn C++?

I want to be a senior computer expert, but i don’t exactly know about C++.

Second rule of the senior computer expert club. Not ask how difficult its do that, just learn how do that. :stuck_out_tongue:

Going by your naive question I guess you are young, which means you’ll have plenty of time to pick up a programming language such as C++. Just have a go at it and see if it’s interesting to you.

I would suggest starting with C# as I believe it will be easier to start with.
Then at a later stage you can then start with C++

You could start with C++ if you follow a good tutorial or book, I believe the herb stutter ones are good for learning.

HTH

If you area really very new to programming and don’t understand what is a variable or flow of logic (thats how we all started :P) I recommend have a look at old 80s BASIC , the one that used things like LET A = something , LET B=Something else LET C= A+B , PRINT C.

That’ll help you grab the basics of programming without pondering very much about the syntax

I second that.
I’ve started with C# and Visual Basic back then.

C++ is my favorite programming language and I’ve been really focusing on it for years.

Keep in mind that “pure” C++ is different from the C++ inside the Unreal Engine, but this rule applies just some things.

You said you already programmed in other languages, well you can start learning C++ then :wink:

(the problem is **how **did you program in those languages though)

I learned C++ incredibly quickly. You don’t need to know the entire dictionary to speak a language. So you don’t need to
worry too much about being fluent. :smiley:

I learned basic C++ in about 2 weeks, and found what I learn would teach me about what I didn’t know. Pretty soon I
ended up knowing a wide range of stuff.

Advice, keep a small text file with functions. You can use it again and again in the future. :smiley:

Yes it is. It is one of the tougher languages to learn. Simply because there’s a lot of stuff to learn in it, so it’ll take a while, couple of years maybe.

However, you don’t need to know much about C++ to work with unreal engine.

Speaking of other languages, I would advise to stay the heck away from C#, and if you want easy lanuage to get started, learn Python instead.

You could start with C++… only follow the books or references and by continuos, programming languages and programming thinking is a monster in itself even without counting the engine (there is a profession dedicated to help people learn to programm). But just move fordward…

Learn

  • the OOP,
  • learn the procedural programming inside C++
  • boolean algebra
  • and that functions are a little like their math counterpart (they return the same value for the same input almost all the times and so on, properties they share with math functions)

but in C++ you will find also (not being extensive)

  • memory handling with new delete (just know that you need to do it).
  • calling methods and how they pass variables (by value, reference or pointer)
  • how to access a variable members if it is a reference, value or pointer.

well, it is large, but who is born with this knowledge??? all people some time where noobs in what they have good knowledge.

and you will be donde mostly the basics.

Well, that’s good for learning C++ but not for learning the Unreal Engine.

I used dynamic allocation with **new **in the Engine (as I use to do in C++) and that led me to crash issues

haha, guess to use then the create subobject and variants? and use TArray and so on? (UE noob here too)

Maybe I’m a UE noob, but you’re worse since you aren’t even able to understand what I write.

I don’t say I USE new inside the Engine, I just pointed out that when I used to, that led me to crash issues. So it was a tip for the author of the post.

Before offeding, please take a look at yourself.

lol… no offense taked dude

He was calling **himself **a noob, not you

Just clarifying:)

no chill here… be easy guys :smiley:

First, work through Accelerated C++: Practical Programming by Example by Koenig.

Then Programming: Principles and Practice Using C++ by Stroustrup.

Keep a copy of *The C++ Programming Language *by Stroustrup nearby for reference.

Good luck.

Guys, keep it civil. @tyoc213, @gedamial Looks like you guys misunderstood each other.
Lets keep it productive. Have fun :slight_smile:

Yes, C++ is a b***h but everyone should learn it!

Everyone can learn C++. Some will be truly comfortable while others will just get by. Its a good idea to figure out which camp you’re in so that you can make it work for you (Mechanics vs. Managers dilemma etc). Learning C++ in two weeks was mentioned. That’s fine, but in reality its more like ongoing life learning. You don’t really know how well you know C++ either, until a department head arrives late on a Friday puts a gun to your head and says: ‘quick, back out the changes the other team made this week cos we can’t roll back the code and everyone has gone home’. Code you haven’t seen before along with that kind of pressure, clues you into whether you’ll have a love affair with C++ or not.

Changing the question away from ‘is it difficult’, to ‘should you learn it’? For Unreal, the answer is undoubtedly yes! First, UE4 gives you full access to source, so you can do just about anything except maybe NMS 100% procedural type games. Its just a question of time and effort. Second, even if you struggle with C++, you can still create wrappers and add nodes / plugins to blueprints that’ll get you by and help tweak existing code. With source there’s no limit, unlike Unity / UDK / CryEngine etc. Take UDK, back in 2011 Epic broke the crowd flocking system and commented it out with ‘FixMe’. That fix never arrived! As users we had absolutely no recourse, so having source is definitely a game changer!

Overall C++ is difficult. So if you prefer thinking about game ideas rather than implementation then C++ won’t help. Its best at creating device drivers or building trading systems etc. Whereas making games is about story, visuals, action, emotion etc, and that’s a whole other side of the brain. C# is easier and Java too, with Unity-C# especially easy to pick-up. But neither are as simple as Blueprints / Kismet to make games with!

The only way to learn a programming language (no matter what it is) is with lots and lots of practice (i.e. doing a lot of exercises). :slight_smile: