I haven't done C++ in ages, and I need a program that can delete every other line in a text file.
I need it because I'm analyzing hex code in a text file which outputs data in this fashion:
sent hex code
received hex code
sent hex code
received hex code
sent hex code
received hex code
etc.
I need to delete the received hex code, and just be left with the sent hex code.
Can anyone help me out? I'd really appreciate it! :)