I am writing a dictionary number generator in c++ and i am currently using system("write.exe >> dict.txt"
;
but when i run the program i get this
(copyright stuff)
file creation error.
1
2
3
4
5
etc.
is there a more professional and reliable way to pipe everything on the screen to a text file? If so how. Also... how can i close running programs using c/c++. This one is for my pic1324.exe virus cleaner.
but when i run the program i get this
(copyright stuff)
file creation error.
1
2
3
4
5
etc.
is there a more professional and reliable way to pipe everything on the screen to a text file? If so how. Also... how can i close running programs using c/c++. This one is for my pic1324.exe virus cleaner.