What are tips for someone whose learning C++?

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

  • Pallavi
  • 19 नवम्बर
  • 4900 दृश्य
  • 5 उत्तर
Your Answer

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

0
c plus plus programming
मॉक परीक्षण अभ्यास के लिए
c plus plus programming