hi, I installed both codeblocks ans codelite as suggested but these two IDEs are much different from the simple turbo c and I am having some similar problems using the two.:-

during the first session i created a workspace and a new project(a console application)
a main.c was created by default with the new project and it runs fine with the sample code to print "hello world".
But the problem is that when I create a new source code and try to run it after compiling it, whatever the code is I get only "hello world" as the output.
I tried deleting the default main.c but it gets created everytime I compile any other source code.
I would really appreciate it if anyone could just tell me where the problem is.