c++ - How to write and read array to file using WinAPI? -
i have int* arr = new int[n]
.
how can write file list.dat
winapi
? , how can read after writing? upd: checkout tmy code pls: http://pastebin.com/eemvk8ja
well, depends on whether you're looking serialization, or if want emulate standard c/c++ file manipulation winapi.
assuming latter, @ winapi file manipulation functions: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364232(v=vs.85).aspx
Comments
Post a Comment