1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

"Hello World"

Discussion in 'Programming' started by ZeMysticalTaco, Mar 6, 2014.

  1. ZeMysticalTaco

    ZeMysticalTaco yo i'm a taco have some lunch Clockwork Customer

    Since I don't trust wikipedia, I'm going to ask here.

    Where did Helloworld first come form? Why is it used as an example?
     
  2. Kamoca

    Kamoca Guest

    It's a basic msg command, It can't do shit besides paste something into the console, Learn LUA.
     
  3. Datzy

    Datzy Guest

    He's asking about the history. Also, it's not a command, it's a string of characters.

    Anyway, I'd trust Wikipedia on the matter. There's a reason they have references at the bottom.

    [​IMG]

    Relevant sources:
    http://cm.bell-labs.com/cm/cs/who/dmr/ctut.pdf
    http://cm.bell-labs.com/cm/cs/who/dmr/scbref.pdf


    [​IMG]



    It's used as an example because it's friendly, simple, and a greetings to the world of programming.
     
  4. Are you serious just use wikipedia

    Your english teacher is a fucking lier
     
  5. ZeMysticalTaco

    ZeMysticalTaco yo i'm a taco have some lunch Clockwork Customer

    much obliged guy.

    now i can write a paper

    (kuro pls dont dmca me for writing paper)
     
  6. Zaughi

    Zaughi HAMMER

    I broke this script many, many times.
     
  7. TheDogFather

    TheDogFather Guest

    I can barely do this, yet I can make SWEPs. This confused me alot. lol
     
  8. Datzy

    Datzy Guest

    What can't you understand?

    Also, SWEPs aren't hard to make.
     
  9. TheDogFather

    TheDogFather Guest

    Exactly. Lol.
     
  10. Datzy

    Datzy Guest

    What don't you understand about a Hello World program?

    something
    Code:
    io.write("Hello, World!")
    C++
    Code:
    int main(){
      std::cout << "Hello, world!" << endl;
      return 0;
    }
    Python 3
    Code:
    print("Hello, world!")
    Python 1,2 .. Perl .. a lot of other languages (Lua too iirc)
    [​IMG]
    yeah, lua too
    Code:
    print "Hello, world!"
    Brainfuck
    Code:
    [-]>[-]<
    >++++++++[<++++++++>-]<++++++++.
    >+++++[<+++++>-]<++++.
    >+++[<+++>-]<--.
    .
    +++.
    >++++++++[<-------->-]<---.
    >+++[<--->-]<---.
    >+++++++++[<+++++++++>-]<++++++.
    >+++[<--->-]<+.
    +++.
    >++[<-->-]<--.
    >+++[<--->-]<+.
    >++++++++[<-------->-]<---.
    Haskell
    Code:
    module Main
      where
    main = putStrLn "Hello, world!"
     

Previous Readers (Total: 0)