int* i 和 int *i 的区别 [英] difference between int* i and int *i
本文介绍了int* i 和 int *i 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在将用 C 编写的 DLL 的头文件转换为 Delphi,以便我可以使用该 DLL.
I'm converting a header file for a DLL written in C to Delphi so I can use the DLL.
我的问题是
int* i
和
int *i
我将第一个转换为
i: PInteger;
但我不确定 Delphi 中第二个的正确转换是什么.
But i'm not sure what the correct conversion is for the second one in Delphi.
根据我的理解,第一个是一个简单的类型指针.第二个是指针变量.但我不确定有什么区别.
from my understanding the first is a simple typed pointer. The second is a pointer variable. but i'm not sure what the difference is.
推荐答案
int* i
和 int *i
是完全等价的
这篇关于int* i 和 int *i 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文