KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to map an array to a file via Mmap, the array could be any type, like float64. In C, I find this one . After reading some texts, I wrote this sample . I don't know if it is correct, and it is not writing the values to the file. If I increase the size of array a lot, e.g from 1000 to 10000, it crashes. If someone know how to do that in the correctly way, please, tell me. Thanks!
Tags (comma-separated)
Save Edits
Cancel