What are tips for someone whose learning C++?

What are tips for someone whose learning C++? Please tell about C++?

5 Answers
1-5 of  5
5 Answers
  • To prepare well, one must practice C++ progarmming codes very well.
    To study more through mock tests, click here.
    For practice book links, click here.

  • Code for fun! It sounds crazy, but it is the easiest hack, plan your day with C++, maintain a dairy, keep your codes there.

    Start with easiest one, don't run, try to solve basic mathematics problems using code, start with addition, subtraction, then move to equations, patterns etc.

    Learn syntax of language, every language has certain set of rules that govern the language, just like grammar in a language, so learn to stick with syntax.

    Learn how a variable is stored in a memory? If an integer variable holds 8 bit, what does it mean? Ask questions to yourself.

    Explore, don't be a book worm! try to find various resources to improve your skills, follow websites like Geeks4Geeks, W3schools etc.

    Use IDE, but once be familiar with real coding platform. Participate in competitions, just don't start anything, 'close the deal'. 

    ​Good Luck!

  • C++ can be pretty harsh on newbies and you need to be patient while learning it. 
    There are programmers out there with more than 10 years of experience in it and still out there learning the intricacies of the language.     
    With that said, please understand that the best way to learn a language is by making lots and lots of programs in C++.  
    You can try your hand at competitive coding and start solving problems in C++.  This has many benefits :- 
    1) You'll learn about the standard library provided by C++. 
    2) You'll get good at debugging your code. 
    3) You'll be able to code faster. 
    4) Competitive coding is fun, so you won't be getting bored easily. 
    Whatever way you take, you have to code a lot of programs in C++ to at least get a basic hold of the language.

  • I will give some tips to learn C++
    #1: Don’t Confuse Assign (=) with Test-for-Equality (==).
    #2: Do Get Rid of “Magic Numbers”
    #3: Don’t Rely on Integer Division (Unless That’s What You Want)
    #4: Do Use Data Promotion to Control Results
    #5: Don’t Use Non-Boolean Conditions (Except with Care)
    #6: Do Use using Statement, Especially with Smaller Programs
    #7: Don’t Use Global Variables Except to Communicate Between Functions
    #8: Do Use Local Variables with the for Statement
    #9: Don’t Be Intimidated into Overusing Classes and Objects
    #10: Do Remember: Semi’s After Class Declarations, Not Functions

c plus plus programming
Practice Mock Test
c plus plus programming