Am developing a c programming which contains windows.h header file and GetWindowText api functions.Now i want to run it in linux.Is there is any api in linux or is there is any possiblity to run the c programming on linux.

The short answer is yes.

The longer answer is if you're doing GUI programming, I recommend you use a decent cross-platform GUI library such as QT, which is heaving with functions to do things like showing windows and reading text from them.

Thanks for your reply.What is QT and how to do with QT???