That's because Turbo C is a compiler whereas CodeBlocks is an IDE that uses some different compiler (probably mingw, or gcc). You need to learn the difference between compilation, linkage and how a development environment integrates these processes.
So can u pls. tell me where can i learn iT ????
& iN that i m using MinGW as compiler.