why is this behaviour happening ?

No description
No description
No description
No description
8 Replies
CaramelCorn
CaramelCorn2y ago
it's crashing partway through
.maverk
.maverkOP2y ago
i got to try in linux and c but why crashing ???? windows is so bad for development
CaramelCorn
CaramelCorn2y ago
because reading from the end of the file is an invalid memory location to access
.maverk
.maverkOP2y ago
I have just tried in linux and you are right the content never disappear but i am not really sure if c is creating a new file withe the same content or idk
CaramelCorn
CaramelCorn2y ago
different operating systems have different memory safety standards so 🤷‍♀️
.maverk
.maverkOP2y ago
i see carmen
CaramelCorn
CaramelCorn2y ago
delete the file and try again to find out
.maverk
.maverkOP2y ago
let me see it does creating the file with the string but never shows the result of that file the file never gets erased in linux weird windows yeah yeah you are right

Did you find this page helpful?