+ 1
How can i improve my c++
i didn't know how to write c++...i am university students...please help me to understand
4 Respuestas
+ 10
By learning of course
+ 6
just try to write code from the simple one and continue to more complicate code.
but don't stop trying, because, like learning foreign language, persistent learner is fluent speaker.
+ 1
regularly practice code.
always written on copy for practice ( teachers suggested) don't writing computer first... then u become a good coding student..
+ 1
take something someone else wrote in another language and try port it . Maybe something simple like a DOS / shell script. Start with that, then try to enhance or refine your code .
That is what I started doing...
1. everything was all a part of main.
2. started adding functions
3. started adding classes
4. stared breaking out classes to separate files.
5. I looked at pass by value or reference, which made more sense
6. look at adding different libs, like iomanip, math and such
7. made a lot (ton, uncountable, too many to comprehend) of mistakes ,. tried to learn how to troubleshoot with debugger.
those are just some of the things I have been doing, and I still have a long way to go.
last, try to make it fun!!!