Jump to content


Hello World in C++


  • You cannot reply to this topic
6 replies to this topic

#1 Wonopon

    Ubernewbie

  • Members
  • Pip
  • 4 posts
  • Major:N/A
  • Status: Unspecified

Posted 12 February 2011 - 07:13 PM

This is one way of creating a program that displays the message "Hello World" in C++ :

#include <iostream>
using namespace std;

int main() 
{
    cout << "Hello World!" << endl;
    return 0;
}



#2 HereIAm

    Devout Techie

  • Members
  • PipPipPip
  • 225 posts
  • Gender:Male
  • Location:New York
  • Interests:Showing love and affection.
  • Major:N/A
  • Class of: 2013
  • Status: Student

Posted 04 March 2011 - 09:44 PM

God damn you're a f*&king pro

#3 DBest

    Spammer

  • BTHSnews Club
  • PipPipPipPipPipPip
  • 874 posts
  • Gender:Male
  • Location:brooklyn
  • Interests:Anime, drawing, Acting, investing, money, reality t.v., cartoons, internet surfing, my future, technology, modeling (not much, goes with acting), my health, cute girls (their every non homo man's interest), science, math, action/adventure movie or games, etc. many more....
  • Major:Applied Physics
  • Class of: 2011
  • Status: Student
  • College:SUNY Binghamton

Posted 04 March 2011 - 10:45 PM

So much easier on python...

print("Hello, World!")
You can't expect to do everything, but there is everything to be expected.

#4 Ilya R.

    The Boss

  • Admins
  • PipPipPipPipPipPip
  • 991 posts
  • Gender:Male
  • Location:Sheepshead Bay
  • Interests:Music, Programming
  • Major:Computer Science
  • Class of: 2012
  • Status: Student

Posted 05 March 2011 - 11:49 PM

View PostDBest, on 04 March 2011 - 10:45 PM, said:

So much easier on python...

print("Hello, World!")


Same goes for PHP, yay!
The Parlor Generals // Guitarist
Music Club // Vice-President
BTHSnews // Director of Operations & Web Administrator
Computer Science '12
===============================================

#5 Matthew W.

    Flownyx.NET

  • Members
  • PipPipPip
  • 116 posts
  • Gender:Male
  • Location:Brooklyn Technical H.S
  • Interests:PHP, HTML5, Javascript
  • Major:N/A
  • Class of: 2013
  • Status: Student

Posted 07 March 2011 - 07:12 PM

PHP:

<?php
echo "Hello World!";
?>



It can't get any easier than that :P
Posted Image

#6 Tsukasa

    Ubernewbie

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:Maspeth
  • Interests:Anime, gaming, C, Python, IRC, Dogs.
  • Major:Software Engineering
  • Status: Pre High School

Posted 04 March 2012 - 02:02 PM

View PostMatthew W., on 07 March 2011 - 07:12 PM, said:

PHP:

<?php
echo "Hello World!";
?>



It can't get any easier than that :P

Umm, yes it can- Python!

Of course, C++ is cancerous and you should kill it in favor of something like C, Python, or C#, even.

#7 HereIAm

    Devout Techie

  • Members
  • PipPipPip
  • 225 posts
  • Gender:Male
  • Location:New York
  • Interests:Showing love and affection.
  • Major:N/A
  • Class of: 2013
  • Status: Student

Posted 01 April 2012 - 10:53 AM

English: "Hello World"

but please don't hack my life with your C++ skills.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users