By using this site, you agree to our Privacy Policy and our Terms of Use. Close

@crymetyme

A "hello world" program is a program that all it displays is "hello world" in plain text. This can be either a command line program, or a windows program. Either way, it does 1 thing (prints a string), typically pauses for a keystroke, and exits. I've made one for C, C++, Java, and C#, all while in College.

The reason instructors have you make a hello world program, is so you know the basic resources and lines of code needed to compile the most simple form of program.

@original topic

I agree with NJ5 mostly. If you really want to learn how to code, then learn C, and then go to C++. However, just remember that C++ is not C and don't mix the two together, even if the compiler can handle it, it is bad coding practice. After having to port someone's giant mess of C/C++ code from solaris to unix, to Windows, and then to Windows using Visual Studio, I have sworn to kill anyone who does that again and expects me to port it (note, different compilers handle the C/C++ mix of code differently which is what made this so hard).




If you drop a PS3 right on top of a Wii, it would definitely defeat it. Not so sure about the Xbox360. - mancandy
In the past we played games. In the future we watch games. - Forest-Spirit
11/03/09 Desposit: Mod Bribery (RolStoppable)  vg$ 500.00
06/03/09 Purchase: Moderator Privilege  vg$ -50,000.00

Nordlead Jr. Photo/Video Gallery!!! (Video Added 4/19/10)