Hi Copy - Welcome to cplusplus forums !!
Have a read of this.
There is also a lot of good stuff in the reference section
, and don't forget your best friend Google
When you post your code, don't forget to put it inside code tags - use the <> button on the bottom of the page for a new thread, or on the right in a post.
If your code does not compile, post the compiler output in full, using the program output button (next to the <> button)
I have never used Notepad++, I was under the impression it is an editor designed for C++ coders. I will probably attract lots of flame for saying that - but I admit my ignorance right now.
If you are conscientious
, It might be worth installing an IDE (Integrated Development Environment) to help you. Check out how it does things - eg what compiler options it uses, then go and look them up on the gcc man page (Manual Page - type man gcc at the shell prompt). Just remember to compile a C++ program you run the g++ command - otherwise you will get untold errors. The gcc command is for C programs. The man page is all combined into one - just to be confusing for newbies.
I use KDevelop
, these are good & mature IMO, but there are others. There are a lot of fancy things - like it shows syntax errors as you go along. This can be really handy for a newbie, but then again there is nothing like the school of hard knocks where you have lots of compiler errors every time you compile !!! Might learn better this way.
Just be careful not to get addicted to the IDE, before you learn how it all works.
You can learn a lot by compiling from the shell, but sometimes it is hard to learn it all yourself, so that is why I recommend doing a bit of both.
Hope all goes well.