What kind of response do you expect from the system running this program?
Well, actually it's quite simple. Your program just runs and exists without any errors.
If you expect to see a console window with output of your "hello world", insert following line
at the beginning of your program and
just before "return 0"
to force your program to wait until you press a key after it finishes its work.
Also, it has no connection to Code::Blocks at all.