Am I cheating my self if sometimes I go for help online with coding? I don't do it all the time, because I don't usually need help, but when I do it's something little. My professor wants us to go to the TA's for help, but I don't know why I can't bring my self to catch up with them.
And when I mean online for help I mean actually looking at code and thinking about how I could use it and where I went wrong. I'm not simply copying other peoples code from the net, but trying to get how and why they used it.
I spend a lot of time trial and error of course, but I just feel like a idiot when I go online I might be cheating my self.
Do you mean Googling concepts and methods? Everyone I know, from beginners to experienced programmers looks for help online. If you were relegated to just reading the old books in your library and figuring it out yourself, you'd be doing yourself a disservice. Someone else has already been through the pain and learned the lesson, so just take it from them.
As for reading code, multiple programmers have told me that is an excellent way to improve. When you look at poorly written code, you can think about how to improve it. When you look at well-written code, you can take mental notes on what makes it good. Both are beneficial, I mean if you like analogies it's like when you're a kid growing up and you watch a lot of NBA games, that's going to help you play basketball because you'll see a lot of stuff you never knew existed prior.