If I understand you correctly, you are working with an individual file created by New->Empty file. What you want to do is use the file wizard (New->File...), select C/C++ source, click Go, and follow the wizard's instructions (selecting C++ when given the option).
The other thing you may want to consider (that is, if you have not already) is to use a Code::Blocks project to manage everything.
yea i'm doing new _> empty file. i'll try this later but from what i'm reading, it seems to much work to go through a wizard everytime when i can just type in .cpp myself. unless you just have to go through this wizard once and it will automatically put .cpp everytime afterwards?
Give the full name (includig the cpp).
yea that's what i've been doing lol. typing in the .cpp when saving. but im saying, if i'm choose to save as "c/c++ file" and i have c++ libraries in my source, then it should auto save .cpp without me having to type it. i just find it annoying. wxdevc++ did this automatically. i don't know maybe i am just nitpicking, i think i have OCD, little things annoy me. but other than that, i find code blocks to be a very good IDE, much better than wxdev. i just started using it and i love that it tells you how long your program takes to compile and run and also i like that it pauses the output window for you. in wxdev you have to add garbage code at the end just to do that.
still no IDE, imho is better than just using a text editor like gedit or Emacs on linux
. the Unix terminal is very powerful