Hello,
good move you are trying codeblocks. Its worth to use the forum search as many isseus were solved many times before.
You do not provide Code or explanation what you Versions you use, so no none has a chance to really help you. Guessing from your words "output window" I guess our are using windows and might mean the console (aka Dos window). To see that you need to set the project seetings to console project and not gui project. If you mean the output window similar to visual studio, that does not show program outputs by default.
Cheers
Tiger