📄 main.c
字号:
/* * main.c * * Phil Cox, B00XXXXXX * Login: pcox * CSCI2132: Assignment 3 * */#include <stdio.h>#include <stdlib.h>#include "list.h"#include "getpoints.h"#include "travel.h"#include "plotTour.h"int main(){ struct node *points; /* Read the list of points from standard input */ points = getpoints() ; /* Find a tour and print its length to standard error */ fprintf(stderr,"Tour length: %f\n", travel(&points)); /* Plot the tour as Postscript printed to standard output */ plotTour(points); exit(EXIT_SUCCESS);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -