not sure if this is the right place to ask but i currently use blueprints for coding and i want to change to c++ coding because it is a better to learn then blueprint and 10x faster i am not quite sure where i start. Does anyone know any good websites or tutorials to start learning c++ fast?
C++ is not that much faster than C++ code, and for most games you can use both. C++ is less helpful when coding and as such will feel a lot more difficult to use in the beginning.
That being said, youtube, udemy and google will teach you a lot of C++. Most importantly, however, is to just write code.
As for what to USE to write code I would recommend using a powerful IDE like Visual Studio on Windows or codeblocks on linux. You get autocompletion so you dont have to remember everything you wrote and you save time on looking it up. Further, you also get a lot of information from the debugger which will help you understand WHY your code fails. This is paramount to becoming a great programmer.
The only negative aspect of starting with a powerful IDE is that you can end up with slightly more confusing solutions to adding libraries etc and you can end up making problems for yourself that you dont intuitively know how to solve.
However, I would still use the IDE because you can quickly edit any parameters you want to send to the program and any libraries you want to link to. If you use something like VIM you have to write everything every single time you want to build or run your program. So the few small problems that not using a IDE gives you is swamped by all the positive aspects to a powerful IDE.
Good luck.
HTH
thanks for the suggestions. I have found this course, before i put a few hours into it does this look like one that will benefit me and not waste my time? https://www.udemy.com/free-learn-c-tutorial-beginners/learn/v4/overview
Hey Rapiidz,
Udemy is a great place to start learning. It’s cheap, concise, and user friendly. The link in your comment would suffice, but I would recommend this course that I took before. Same site, different instructor. Ben Tristam is a great instructor and I would highly recommend this one if you’re trying to get your foot through the door for both Unreal Engine and C++.
thanks for the link definitely going check this out.
I have not taken it so I couldnt say, but it looks ok. Try it.
Hi rapiidzz901. The right place to ask is in Google search engine. C++ is a general programming language known by all programmers in the world. If you don’t have any knowledge in C++, then you should start learning how to do programming (coding) in C++.
There are thousands of websites around the world which will provide FREE tutorial for C++. Just search in Google or any other search engine in the world (Bing, Yahoo, etc). No need to use any paid version for any circumstances. Trust me!
After you learn C++, then you can proceed to learn C++ for UE4. Because in UE4, there are additional syntax and concepts. If you don’t comprehend general C++ language, then it’ll be difficult for you to learn C++ for UE4. And it’s always a good idea to always start with Blueprint before you dive into C++, if you don’t have IT background.
In short, you’ll need to dive into the programmer’s world to use C++ for UE4.
Hm, it’s complex question to answer. See, I decided to switch from Unity to UE4 partially because of C++ language - I had few years of experience. It also took me a month to learn API fluently. Before I learn C++ from handbooks (I have one great: C++ Symphony - but I don’t know if it is available outside of Poland) and from trying to solve self made problems (I remember when I spend a month trying to implement Conway’s Game of Life on containers. It was great experience, because I had to learn how to think correctly).
My proposition - try to learn C++ from basics, without any fancy self-completing environment like Visual Studio. Linux is absolutely the best for this kind of learning- any text editor has syntax lightening, compiler is accessible from terminal, you have to think not in ‘black box’ types, but in very mechanisms itself. Visual Studio is great with it’s help, but paradoxically it’s best for experienced programmers.
Second advice - basic C++ needs good motivations and problems to solve. Physics and mathematics give infinite amount of those problems - hell, the very beginning of computers happened because of trying to use them in physical computations! In mathematics problems are more subtle, but sometimes easier to implement - the easiest example is a search for prime numbers (for now impossible without computers), Collatz problem, fractals or chaos theory (…ok, the last one is physics too).
I added an update for what you should use and do to learn the best and the fastest. It is my opinion, but I have tried using no IDE and I have tried using an IDE. I have coded faster and learned more from using an IDE. Using no IDE is faster in general, but you make many many many errors and you have to spend time rewriting every command when you mistype or make a small error. An IDE automates this and makes using it much easier.