原创 貪喫蛇----C語言實現
#include <Stdio.h> #include <Conio.h> #include <graphics.h> #include <stdlib.h> #include <dos.h> #define MaxNode 30
原创 urlrewrite與struts2結合使用配置
本文側重在urlrewrite與struts2的結合配置時需要注意的地方,重點不在urlrewrite規則的具體配置。 如果對urlrewrite的配置想進行更深入的瞭解解,請查看下面鏈接 Java-UrlRewrite中文官方文檔 下
原创 單鏈表操作演示----C語言實現
/*單鏈表操作程序 可進行單鏈表的建立、輸入、輸出、插入、刪除、查找、替換操作。 程序以int型爲例,若需使用其他類型數據只需修改數據定義輸入輸出即可。 #include "Stdio.h" #include "Conio.h" #i
原创 考試成績的統計管理----C語言實現
#include <stdio.h> #include <stdlib.h> #define N 100 typedef struct { int n; int c1; int c2; int c3; int ac;
原创 約瑟夫生死實驗----C語言實現
#include <stdio.h> #include <stdlib.h> typedef struct node { int num,code; struct node *next; }lnode; int main
原创 文章編輯----C語言實現
#include <stdio.h> #include <string.h> #include <stdlib.h> #define N 3 char str[N][80]; int i,j; int len[N]; int dnum
原创 貪吃蛇----C語言實現
#include <Stdio.h> #include <Conio.h> #include <graphics.h> #include <stdlib.h> #include <dos.h> #define MaxNode 30
原创 八皇后問題求解----C++實現
#include <iostream> #define NUM 8 using namespace std; typedef struct Empress { int x; int y; int flag; bool IfE
原创 計算加權平均成績----C++實現
#include <iostream> using namespace std; #define N 30 class Subject { public: Subject(float x, float y) { fScore