Hello World Error
Contents |
int main () { cout << "Hello World!"; return 0; } to see what will happens, but nothings happens. I paste it in new window application, and compile it then run, but it still nothing happens. Is there any problems? Jan print to stderr c 5, 2009 at 2:10pm UTC Shinji Ikari (13) There is nothing wrong with it print to stderr bash per say. You just need another line to make it where the program waits till you press enter to exit the c fprintf stderr program. That way you get to see the program run. the line is: system("PAUSE") Here is the code with that included (Line 7): 1
2
3
4
5
6
7
8
9
#include
Print Stderr Perl
"Hello World!"; system("PAUSE"); return 0; } Last edited on Jan 5, 2009 at 2:11pm UTC Jan 5, 2009 at 3:43pm UTC hei (10) Yea, thanks, but it become a Ms-DOS type program Jan 5, 2009 at 3:51pm UTC Shinji Ikari (13) Yes. I am not much farther along than you. I hope the cool stuff comes along soon. But you have to learn to crawl before you run. Jan 5, 2009 print to stderr python at 4:44pm UTC hannad (86) Hello guys :D I see that this problem is posted a lot by people here. This means you guys don't read posts before you post. http://www.cplusplus.com/forum/beginner/1988/ This is a topic about your problem. Hope it helped :D P.S: It is a sticky topic in the beginners forum, so instead of making a new topic, you could have read it. It's the first topic you see here :D Last edited on Jan 5, 2009 at 4:44pm UTC Jan 8, 2009 at 1:49pm UTC hei (10) But my problems is when i put the system("PAUSE"); the exe. become ms-dos type although i use the window application mode compiler. Last edited on Jan 8, 2009 at 2:03pm UTC Jan 8, 2009 at 3:50pm UTC Bazzy (6281) You have to build your GUI Jan 8, 2009 at 4:12pm UTC helios (13232) Nnnngggg.... Every time I see a console referred to as MS-DOS my stomach tries to digest itself. Unless you're using a very old compiler (which you shouldn't anyway), nowadays its impossible to generate code for DOS. DOS was a 16-bit operating system that used a console as its main user interface (that's not to say it was the only one). A console is a text-based user interface tha
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack fputs Overflow the company Business Learn more about hiring developers or posting ads with us
Rosetta Code
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up C++ Hello World Error [closed] up vote 1 down vote favorite 1 As one can see, http://www.cplusplus.com/forum/beginner/6753/ I am just starting out with C++ and just began my hello world program. #include
to Program Programming Languages Personal QuestionI am getting a compilation error on a simple hello word C++ program in CppDroid. Why and how do I remove it?UpdateCancelAnswer Wiki1 Answer Deepanshu Thakur, Student of computer https://www.quora.com/I-am-getting-a-compilation-error-on-a-simple-hello-word-C++-program-in-CppDroid-Why-and-how-do-I-remove-it scienceWritten 64w agoHow do we supposed to remove a compilation error without knowing error! I mean you should provide some more details about what error you are facing. But since it is hello world program so it may be due to semi-colon. Okay try to match your program with this program which is running nicely in my android.#include