appending to file
-
have this code in secure shell and I want to keep log of the users input I fopen the file in the beginning and fprinf on the data specific that needs to be written then at end of file I fclose it the problem is that its not writing the file when I cat gamelog it just sends me to the next calling line ??????
-
have this code in secure shell and I want to keep log of the users input I fopen the file in the beginning and fprinf on the data specific that needs to be written then at end of file I fclose it the problem is that its not writing the file when I cat gamelog it just sends me to the next calling line ??????
-
have this code in secure shell and I want to keep log of the users input I fopen the file in the beginning and fprinf on the data specific that needs to be written then at end of file I fclose it the problem is that its not writing the file when I cat gamelog it just sends me to the next calling line ??????
Member 12084559 wrote:
??????
We have the same question! What does the code look like? You've told us what you want, and what is actually happening, but without seeing the code, it's anyone's guess.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles