谁帮我解决一下这个问题啊 ?小弟刚到贵地!
"给水管","","蝶阀","DN500","个","1","","" "雨水管","02S515,页17","雨水检查井","%%c1500","座","18","",""
"雨水管","02S515,页18","雨水检查井","%%c1500","座","1","",""
"雨水管","02S515,页12","雨水检查井","%%c1000","座","25","",""
"给水管","","盘插简化短管","DN300","米","1","",""
"雨水管","02S515,页10","雨水检查井","%%c700","座","5","",""
"雨水管","02S515,页32","水封井","1100x1100","座","2","",""
"雨水管","95S518-1,页10","雨水口","","座","1","",""
"给水管","","给水铸铁管","DN500","米","1413","",""
"雨水管","","II级钢筋混凝土管","dn1000","米","485","",""
"污水管","02S515,页28","污水检查井","%%c1500","座","2","",""
"雨水管","","II级钢筋混凝土管","DN1000","米","35","",""
"雨水管","","II级钢筋混凝土管","DN500","米","140","",""
"雨水管","","II级钢筋混凝土管","dn300","米","377","",""
"雨水管","","I级钢筋混凝土管","DN1000","米","376","",""
"污水管","02S515,页25","污水检查井","%%c1250","座","5","",""
"雨水管","","I级钢筋混凝土管","DN500","米","475","",""
"雨水管","","I级钢筋混凝土管","DN400","米","100","",""
"雨水管","","I级钢筋混凝土管","DN300","米","3","",""
"污水管","","I级钢筋混凝土管","DN700","米","1038","",""
这是一个文件的内容。。。。把这些数据的每一行的各项的逗号和分号去掉后存到结构中!!
----------------解决方案--------------------------------------------------------
fopen打开用strcpy存到一个超大的数组中然后用循环去掉逗号和分号
最后在写到文件中?
瞎说的.呵呵.
csdn上没人回答你吧?哈哈,那里都是牛比人,没人愿意理我们菜鸟的.
----------------解决方案--------------------------------------------------------
这里面没有分号啊!能不能说得具体一点,是不是每个引号中的内容为需要存入的一项呢?
----------------解决方案--------------------------------------------------------
不管有没有人回答,提问者也要端正态度,注册ID就为了问一个问题,
而且还提问不明不白的,难怪没人回答了。
----------------解决方案--------------------------------------------------------
什么叫读到内存里面啊......如果要读,应该说明下文件结构啊.
我感觉直接用excel就能打开了!
----------------解决方案--------------------------------------------------------