Visual c++ 2010 problem and c++

hi evry1 , im using visual c++ 2010,wheneve i compile or build opengl sdl projects,it compiles n builds with no errors but i dont see any output.only a blank window with debug.exe comand prompt appears.Please give me a hand