Android iOS fopen and data

Android iOS fopen and data,第1张

概述摘要:Android iOS fopen and data okay...it‘s weired I am not sure it‘s restrict by the OS or something else... if I want to make a data like this FILE*l_pFile = fopen("ooxx","r"); int l_iLength = GetFile

摘要:AndroID iOS fopen and data


okay...it‘s weired I am not sure it‘s restrict by the OS or something else...

if I want to make a data like this

file*l_pfile = fopen("ooxx","r");

int l_iLength = GetfileSize(l_pfile);


voID*l_pfileData = malloc(l_iLength);


voID*pData = something frome?l_pfileData

while I fetch data from?pData
it crush......it‘s fucking weired...
so I just have to malloc new data for?pData and copy I want to avoID crush...

it‘s quite possible it was crush because malloc...I am not sure.

原文:大专栏  Android iOS fopen and data

总结

以上是内存溢出为你收集整理的Android iOS fopen and data全部内容,希望文章能够帮你解决Android iOS fopen and data所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1121560.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-29
下一篇2022-05-29

发表评论

登录后才能评论

评论列表(0条)

    保存