like most here, im new-ish to programming. Im using Microsoft visual studio c++ express. i can build a program with tutorials, but it closes out on me from the project folder. and what do i do to make it work as its own program?
Either run it by pressing Ctrl+F5 or right before the return statement in main() type
system("pause");
I don't remember which #include file this is in, but if you get an error try including stdio.h or iostream.h, and if neither of those work, google the above or search for it on MSDN to get the proper #include file.