Ask about how to create log file
Now I use Visual C++ 6.0 and I want to create log file which I can write some message in it and after creating that log file cannot edit text in it (not like file .txt which can edit text after creating). Do you know where can I find library or ? If you know how to solve my problem, please tell me.
Thank you for your kind.
you could write the log into STL strings
write the log into STL strings, or some odd construct, then you could open a file as binary and save your std::strings into it. You know the contents of the file so you could read it... (or some real weak encryption (check out my xor encryption program here: http://www.cprogramming.com/source/jtxor.cpp)
you could modify that to meet your own needs :)