Show menu

Skip to content
  • Home|
  • About|
    • Contact|
    • Support this site|
  • Blog|
  • Archives|
    • WordPress|
    • Web Design|
    • Software|
    • Robotics|
    • LEGO|
    • Tutorials|
  • Plugins|
    • Code Snippets|
    • BuddyPress Security Check|
    • Post Formats|
    • Personal Email|
    • Bookmarks Shortcode|
  • Resources|
  • PortableApps|
    • Bricx Command Center Portable|
    • ColorConsole Portable|
    • NeXT Commander Portable|
    • QuickPHP Portable|

Shea Bunge

Google+ GitHub WordPress WordPress Stack Exchange Twitter Subscribe Contact
You are here: Home / Hello World!

Hello World!

Published on 20th October 2011
Hello World!

When you learn a new programming language, usually the first program you learn prints or outputs the text Hello World! As I learn more programming languages I will add to this post.

C++

#include <iostream>
using namespace std;

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

Not eXactly C (NXC)

task main() {
	TextOut(0, LCD_LINE1, "Hello World!");
	Wait(1000);
}

PHP

<?php

echo "Hello World!";

?>

JavaScript

document.write("Hello World!");
alert("Hello World!");

HTML

<p>Hello World!</p>

CSS

body:before{
	content: "Hello World!";
}

Next Byte Codes (NBC)

thread main
TextOut(0, LCD_LINE1, 'Hello World!')
wait SEC_10
endt

Batch file

@echo Hello World!
@pause

AutoHotKey

MsgBox Hello World!

Share this:

Like this:

Like Loading...

Possibly Related Posts

  1. There are 10 types of people in this world
  2. Maintain a complete social media presence with Buffer
  3. How to check if a shortcode has been registered in WordPress
  4. Resources
Posted in Other | Tagged Not eXactly C, Programming | Leave a response

Post navigation

Portable Software →

Leave a Reply Cancel reply

About Me

Hi! My name is Shea; I'm a teenage Web developer. I specialise in WordPress and PHP code, and I make lots of cool open-source projects. Read more…

Stack Exchange

Combined Stack Exchange profile for bungeshea

Affiliates

ManageWP Dropbox .htaccess made easy Pippin's Plugins

Follow Blog via RSS

RSS Feed RSS - Posts

RSS Feed RSS - Comments

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 15 other subscribers

Copyright © 2013 Shea Bunge

Proudly powered by WordPress

Follow me on Twitter

My Tweets

Buffer

Be awesome on social media. Easily add great articles, pictures and videos to your Buffer and we automagically share them for you through the day!

Signup to Buffer using the button below and we'll both get awesome extras!

Signup to Buffer

Dropbox

Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!

Signup to Dropbox using the button below and we'll both get 500 MB of bonus space (on top of the usual 2 GB)!

Signup to Dropbox

RSS The NXT Generation Robotics

  • Paper plane folding and shooting robot
  • LEGO MINDSTORMS EV3
  • Code for RoboCupJunior Rescue now available on GitHub
  • Everything you need to know about the ultrasonic sensor
  • RoboCupJunior Hobart Regional 2012: Round 1

RSS LEGO BrickFORCE

  • LEGO Minifigure Infographic
  • LEGO Star Wars 2013: First pictures finally!
  • LEGO Star Wars 2013: A sneak preview
  • Brixhibition Announced
  • A new look
  • Archives
  • About Me
  • Contact Me
  • Donate
  • Privacy Policy
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
%d bloggers like this: