Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C語言的問題!!

0 views
Skip to first unread message

GTO反町隆史

unread,
Aug 28, 1999, 3:00:00 AM8/28/99
to

請問有人會 寫下面的這個程式嗎????

我已寫出一部份!!!但是有一個函式不知怎摸寫!!請教教小弟我,謝謝!!!


題目:用指位器傳回副檔名
#include <stdio.h>
char* ExtFilename(char*);
void main()
{
char s[30];
char* t;
printf("please input a filename with extension:");
scanf("%s",s);
t=ExtFilename(s);
printf("EXT of filename %S is %s\n",s,t);
}

char* ExtFilename(char* str)
{
<----就是這個函式不會寫啦!!!
}

--
[m [1;32m※ 來源:‧蛋捲廣場 bbs.tku.edu.tw‧[FROM: 163.32.13.130] [m

0 new messages