Hi again,
Thought I would share some links I found very helpful as a beginner
I went through this C++ tutorial a while back and it has greatly helped me understand how to code basic programs for a variety of platforms like the arduino, Microsoft Visual C++ and now the MSP430 Launchpad. I think if you are a total newcomer you should start by completing this tutorial:
http://cplusplus.com/doc/tutorial/
Particularly I keep going to this page as a good reference of what is going on when looking at examples for sometimes the simplest things are not explained:
http://cplusplus.com/do