上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: 效果: //运行环境 dev c++ 5.9.2 #include <iostream> #include <windows.h> //Sleep函数调用的头文件 #include <mmsystem.h> //媒体控制函数的头文件 //在VC2008和VC6.0环境中从此头文件 #pragma c 阅读全文
posted @ 2019-06-28 10:50 Tony小哥 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 以字节形式向磁盘写入数据通常称为字节流(比特流) 常常使用System.Io 常用的类 类 说明 File 提供用于创建、复制、删除、移动和打开文件的静态方法,并协助创建 FileStream 对象。 FileInfo 提供创建、复制、删除、移动和打开文件的实例方法,并且帮助创建 FileStrea 阅读全文
posted @ 2019-06-28 10:44 Tony小哥 阅读(961) 评论(0) 推荐(0) 编辑
摘要: 1.单选按钮(RadioButton) 同一组中其他单选按钮不能同时选定 分组形式:panel GoupBox 窗体 方法: 属性 说明 Appearance RadioButton 控件的显示与命令按钮相似 Checked 确定是否已选定控件 方法 说明 Focus 将输入焦点移至控件 实现的界面 阅读全文
posted @ 2019-06-27 20:15 Tony小哥 阅读(1843) 评论(0) 推荐(1) 编辑
摘要: 1 namespace firstly #当前命名空间控件 2 { 3 public partial class Form1 : Form 4 { 5 public Form1() #第一个窗体 6 { 7 InitializeComponent(); 8 } 9 } 10 } 1.常用控件的认识 阅读全文
posted @ 2019-06-27 18:06 Tony小哥 阅读(12222) 评论(0) 推荐(0) 编辑
摘要: 1. main.jsp 实现查询 在此界面创建超链接到修改界面 点击修改会把数据传递到exit.jsp 修改 edit.jsp 前面数据: 数据库: 1 /* 2 Navicat Premium Data Transfer 3 4 Source Server : c10.87.12.251 5 So 阅读全文
posted @ 2019-06-19 23:29 Tony小哥 阅读(12015) 评论(5) 推荐(0) 编辑
摘要: 代码的主要功能是轮流显示图片 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using 阅读全文
posted @ 2019-06-19 21:49 Tony小哥 阅读(832) 评论(0) 推荐(0) 编辑
摘要: 要求: 实现查询功能 1.数据库代码 1 create database mvce; 2 use mvce; 3 create table test2( 4 id int not null identity, 5 tname char(10) not null, 6 tttype char(20) 阅读全文
posted @ 2019-06-19 19:53 Tony小哥 阅读(5906) 评论(0) 推荐(0) 编辑
摘要: 1. 环境的搭建 环境 1. 数据库 :SQL Server 2. myeclipse 8.0 3. tomcat 6.0 2.配置下 部署tomcat 6.0 1. 通过搜索栏搜索tomcat,找到tomcat,并配置相应的环境 2. 创建一个Web Project工程 3.编码 4. 启动Tom 阅读全文
posted @ 2019-06-19 19:01 Tony小哥 阅读(3960) 评论(0) 推荐(0) 编辑
摘要: 1.堆排序 #include<stdio.h> #include<stdlib.h> /* p是循环输出的下表*/ int p=0; /*堆调整算法*/ /* r[]数组 , 根结点的编号为k,最后一个结点的编号为m */ void Sift(int r[ ], int k, int m) { in 阅读全文
posted @ 2019-03-28 13:30 Tony小哥 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 由于之前用的vs2017是集成c++环境的,加之dev c++ 编码管理起来不是很方便,Mytc (win10不支持),所以转而向Qt 开发工具,以下是大致安装流程 1.下载地址 清华源:https://mirrors.tuna.tsinghua.edu.cn/ (走IPV6 快) 2.保存文件 下 阅读全文
posted @ 2019-03-14 19:43 Tony小哥 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页