有个关于C语言的题目问大家,,请教高手~~~
有一个文件,里面内容是:Sharename Type Comment
--------- ---- -------
E$ Disk X$q+
IPC$ IPC \
IPC
FavoriteVideo Disk
G$ Disk X$q+
Downloads Disk
$qw
F$ Disk X$q+
ADMIN$ Disk \
H$ Disk X$q+
C$ Disk X$q+
session request to 192.168.1.67 failed (Called name not present)
session request to 192 failed (Called name not present)
Server Comment
--------- -------
Workgroup Master
--------- -------
读这个文件,将文件中包含$,session, -,Server,Workgroup,IPC,Sharename的行去掉。。。用C语言写,请告诉帮忙啊
[ 本帖最后由 csdn_linux 于 2010-9-9 21:39 编辑 ]