1. How to enter strings (i.e. a name, address ect) while program is running?
(Data type "char" isn't work. It allows to enter only one character)
2. How to execute a program (Win32 Console Applications) without C++ environment?
The exe inside the "Debug" folder can be executed without C++ environment.
After some commands have been executing, the program suddenly vanish.
I've written the C++ command "return 0;" at end of the code. Is that the case?
What is the command / code I should write to stop that disappearence?
Note : Win32 Console Application executes in CLI (command line interface).
3. How to make a stand-alone in C++? (i.e. An exe without debuging information. It should execute without C++ environment)
Can someone answer these questions reguarding MS Visual C++?
1. scanf or fgets
2. when the program completes the console closes. add a System.pause or another read in statement to keep the console from closing.
3. compile a release version.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment