Writing/Reading to and from log
Hello Community members,
First of all i want to say that i am very very new to C++ as i am looking into it because of a project i am working on which requires me to look into it.
Also i am new to this forum so also hello from me!
I am looking for some startup information for a function in my server program.
I'm trying to create a program that does the following things.
1:Reads information from a log file (let we say log.txt).
2:Looks for logdata example: -->
(for the gamers under us, its a punkbuster violation).
PBSV: VIOLATION (CVAR) #9001: banlist (slot #1) Cvar wallhack = 1 [337006ect.ect.ect.(VALID) 04.10.00.08:28960]
3:Write this to a new logfile called gbl.txt.
After that the question is: is it possible for C++ to execute a TELNET command automaticly by the information gather by the LOG (in the other question)
I think i leave it at that for now, so where i am hoping for is, which functions i need, or a example of it. Also if everything i asked is possible or not.
(I am not asking you to WRITE it, although it would be nice :P but well we all have our limits!
Thanks in advance!