- 博客(9)
- 收藏
- 关注
原创 php mysql更新数据库接入超链接问题
前几天做一个东西,有一个$_GET到当前页的值就是没法赋给数据库中的ID,(这个头疼了两天,),后来突发奇想,换了一种思路,代码如下: <form action="update.php" method="post" name = "myform" onsubmit="return CheckPost();"> 用户ID:<input type="text"
2015-12-09 20:08:51 739
原创 实验八.字符串排序
直接上代码#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> #define M 10 #define N 10 typedef struct student { char name[M]; }student; typedef struct { student data[N];
2015-12-07 16:05:42 704
原创 实验七(以邻接矩阵为储存方式的广度优先搜索和以邻接表为储存方式的深度优先搜索方式)
#include<stdio.h> #include<stdlib.h> #define MaxVertexNum 100 #define N 100 typedef char VertexType; typedef int EdgeType; int visited[N]; typedef struct { VertexType vexs[MaxVertexNum]; EdgeT
2015-12-07 16:00:25 1357
原创 实验三的迷宫问题
先上代码#include<stdio.h> #include<stdlib.h> #include<time.h> #define SIZE 7 #define MAX 1024 //typedef int Elemtype; typedef struct//路径方块查找方向的数据结构 { int x; int y; }Direction;typedef struct //路径方
2015-12-07 15:51:26 470
原创 实验一的第二个又叫并集。
# include<stdio.h> # include<stdlib.h> # include<string.h> # define MAX 1000 typedef struct List { int ia[MAX]; int Last; } List; List *LA; List *LB; List *LC; List *creat_list(); List *build_
2015-12-07 15:47:04 429
原创 最近让交的实验内容:实验一
#include<stdio.h> #include<stdlib.h> #define MAXSIZE 1000 typedef int elemtype; typedef struct sequlist { elemtype data[MAXSIZE]; int last; }SequenList; SequenList *l,*B; SequenList *Init_Seque
2015-12-07 15:44:27 463
原创 错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve
错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 mysql_query("set names 'GBK'");
2015-12-05 23:56:56 2620
原创 我的第一个MATLAB程序
这时刚刚自己上课做的第一个MATLAB程序,很简单; clear,format compact%fg512R1=60;R2=20;R3=40;R4=40;%设置元件参数us1=180;us2=70;us3=20;% 解问题display('解问题')R11=R1+R2;R22=R2+R3;R33=R3+R4;R12=-20;R21=-20;R13=0;R31=0;R23=-40;R32=-40;
2015-12-05 09:12:48 1958 1
原创 c语言版——四则运算
#include<stdio.h> #include<conio.h> #include<string.h> #include<stdlib.h> #define MAX 1024 typedef char elemtype; typedef struct SequenStack { elemtype data[MAX]; //int type; int top; }Sequ
2015-12-02 13:45:02 1909 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人