摘要:
创建动态数组,里面存放键盘输入的数字,回车键确定输入,-1为退出条件。#include <stdio.h>#include <string.h>#include <stdlib.h>int main(void){ int count = 0; int *p = NULL; int *prev = NULL; int new; int i; while (1) { printf("input number \n"); scanf("%d", &new); if (-1 == new) break;... 阅读全文
posted @ 2012-07-02 23:34
足迹~
阅读(284)
评论(0)
推荐(0)
2012年7月2日