- 1
How to create a txt file that writes live
I know a little weird questions but I made a keylogger and it works(outputs the keylogger) but only if I close the console I want to do it so when I write in the console for example it will write it in the txt file at the same time I write in the console I am now using fstream to write the file
14 Answers
0
Then you can't do that
0
You can't make a changes while the program is running!!! You should know that
0
I don't wanna bet, I know that you can't do that especially in c++. How can't you understand? There's no way to do that until the program is finished with execution. While program doesn't reach return 0; it is working! after that you can see changes
0
Show me pls
0
It's a bullshit man, you don't even know what's written there
0
Wow ok noob, I don't believe you bcs you don't know what even means auto even that you knew to change something here...
- 1
It will write just reopen file...
- 1
Dejan Francuz🥇 Yes, you can. A good programmer knows that there's always a way
- 1
Dejan Francuz🥇 Damn you don't know how things work are you? How much you want to bet that there's a way
- 1
Dejan Francuz🥇 Yeah... I just found an answer
- 1
Dejan Francuz🥇 You are completely dumb. The fact is that my program works now and this was the answer to my question explain this
- 1
Dejan Francuz🥇 How can I prove it?
- 2
Dejan Francuz🥇 that is for example not true it writes it only if I close the console