书山有径勤为路>>>>>>>>

<<<<<<<<学海无涯苦作舟!

2012年5月6日

指针的简单应用

摘要: 题目:http://acm.swust.edu.cn/oj/problem/448/在本题中我实现了用指针读入字符串的功能。并通过指针的操作来实现本题的功能。View Code #include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char *str, *p; char *sen, *sp; char ch; p = (char *)malloc(sizeof(char)); str = p; while(scanf("%c", &ch)!=EOF){ i 阅读全文

posted @ 2012-05-06 19:56 More study needed. 阅读(192) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 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
30 31 1 2 3 4 5

导航

统计

书山有径勤为路>>>>>>>>

<<<<<<<<学海无涯苦作舟!

点击右上角即可分享
微信分享提示