How could I fix this problem.Pls gimme some hints.Thanks
By asking in the appropriate forum.
That's a programming question for which you need a forum that supports a mix of your operating system (Windows?), the programming language (C) and/or the API/standard/library/... that is giving you problems (POSIX?).
Please note that these forums are only for Code::Blocks, which is an IDE. We provide the MinGW compiler (which is a GCC port for Windows) for convenience, but we do not give support for it (except for integration with the IDE).