lines.h
来自「Computes the length of a line using two 」· C头文件 代码 · 共 17 行
H
17 行
//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 + =
减小字号Ctrl + -
显示快捷键?