我在这里用简单的C编写小程序.我需要的是直接在内存中创建一个文件(不写在硬盘上)目前我可以fopen("filename.txt,"wb")用来写入文件.
fopen("filename.txt,"wb")
我知道在linux中你可以使用fmemopen().win32有类似的解决方案吗?
fmemopen()
c windows
c ×1
windows ×1