摘要: #include "stdio.h" #include "malloc.h" #define MAX 100 typedef char VertexType; int visited[MAX]; typedef struct node { int adjvex; struct node *next; 阅读全文
posted @ 2024-07-06 11:50 Dr丶云幕 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 查看代码 #include "stdio.h" #define MAXSIZE 100 typedef struct { char ch[MAXSIZE]; int Len; }String; int StrLength(String *S) { int i= 0; while(S->ch[i]!= 阅读全文
posted @ 2024-07-06 11:49 Dr丶云幕 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 第一代日期类 Date:精确到毫秒名代表特定的瞬间 配合使用的有SimpleDateFormat:格式和解析日期的类;格式化和解析日期的具体类。它允许进行格式化(日期到文本)、解析(文本到日期)和规范化 注意:Date类是在java.util中。 默认输出国外日期格式。 public class D 阅读全文
posted @ 2024-07-06 11:48 Dr丶云幕 阅读(16) 评论(0) 推荐(0) 编辑