自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(26)
  • 资源 (14)
  • 问答 (1)
  • 收藏
  • 关注

原创 Div and Span

Div and SpanMost HTML elements are defined as block level elements or as inline elements.Block level elements normally with a new line when displayed in a browser. The HTML Element: function

2013-09-24 08:48:47 774

原创 Html table notes

tables: tag:rows each row is devided into data cells(with tag). td stands for "table data", and holds the content of a data cell. A can contain text, links, images, lists, forms, other tables, e

2013-09-24 08:25:40 647

原创 html image study note

alt attribute:if the picture can't be displayed, this attribute specifies an alternate text for an image.eg:We can also set the height and width of an image.default: in pixels.Loading images tak

2013-09-24 07:51:01 710

原创 All of SQL

1、初入数据库时想查看数据库的列表,使用命令:SHOW DATABASES;2、为了获得数据库内的表的列表,使用SHOW TABLES;3、与SHOW是使用的语句还有很多:SHOW STATUS:用于显示广泛的服务器状态信息。SHOW CREATE DATABASE和SHOW CREATE TABLE分别用来显示创建特定数据库或表的Mysql语句。SHOW GRANTS 显示授予用

2013-09-19 07:14:05 552

原创 ALTER SQL

记住了:每个表中只能有一列可以加上AUTO_INCREMENT,该列必须为整数类型而且不能包含NULL;命令速记:想同时改变列的名称和类型时请用CHANGE;只想改变数据类型时请用MODIFY;DROP COLUMN 的功能是从表中卸除指名的列。使用RENAME改变表的名称。使用FIRST,LAST,BEFORE column_name,AFTER column_name,

2013-09-19 07:13:16 599

原创 Graph operation

// 图的基本操作#include "stdafx.h"#include#define MaxValue INT_MAX   // 定义最大值即(无穷大)#define MaxVNum 100          // 定义最大顶点个数using namespace std;// 建立邻接矩阵的结构void ADJMATRIX(int A[][MaxVNu

2013-09-19 07:11:26 703

原创 Haff-man

