摘要: C语言传统的类型转换 C方式的类型转换方式:(Type) (Expression)或Type (Expression),后者比较古老。C风格的强制类型转换容易出问题,比较粗暴,如: typedef void(PF)(int); struct Point { int x; int y; }; int 阅读全文
posted @ 2020-06-29 05:00 暖浮生 阅读(269) 评论(0) 推荐(0) 编辑