I am quite good at writing c++ programs but i don't know how to make GUI for my programs and then pack my program into an installation package that can be used as a software on any computer without having c++ compiler installed on it...
Any help here would be greatly appreciated... thanks in advance
For an installer... that depends quite a bit on the platform.
For Windows... I can't say I can help you there. Try Googling? :)
For most *NIXes... you have several options. You can use your system's native package system, you can create a shell script that acts as an installer, or you can make do with a makefile with an 'install' routine.
For OS X specifically... the XCode toolset has a package generator, under Development/Applications/Utilities (XCode 3, I can't say for XCode 4).
@Albatross: Thanks for your help.. but i have never used libraries in C++, how can i use those libraries in my program, i mean do i have to add some coding for that in my program? i know its a silly question but plz help me here, as i am learning C++ on my own without any teacher.
Try NSIS (http://nsis.sourceforge.net/Main_Page), you can create scripts that tell how a program should be installed (and uninstalled) and then you compile it in a installation program.