Close sidebar

What are tips for someone whose learning C++?

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

  • Pallavi
  • 4747 Views
  • 5 Answers
5 Answers
  • To prepare well, one must practice C++ progarmming codes very well.br /emstrongTo study more through mock tests, a rel='nofollow' href="https://www.prep.youth4work.com/Practice-_Test_s/C-plus-plus-Programming-Test/about"click here./abr /For practice book links, a rel='nofollow' href="https://amzn.to/2NmrKQ9"click here./a/strong/em


  • Code for fun! It sounds crazy, but it is the easiest hack, plan your day with C++, maintain a dairy, keep your codes there.br /br /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.br /br /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.br /br /Learn how a variable is stored in a memory? If an integer variable holds 8 bit, what does it mean? Ask questions to yourself.br /br /Explore, don't be a book worm! try to find various resources to improve your skills, follow websites like Geeks4Geeks, W3schools etc.br /br /Use IDE, but once be familiar with real coding platform. Participate in competitions, just don't start anything, 'close the deal'. br /br /​Good Luck!


  • C++ can be pretty harsh on newbies and you need to be patient while learning it. br /There are programmers out there with more than 10 years of experience in it and still out there learning the intricacies of the language.     br /With that said, please understand that the best way to learn a language is by making lots and lots of programs in C++.  br /You can try your hand at competitive coding and start solving problems in C++.  This has many benefits :- br /1) You'll learn about the standard library provided by C++. br /2) You'll get good at debugging your code. br /3) You'll be able to code faster. br /4) Competitive coding is fun, so you won't be getting bored easily. br /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++br /#1: Don’t Confuse Assign (=) with Test-for-Equality (==).br /#2: Do Get Rid of “Magic Numbers”br /#3: Don’t Rely on Integer Division (Unless That’s What You Want)br /#4: Do Use Data Promotion to Control Resultsbr /#5: Don’t Use Non-Boolean Conditions (Except with Care)br /#6: Do Use emusing/em Statement, Especially with Smaller Programsbr /#7: Don’t Use Global Variables Except to Communicate Between Functionsbr /#8: Do Use Local Variables with the emfor/em Statementbr /#9: Don’t Be Intimidated into Overusing Classes and Objectsbr /#10: Do Remember: Semi’s After Class Declarations, Not Functions


Practice Mock Test
c plus plus programming