scropioczn
楼主定义的

weeken2013 发表于 2013-4-9 21:47

[mw_shl_code=c,true]

#include

#include

楼主定义的Point只是单纯结构体,不是变量类型啊,肿么cast?你要么把parameter里面写成struct Point *a, struct Point *b

或者用typedef把Point改成变量类型。

还有<stdbool.h>里面的bool应写成_Bool,eg. _Bool a = false;

你可以自己点开library去看定义。