⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lines.h

📁 Computes the length of a line using two (x,y) points. Uses pointers
💻 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 + -