猫史档案馆


奇奇怪怪的hello world收录

用户:86135clc86135clc查看:210 回复:11 评论:11 创建时间:2020-12-05T13:00:31


什么语言的都可以,中文英文之类的还有H喵L、CSS除外

程序越短越好,尽量找个最短的


回复

上一页第 1 页 / 共 1 页下一页
86135clc86135clc

Python

import __hello__

点赞0


评论


86135clc86135clc

C

#include<stdio.h>
int main(){printf("Hello, world!");}

点赞0


评论


86135clc86135clc

JS

alert("Hello, world!")

点赞0


评论


地狱石QAQ地狱石QAQ

C++

#include <iostream>
using namespace std;

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

点赞0


评论

不够短,把换行符都去掉

那我搞缩进来一次

注明是第二版


地狱石QAQ地狱石QAQ

C++(第二版,真的最短了(

#include <iostream>
int main() { std::cout << "Hello World!"; return 0; }

点赞0


评论

你这还不是最短的


反正是个球反正是个球

C#:

C喵ole.WriteLine("Hello world");

点赞0


评论

不是Hello world,是Hello, world!啊


86135clc86135clc

C++第三版

#include<stdio.h>
int main(){printf("Hello, world!");}

ohhhhhh

点赞0


评论

照搬C。。。。。。


86135clc86135clc

喵

点赞0


评论

dd

dd


86135clc86135clc

///

Hello, world!

--------------------------------------------------

PHP

Hello, world!

点赞0


评论

ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh


86135clc86135clc

已收录:

Python C JS 喵P PHP ///

点赞0


评论

C PP(C++)

屏蔽词啊,烦人


86135clc86135clc

C第二版andC++第四版

#include<stdio.h>
int main(){puts("Hello, world!");}

点赞0


评论