- 博客(9)
- 资源 (17)
- 收藏
- 关注
原创 蓝桥杯试题练习1
import java.util.Scanner;public class demo { //用来存储信用卡号 static String num; static char num2[] = new char[16]; static int sum_odd; //用来存储奇数位和 static int sum_even; //用来存储偶数位和 static int sum;
2012-11-25 19:25:21 1455
原创 黑白界面下去的小游戏
今天收大一学生的启发,自己也来写一个黑白界面下的小游戏让大家看看,主要是给大一的学子们,大家努力啦!#include #include using namespace std;int c=1,d=1;int a[9][20]={//建立地图 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,2,0,0,0,0,0,0,0,0,0,0,0,0,0
2012-11-22 21:23:56 1540
原创 工信部软件大赛及C++基本教程
#include #include "cmath"using namespace std;int f(int n, int a[], int idx){ if(a[0]*a[0]+a[1]*a[1]+a[2]*a[2]+a[3]*a[3]==n) return 1; // 填空1——这行代码用来判断四个数的平方和是否等于n if(idx==4) return 0; for(in
2012-11-16 15:15:17 2800
原创 javascript基础教程
<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>Regist#main { height: 600px; width: 8
2012-11-14 13:19:11 1969 1
翻译 C++二叉树的建立与遍历
从别处找来几个例子,感觉还可以,同学们拿回去看看吧,有什么地方不懂可以下可以后来实验室问我。//==========================================定义头部#include using namespace std;struct BiTNode{ char data; struct BiTNode *lchild, *rchild;//左右孩子};BiT
2012-11-13 20:51:36 50105
翻译 C++编程学习数据结构二叉树
// biTree.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include ;using namespace std;typedef struct bitnode{ int data; struct bitnode *lchild,*rchild;}*bitree,tree;bitree *t;int number=0
2012-11-13 20:26:46 2815
原创 php基础教程--数据库连接及登录注册
Login Page Log in username passwords Login Page <?php $username = $_POST['username']; $passwords = $_POST['passwor
2012-11-09 18:07:32 3168 1
原创 江南style各种版本史上最牛合集——C++/C语言KMP解析字符串——程序版style
// kmpDlg.cpp : implementation file//#include "stdafx.h"#include "kmp.h"#include "kmpDlg.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////
2012-11-04 15:41:20 1708
原创 java中类的继承与抽象类简明教程
package Karl.Doenitz;public class father { public int q; public father(){ System.out.println(2); } public father(int k){ System.out.println(k); } public int a(){ return 1; }}
2012-11-01 23:55:50 1102 1
学生成绩管理系统iOS客户端代码
2017-09-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人