basic/advanced_type/struct #77
Replies: 3 comments 4 replies
-
zig(V0.11.0)的标准库似乎没有像C的memcmp那样直接判断两个结构体是否相等的API? |
Beta Was this translation helpful? Give feedback.
3 replies
-
@fieldParentPtr 返回的是struct的指针 |
Beta Was this translation helpful? Give feedback.
0 replies
-
上面结构何的“fn area(self: *Circle) f16 ”,是否应当是下面的更合适: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
basic/advanced_type/struct
简单、快速地学习 Zig,ziglang中文教程,zig中文教程
https://course.ziglang.cc/basic/advanced_type/struct.html
Beta Was this translation helpful? Give feedback.
All reactions