摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include typedef struct node { int value; struct node* next; }node, *node_list; vo... 阅读全文
posted @ 2009-03-02 01:13 谭志宇 阅读(675) 评论(0) 推荐(0)
摘要: #include using namespace std; int main() { int a[30]; for(int i = 1; i <= 30; i++) a[i-1] = i; int num = 30, j= 0; int *current = a; while (num != 1) { if ((current == a+30 ) || (*current =... 阅读全文
posted @ 2009-03-02 01:12 谭志宇 阅读(194) 评论(0) 推荐(0)