哈弗曼树相关知识总结:1、概念:        给定一组权值,构造出的具有最小带权路径长度的二叉树称为Huffman树,又称为最优二叉树;2、特性:        权值越大的叶结点离根结点越近,权值越小的叶结点离根结点越远,这样的二叉树的WPL最小;3、哈弗曼算法思想:关键是构造哈弗曼树的方法:       (1)将给定的权值按照从小到大排列成(w1,w2,w3,···

2013-09-19 07:10:54 804

原创 Josephoe

#include "StdAfx.h"#include using namespace std;typedef struct Node{Node* next;int iData;}ReNode,*ReLinkList;///////////////////////////////////////////////////////////////////

2013-09-19 07:10:05 478

原创 Create graph

// 对图的邻接矩阵和邻接表表示分别进行深度优先搜索遍历算法的实现。#include "stdafx.h"#include using namespace std;//////////////////////////////////////////////////////////////////////////// 图的实现  邻接矩阵的方法////////////

2013-09-19 07:09:07 2585

原创 Number Conversion

#include "stdafx.h"#include using namespace std;typedef struct Node{int iData;Node* next;}*STLink ;// 数制之间的转换;void Conversion1(int num){int iNumber = 0;cout cin >> iNumbe

2013-09-19 07:07:44 543

原创 Java-1

1. Java-Arrayimport java.util.Scanner;class Array{public static void main(String args[]){int a[]=new int [10];Scanner num=new Scanner(System.in);for(int i=0;i{System.out.print("请输入

2013-09-19 06:59:23 503

原创 Java-2

实验题目终极报告(支持原创)1.    编一程序,求两个正整数m、n的最大公约数。要求程序中有两个方法,分别使用循环和递归,最后在主方法中两次求解并输出最大公约数。提示:用辗转相除法。方法(1) 求m除n的余数r;(2) 如果r为0,则n为最大公约数,结束。否则转(3);(3) 用n置m,用r置n ,回到(1)。 代码://递归方法实现最大公约数import java.util

2013-09-19 06:55:49 707

原创 Java-3

1. 使用编写代码的方式,设计一个用户界面如下图所示://package Number1;import java.awt.*;import javax.swing.*;public class Calculator {    public static void main(String[] args)    {       JFrame frm = new JF

2013-09-19 06:54:30 1255

原创 Assignment 10

1. 数组中的数据经常可以用多种不同的格式显示。当用户向数组输入整数时,则分别用二进制、八进制、十进制和十六进制的格式输出表中的数。编写函数convertBinary来实现将一个数转换为其二进制表示的函数这一功能。程序代码:#includeusingnamespace std;intmain(int argc,char* argv[]){       void conver

2013-09-19 06:48:47 893

原创 Assignment 9

1.将例11.2的程序片断补充和改写成一个完整、正确的程序,用私有继承方式。在程序中应包括输入数据的函数,在程序运行时输入num, name, sex,age, addr的值,程序应输出以上5个数据的值。程序代码:#include #include using namespace std;class Student          {public:      vo

2013-09-19 06:47:25 1224

原创 Assignment 8

1.分析下面的程序,写出运行结果。#include using namespace std;class Date{public:       Date(int,int,int);       Date(int,int);       Date(int);       Date();       void display();private:     

2013-09-19 06:46:06 955

原创 Assignment 7

1. 有以下程序:#include using namespace std;class Time  {public:     int hour;     int minute;     int sec;  };int main() { Time t;cin>>t1.hour;  cin>>t1.minute;  cin>>t1.sec;cou

2013-09-19 06:44:30 1026

原创 Assignment 6

1. 分析如下程序的结果(数组与指针的关系)#includeusing namespace std;void main(){    char s1[5]={'m', 'n', 'p', 'q','\0'};    char *ps=s1;   cout    cout    cout    cout    cout}2.  输入3个字符串,按由小到大

2013-09-19 06:42:59 613

原创 Assignment 5

1. 程序一:#include #include #include using namespace std;int main(int argc,char *argv[]){       floata[5][4];                 int m = 0,n =0;                   int aver = 0;  

2013-09-19 06:40:36 715

原创 Assignment 4

1.  n1+n2+n3+…+n10,其中n=1,2,3,……。程序代码:#includeusing namespace std;int a = 0;int power(int m);int main(){       int i = 0;       int p = 0;       cout        cin >> a;      

2013-09-19 06:37:51 636

原创 Assignment 3

(1)编程序,用以确定员工的工资总额。对于员工每周工作的前40小时,公司按正常工作时间标准支付。超出40小时的工作时间按正常工作时间标准的1.5倍付酬。程序代码:#include using namespace std;int main(){       int dwHour = 0;       int price = 100;       float salar

2013-09-19 06:34:30 1100

原创 Assignment 2

1)某商场优惠活动规定,某种商品单价(price)80元,一次购买(totoal)5件以上(包含5件)10件以下(不包含10件)打9折(90%),一次购买10件以上(包含10件)打8折。设计程序根据客户的购买量计算总价。程序代码:#include #define PRICE 80using namespace std;int main(int argc,char* argv[]

2013-09-19 06:33:08 785

原创 Assignment 1

1. Be familiar with C++ developing environment . 在编程环境中输入以下程序,分析程序结构和执行结果。(1)简单计算程序#include       //预处理命令using namespace std;void main(){   int radius,high;   double volume;   cout

2013-09-19 06:29:36 585

原创 Html and Xhtml

Yesterday, I found a difficult problem that to modify the following html code validating by XHTML 1.0 strict version. Current CoursesCS215CS207CS201Past CoursesThe system always

2013-09-18 23:14:22 599

原创 Web and Internet

It is important to understand that the Internet and the Web are not the same thing.The Internet is a collection of computers and other devices connected by equipment that allows them to communicate

2013-09-16 07:44:18 732

原创 Html tag note

"ComputerOutput" Tags TagDescriptionDefines computer code textDefines keyboard text Defines sample computer codeDefines

2013-09-16 07:39:36 701

program analysis- Assignment

分析器 词法 语法 各种分析 请文明使用 附作者个人信息 请勿人身攻击

2013-09-20

经典 asp.net程序员面试技巧 pdf 大全

经典 asp.net 面试技巧 各种建议各种收获,欢迎大家下载。

2013-05-05

经典电子书 代码大全

代码大全,经典电子书,全版。欢迎下载。下载吧,可以留言,技术电子书大全。

2013-05-02

算法导论第二版 电子书pdf

算法导论 电子书 第二版 经典大作。 欢迎下载

2013-04-28

数据库应用课程 所用到的数据库 SQL源码

中国矿业大学 数据库应用课程实验用数据库 完整的sql代码

2013-04-28

贪心算法实现及演示过程

贪心算法 实现及过程 完整版 实验报告,大家要认真炒

2013-04-28

马的巡游问题代码 算法设计

马的巡游问题是算法设计与分析课程中重要的代码,希望大家认真学习。

2013-04-28

汉诺塔问题演示 代码

算法设计与分析实验报告 及演示 完整版.。欢迎大家下载

2013-04-28

0-1背包问题 代码及实现 实验报告

中国矿业大学实验报告,各位师弟们借鉴就行了

2013-04-28

词法分析器 语法分析器

用C#编写的词法分析器和语法分析器,功能基本实现了。实验课上老师让交的成果。不会骗人的。

2013-04-28

硬件课程设计实验报告

硬件课程设计,LED显示屏,课程设计,实验报告,中国矿业大学

2013-01-04

数字系统设计实验报告EDA技术

数字系统设计实验报告,中国矿业大学,计算机学院,

2013-01-04

网址大全 所有有用的网址

网上有用的网址 学习 冲浪 很有用的 www.baidu.com www.7k7k.com等等的网址

2011-05-20

关于c++的时钟程序

时钟 倒计时,专业c++程序 面向对象的设计

2011-05-15

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除