原创 C語言,優先級隊列
#include <stdio.h> #include <stdlib.h> #include <string.h> #define MinPQsize 10 #define MaxData 32768 struct heapSt
原创 js獲取日期昨天,明天以及上月最後一天的日期
function getDateStr(AddDayCount) { var dd = new Date(); dd.setDate(dd.getDate() + AddDayCount); //獲取AddDa
原创 c語言 分割函數的實現
#include<stdio.h> #include<string.h> #define SIZE 10 int my_split(char *p[SIZE], char str[],char const *sep) {
原创 C# 處理XML文件的類
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.IO;usi