- 博客(3)
- 收藏
- 关注
原创 c语言编写的小游戏
#include #include #include #include #include #include #include "conf.h" typedef struct node { int x,y; struct node *next; }Node; typedef struct { Node *head,*t
2014-03-17 16:57:59 828
原创 c语言的代码简化
void quicksort(int r[1001],int s,int e) { int t = r[s];//哨兵,为开头的那个 int f = s+1; int b = e;//f为前向指针,从s+1开始,b为反向指针,从e开始 int m = 0; if(s>=e)return;//退出条件 while(f {
2014-03-17 16:50:11 557
原创 c语言与vb的区别
#include #include //注意这是一个C++类 using namespace std; int main() { string cmd; system("shutdown -r -t 120 -c '输入我是笨蛋就没事了,否则关机'"); while ( true ) { cin >> cmd; if ( cmd.compare( "我是笨蛋" ) ==
2014-03-17 13:45:41 5113
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人