为int * i和为int *我的区别 [英] difference between int* i and int *i
本文介绍了为int * i和为int *我的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的转换C语言编写的德尔福这样我就可以使用DLL一个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 *我的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文