Topic: 再问文件同个数组问题

  Print this page

1.再问文件同个数组问题 Copy to clipboard
Posted by: mj117
Posted on: 2005-05-05 16:05

现处理一个html和txt文件.但在改写文件内容时出现问题,如下:
1:
我能读文件,但是我想改正html文件中的字符,如把<...>,全部换为%,该怎么换,我发现write不能完成这个任务.
2:
就是我能换成的一串%%%%,怎么改成仅留一个$
3;
怎样把创建一个没有固定大小的动态数组

在此现谢过各位兄弟了

2.Re:再问文件同个数组问题 [Re: mj117] Copy to clipboard
Posted by: ftang
Posted on: 2005-05-05 22:55

about q1, q2 --- tooooooo easy....you have to think about it....and give out your thought...I will help you to finish it...OK?

q3 -- there is no 动态数组... at least I never met this term in english, you have to take look Collection Frame work of java...figure out the best solution for you...

3.Re:再问文件同个数组问题 [Re: ftang] Copy to clipboard
Posted by: why
Posted on: 2005-05-05 23:56

ftang wrote:
you have to think about it....and give out your thought...I will help you to finish it...OK?

I like this.Smile

4.Re:再问文件同个数组问题 [Re: mj117] Copy to clipboard
Posted by: ftang
Posted on: 2005-05-06 01:20

Thx...why, I remember when I was junior...
there is no bbs, no internet...
and the senior guy don't even talk to you...all I have is a Professor Tan's C book, project source code and a little doc...

because we had hard time before so we want to help newbies now...
I think that is the way that help our own motherland IT business....
but that not means you don't need even think...and throw out questions just for answers...in this case...you will never improve...


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923