说明:入行两年多,在CSDN上收获良多,今天开始写博客,内容为各个主流语言的入门程序,也算是开始博客之路吧!
C语言入门
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
c++入门
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
java入门
import java.util.*;
public class HelloWorld{
public static void main(String[] args){
System.out.println("Hello World!");
}
}
Python入门
print("Hello World!")