📄 lines.h
字号:
//All this does is set up the structs for points and for lines. it then sets the functions to be called by the other .c files.struct point{ double x; double y;};struct line{ struct point p1; struct point p2;};double length_line(struct line*);double distance_between_points(struct point*, struct point*);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -