用各种编程语言来说 I love you
1. JAVA
1 | public class HelloWorld #如果有 public 类的话,类名必须和文件同名,注意大小写 |
2. C
1 | #include <stdio.h> |
3. C++
1 | #include <iostream> //std::cout 要用到的头文件 |
4. python
1 | >>> print "I love you!" #Python 2.x |
5. C
1 | using System; |
6. JavaScript
1 | var sys = require ("sys"); |
7. R
1 | print("I love you!") |
8. HTML
1 | <!DOCTYPE HTML> |
9. VB
1 | Module Hello |
10. SHELL
1 | > echo "I love you!" |