can you be more specific (which IDE you are using, configuration etc)
In main its simple you write code of program in your ide and than compaile source code if compiling sucess you just run it (from ide ) or find exe file and run it
This is a platform and application specific question. But all IDE provide ways to run your compiled program so search your tutorial for your IDE's way.