2017-11-19から1日間の記事一覧
#include <stdio.h> #include <stdlib.h> #include "point.h" int main() { Point hoge; hoge = point_init(0,0); printf("%d %d\n", *(hoge.x), *(hoge.y)); return 0; } #include <stdio.h> #include "point.h" Point point_init(int s, int t) { Point p; p.x = &s; p.y = &t; int i =</stdio.h></stdlib.h></stdio.h>…