Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

about c++ programming

I'm trying to learn c++ program but i couldn't get it easier anyone have tips
3 Replies
Commander Lvl 3
Message 2 of 4

Re: about c++ programming

Well if C++ is the first language you learn you might want to learn a simpler language like Javascript (+ node.js for example) or Golang (https://golang.org) or Python (https://python.org) first, since they are just easier. After that you might understand C++ better.

 

Otherwise, just carry on. You’ll eventually get there.


- Mark
Pilot Lvl 1
Message 3 of 4

Re: about c++ programming

There is also see  https://www.sololearn.com/  you can use this online on mobile app

Highlighted
Pilot Lvl 1
Message 4 of 4

Re: about c++ programming

Hi,

 

If you're just starting out, I'd recommend :

 

1. Following the tutorials on http://www.cplusplus.com/doc/tutorial/. I found them pretty easy to follow -- though I do have prior experience with JS and Lua -- still the examples seem simple enough for first timers. Follow along with the tutorials and write out/compile/execute the examples as you go along to get a feel of things.

2. Getting an IDE if you don't have one. I highly recommend getting code::blocks (http://www.cplusplus.com/doc/tutorial/introduction/codeblocks/). You'll use it to write/compile/execute your code.

3. Writing your code by hand and failing until you get things right. Never Copy/Paste code snippets if you're learning a language for the first time. It'll be slow at first, but as you constantly type the same thing over and over again it'll get into your head and you'll be able to instantly recall and type the necessary code.

 

About the failing part : You're going to make a mistake somewhere along the way and that's good. Why ? Because you'll learn and improve from it. The longer the struggle to figure out what you did wrong, the better you'll remember that mistake and not make it again. If you're completely stumped there's a forum for beginners on the website I linked earlier where you can ask for help.

 

TL;DR programming isn't easy, but that doesn't mean it isn't fun. It takes a lot of time and errors until you get things right. Don't give up if it gets tough, because over time it'll get easier.