|
-
Aug 29th, 2001, 04:03 AM
#1
little program, help needed
I need a small program, and I'm stuck.
The program should read in an entire file and remove everything between two control phrases (including the control phrases). It should then write the result to a new file.
The control phrases are:
//!!COMMENT marks the start
ENDCOMMENT!!// marks the end
Th program should be a console app called like this:
program srcfile dstfile
Is there anything available or has anybody got tips for me?
How do you get the file length? How do you edit the puffer?
Thx in advance
All the buzzt
CornedBee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|