Author Topic: print "Hello World!"  (Read 3374 times)

Hello! My name is LegoFish.

I am new, How is everyone doing?

hi my name is Mouse droidz 21, im British. welcome to blockland. something you should know:
don't bump old topics. people don't like that.
have a nice day here :D 


Hello. Prepare for people posting ALTALTLALT
Try not to be stupid.

Code: [Select]
#include <stdio.h>

int main()
{
    printf("Hello LegoFish, welcome to Blockland Forums")
    return 42;
}

Hello. Prepare for people posting ALTALTLALT
Try not to be stupid.

I'm not an alternate account, but I'll be aware.

welcome to the blockland community. don't make any mistakes because if you do then people will bandwagon and bash you for it even if time advances by five years. I learned this the hard way.

Code: [Select]
#include <stdio.h>

int main()
{
    printf("Hello LegoFish, welcome to Blockland Forums")
    return 42;
}


1: There's no semicolon on line 5
2: You should not return 42 for main(), a common practice is to return 0
3: Iostream (std::cout << x) is better than printf

EDIT: Sorry. I just had to...
« Last Edit: February 26, 2014, 05:31:41 AM by Pacnet »



1: There's no semicolon on line 5
2: You should not return 42 for main(), a common practice is to return 1
3: Printf uses the cstdio library
4: Iostream (cout << x) is better than printf
wat

anyways welcome Legofish
« Last Edit: February 25, 2014, 09:13:41 PM by Jakobblockhead »

1: There's no semicolon on line 5
2: You should not return 42 for main(), a common practice is to return 1
3: Printf uses the cstdio library
4: Iostream (cout << x) is better than printf
5. why are you judging someone's c++ code
6. you need to add in using namespace std; in order to use the code "cout << x;", otherwise you need to use std::cout << x;


dang it I'm used to using namespace std so I forgot it but okay

I'm not an alternate account
confurmied alt!11!1!

Seriously though, welcome
Once you're in,there is no turning back

Welcome to the forums
Stay out of Drama, at all costs.
Don't act stupid otherwise you'll probably get hated on.
Otherwise have fun!
Also you will never leave

congrats, you made a coding thread

congrats, you made a coding thread
i laughed harder than i should've