#include <stdio.h>
int
main
(
int
argc
,
char
*
*
argv
)
{
printf
(
"Hello, world!\n"
)
;
return
0
;
}
vs#include <stdio.h>
int main(int argc,char**argv){printf("Hello, world!\n");return 0;}
import std.stdio;
void main()
{
"Hello world".writeln;
}
echo Hello world
>>60580265#include <stdio.h>
main()
{
printf ("Hello World\n");
}
with Ada.Text_IO;
proceudre kyoko is
package IO renames Ada.Text_IO;
begin
IO.Put("Hellow World");
IO.New_Line;
end kyoko;
>>60580265
public class HelloWorld
{
public static void main
(String[] args)
{
System
.out.
println
("Hello, World");
}
}
print('Hello world!')
Easy
>>60582672
Python fags not allowed here
>>>/v/
fun main(args: arrayOf<String>){
println("Hello World!)
}
perl -e "print 'Hello, world'"
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
>>60580265echo "Hello World"
#include <iostream>
int main()
{
std::cout << "Hello, World!\n";
}
C++ is a horrible language
>>60582741
>i hate it because it is easy and friendly.
>>60583052
>easy
Not an argument.
>friendly
Not an argument.
>>60583052
>t. scriptkiddie
ur not welcomed here+---------------+
| |
| * * |
|* * * * |
|* * *|
|* * *|
|* * * |
| * * * |
| * |
+---------------+
+---------------+
| |
|* * * |
|* * * |
| * *|
| * *|
|* * * |
|* * * * |
| * |
+---------------+
+---------------+
| |
|* ** * * |
|******* *** * |
| **** * * ***|
| **** * ******|
| ****** ** * |
| * * * * |
| * |
+---------------+
+---------------+
| |
|******* *** * |
|******* *** * |
| ** *|
|* * * *|
|******* ** * |
|******* *** * |
| * |
+---------------+
+---------------+
| |
|******* *** * |
|******* *** * |
| * * * *|
| * * * *|
|******* ** * |
|******* ** * |
| * |
+---------------+
+---------------+
| |
|***** * *** * |
|******* *** * |
| * * * * |
| * * * |
|****** ** * |
|****** ** * |
| * |
+---------------+
+---------------+
| |
| * * * |
|***** * ***** |
|***** ** * ***|
|***** ** * ***|
|******* * ** |
| * * * * |
| * |
+---------------+
+---------------+
| |
| |
| * * |
| * * |
| * |
| * |
| |
| |
+---------------+
>>60583202
>I don't like it so you should go to another board!
that is not an argument either friendo
>>60582672
Get on my level"Hello world"
>>60583029
stream syntax is shit, just go back to printf
>>60583386
No.
>>60583386std::cout << 4 << 4;
44std::cout << (4 << 4);
64
>>60583942
your point being?
>>60583052
>friendly
that's not true
>>60584028
c++ sucks ass
>>60583202
Fast code is worthless if you spend 90% of it's lifetime developing it to be efficient.
A dev time for run time tradeoff is not unreasonable. Get with the times grandpa.
>>60582741
(format t "Fuck you for hating interpretted languages")
echo hello world
Why dont you use scripts?
>>60583942
printf("This is my line \n this is my other line.\n");
std::cout << "This is my line" << std::endl << "This is my other line." << std::endl ;
which one looks less like cancer anon.
>>60584561
alias hello_world="echo hello world"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00"
declare i32 @puts(i8* nocapture) nounwind
define i32 @main()
{
%hcast = getelementptr [15 x i8], [15 x i8]* @.str, i64 0, i64 0
call i32 @puts(i8* %hcast)
ret i32 0
}
>>60584561
>Not using MsgBox("Hello, world!")
>>60584544
Use Nim. It's faster than python but it has a python syntax
>using printf instead of puts for string literals
>>60583308
You better get on mine
Hello world
#include <u.h>
#include <libc.h>
void
main(int argc, char *argv[])
{
print("Hello, World\n");
exits(0);
}