Greetings. I saw a piece of C ++ code somewhere (or C - xs :)) and decided to compile it and see what happens ^ _ ^. Here is my code:
#include <stdio.h> int main(int argc, char * argv[]) { printf("Hello, World\n"); return 0; } Um ... Like here :). After compiling under Windows, an .exe file appears. When you click on it, the console opens (for a split second) and closes ... How to make it not close? :)
ps. PROFI - Please do not matter - C ++ has not yet explored but it is interesting to learn :).
pps. Give a promise that Microsoft will not show this piece of code - And they will introduce it into their programs: DDDDDD
ppps Thank you in advance :)