0
I am bad in c++ I need some one to help please đđ
I can't write a right code by class
6 Respostas
+ 2
Try struct's first
https://code.sololearn.com/cCg616ePuw0I/?ref=app
+ 3
Share your code and we can help you next with your issue or doubts
+ 2
Yes try unsing -> pointers with the same program.Then lean typedef then you should be ready for classes pubilc, private, protected in no time.
0
I looked at your profile and it seems c++ is your first language, that's your mistake.
c++ has a very hard syntax, its very low level meaning that its very close to actual binary code, and any simple mistake can have big repercussions, If you are willing to take my advice I would tell you to try something else first: python, ruby, java, etc... those are great options for beginners, once you have mastered easier languages then give c++ a try, you'll get impressed at how easy c++ will feel once you are more experienced
0
this program is esay