Dont feel too bad, Whipsmack. I have taken four C++ classes and I still make that same error now and again.
The important thing to remember is to not ask for help too soon. Several times I have gotten stuck and I try to fix it using the "stare" method (which all programmers are familiar with. Looks kinda like this: ). After about an hour (or sometimes more ) I just got up and went for a walk. 15 minutes later I sat back in my chair and I saw the problem within seconds.
A helpful tip when programming (and I wish someone told me this when I first started) is to frequently take breaks. You will save mountains of time in the long run.
Good luck out there
Amen Brother... Thou my stare looks more like then I move into but once I take a break and clear the mind it looks somthing like...
-Ryan