So, my school's been teaching us how to use C++ coding and stuff, and I'm not really good at it. No matter how hard I try I end up having a hard time at some point, and I end up having to copy a friend's code. Any tips on making a good C++ code?
I barely learned the basics myself but, given how unspecific your question is, how about you go through every tutorial you can put your hands on ? Google is your friend. http://tek-tutorials.com/c-tutorials-guide/
Learning your first computing language can be pretty tough (hence why I never bothered with it too much) but I'm told once you get a first language down it gets easier. Its really down to practising. Like Patman said, just find yourself some tutorials, learn the foundations of the language and get practising. There's loads of tutorials and guides out there. http://www.cplusplus.com/doc/tutorial/ Literally the first link I found googling c++ and it looks decent.
Stop copying your friend's work and you'll eventually learn. I've never learned C++ but copying isn't helping you at all--you've got to work hard to learn it! It's a pain but it'll get it down in your brain.
If you need advice or help feel free to ask. I've studied this and a few other programming languages in college. As to get better, their is no simple way. Either you're interested or not. If you are, pay attention in class. If for some reason you're just not grasping it, grab a book of follow some tutorials online.
while i never did this with C++, what i found that helped me learn programming languages was to mess with someone else's coding. the reason for this is because you would have to learn, analyze, and understand the logic behind their code. also, giving yourself a real reason to program really helps you get better at it. for example, take on a programming project for school or something, if you have a reason to program, it adds to the motivation to learn.
Hard to do when the program is due on the same period and it's 5 minutes before the bell, and all I've got is a semi-working program that displays the wrong data.[DOUBLEPOST=1354793015][/DOUBLEPOST] Thanks! I'm sure these tutorials will help me.
Well--the best thing I can tell you is to ask your teacher for help because I've got no clue what that is unless you search on google and ask a tech geek.
The only coding language ive ever leared is HTML and while I'm still not great at it it does get a lot easier as you learn. Just keep at it, make stuff you want to make (outside of school of course) experiment with it and youll get the hang of it eventually.