指针传递给库文件? [英] pointer passing to library files?
本文介绍了指针传递给库文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用c将指针值从一个函数传递到动态创建的库函数?
请帮助我...
Hi,
How to pass a pointer value from one function to dynamically created library function using c?
Please help me...
推荐答案
只需将传递作为参数即可;它不会造成任何问题.我只建议您在同一可执行模块和同一堆栈框架中分配和取消分配该对象.
—SA
Just pass is as a parameter; it won''t cause any problem. I only would recommend that you allocate and deallocate the object in the same executable module and in the same stack frame.
—SA
这篇关于指针传递给库文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文