Well if you are using Code::Block or VS12, you should know that they are IDEs, not the compilers. Think of them like a wrapper around the all those compilation processes your source code must go to get translated into the target machine code. I must say that if you are learning, do not use these IDEs. Well IDEs have their own benefits such as code profiling, refactoring, debugging front ends, intellisense, deployment mechanisms, etc. bundled within them. But, as you said, you are starting to learn C++, I would say, go for g++ (& I guess you can use g++ on Windows through Mingw or Cygwin). As for text editor, GNU Emacs or Vim should be more than enough. Notepad++ is also a great text editor. Though they don't provide the code completion features like the IDEs, this will help you keep information in your memory.
And, you must understand the difference between IDEs and Compilers so you should google the difference.