View Single Post
Old 03-02-2008, 01:33 AM   #1
Mozenwrathe
Symbol of Cyric
 

Join Date: January 31, 2005
Location: Mississauga (Toronto), Ontario, CANADA
Age: 49
Posts: 1,214
Question Mark Does Anyone Know C++

I wanted to submit this to Ziroc as a way for players to delete their own characters within the module but... the program doesn't work. I don't know C++ so I can't tell you why it doesn't work exactly.

http://nwvault.ign.com/View.php?view...Detail&id=1260

this is where the program and test module can be found.
what it seems to want to do is
- create a directory
- copy all the *.bic files into *.txt files
- find the ones that have "DeleteMePlease" in their file
- and then delete... just the text files.

Something in that lineup just doesn't add up. This is what I think it should be doing...

- rename all the *.bic files to *.txt, or
- make copies of all the *.bic files to *.txt, thereby having duplicates
- look for that string value in the *.txt file
- delete all *.txt files with that string value
- delete all the matching *.bic files

But I don't know how to program anything. So I am skunked. Any ideas?
__________________
There are no paths to power which are not fraught with confrontation. No matter the battle, a lesson must be won. In the end, the path shall fade into nothingness for the one walking it, but may go on for eternity for those whom choose to follow. One must know their own footsteps before taking that first step, or instead of choosing your battles, your battles will choose you.
Mozenwrathe is offline   Reply With Quote