learn markdown

测试JavaScript代码

1
2
3
4
var ihubo = {
nickName : "草依山",
site : "http://jser.me"
}

学会使用百度

  • 知道自己想要什么

    • 组合想要的东西的关键词
    • 联想可能相关的词汇以备用
  • 将想要知道的输入到搜索框

  • 在搜索结果中寻找自己想要的

    • 过滤匹配并且可信的搜索结果
    • 如果没有找到,变换关键词重新尝试

测试c++代码

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
   #include<iostream>
using namespace std;

const double PI = 3.1415926;

class Base
{
public:
void set(int v)
{
val= v;
}
int get()
{
return val;
}

private:
int val;
};

int main()
{
cout<<"hello world"<<endl;
Base b;
b.set(100);
cout<<b.get()<<endl;
return 0;
}

测试Python代码

1
print "hello"