You can't compare strings using ==
Have a look at:
http://www-math.unice.fr/laboratoire/help/C/ctutor/ctutor.html
It will tell you what you need to know about datatypes, strings and the C syntax to get started. I strongly suggest you work with vanilla C before you move onto C++. The syntax is almost identical, apart from input streams and the bits related to object oriented programming which you don't need to worry about yet.
In fact, use Turbo C as your IDE/compiler for your first few programs. It's a basic but tidy compiler that'll let you find your feet. The blue background is also very soothing :-)