im using code::blocks for my c++ coding and i ran into a probelm . first of all im using all the default setting on it. anyways all my programs build and run just fine inside code::blocks but when i go to my folder to just run them as the exe they either just close immediatley as soon as i click them to run them or they will run and my program will ask to do what i told it to do like enter your number here and press enter . but when i press enter it just closes. this happens with all my programs even ones as simple as a hello world project. i cant figure out what the problem is . this seems to be just with c++ because when i do the equivialnt in C it runs fine as the exe. any help would be appreciated. thanks