|
-
Jun 11th, 2002, 05:13 AM
#1
Thread Starter
Lively Member
simple file question
Hi Everyone,
I have this vb code:
Open App.Path & "\" & App.EXEName & ".exe" For Binary As #1
How do I re-write this in c++ and what headers should i include?
Also I need to search for a string in the file. I've done this before but only with a text file.
Once again I used this vb code:
Do While Not MyString = "-=#NOOFFILES#=-"
Line Input #1, MyString
Loop
and just searched through the file that way, any suggestions for a good c++ method to use?
If anyone could help me out or direct me to any simple tutorials or something it'd be appreciated.
Regards,
Smithy
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
|