指向类的指针声明

问题描述 投票:0回答:1

我开始使用GTK +学习C。

请参阅下面的代码:

静态无效激活(GtkApplication *应用程序,gpointer用户数据)“

为什么间接运算符*在“ GtkApplication”类的末尾而不是在“ app”的开头

使用GtkApplication * app最常见吗?

谢谢。

c gtk
1个回答
0
投票
int* ptint * ptint *pt等根据C标准都是等效的
© www.soinside.com 2019 - 2024. All rights reserved.