- 博客(14)
- 资源 (39)
- 收藏
- 关注
原创 C# windows frist 窗体程序
c#简单的船体程序 输入字符到textbox中 请过处理显示到label中using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;
2012-10-31 20:16:36 755
原创 c# 类型转换
字符型 转换成 数值整形using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[]
2012-10-31 20:13:32 737
原创 C# 控制台求圆的面积和周长
c#的简单运算using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { //定义常量pi public const
2012-10-31 20:11:22 9516
原创 vb.net 交错 处理 一年中的月份天数的输出
处理一年中的月份天数的输出知识点 :数组+交错 Module Module1 Sub Main() Dim calendars()() As Double = New Double(11)() {} Dim month As Integer Dim days As Integer Dim dayV
2012-10-31 11:04:06 1485
原创 vb.net 枚举类型
定义枚举类型 :Enum 类型名称 成员名=表达式(常量)End Enum 创建一个一星期的 枚举类型 : Module Module1 Enum days sunday = 0 monday = 1 yuesday = 2 wednesday = 3 thursda
2012-10-31 10:57:51 7886
转载 程序员不容易程序员不简单,程序员笑话你懂得
1“咚咚咚”“谁?”过了很久……“Java” 2换一个电灯泡需要几个程序员?一个也不要,这是硬件问题。 3一个计算机系学生坐在树下学习,又有一个计算机系学生骑着一辆很炫的自行车经过。前一个学生问道:“你的车从哪儿弄来的?”骑车的回答说:“我在外面学习的时候,一个漂亮的MM骑着车过来,她脱光了所有的衣服对我说,‘你想要什么我都给你’。”“明智的选择!你穿她的衣服肯定不
2012-10-25 20:35:14 1676
原创 vb.net ---- 学生考试成绩统计生成系统.txt
学生成绩考核 统计系统vb.net 输入 学生 考号:姓名:班级:成绩:插入到文本存储库中 读取文本中的信息 搜索固定信息 显示 Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button
2012-10-24 20:13:01 2546
原创 vb.net ---- n*n随机矩阵转换
n*n矩阵 以对角线实现矩阵转换 Public Class Form1 Dim a(4, 4) As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i, j, t
2012-10-24 17:36:31 2205
原创 java ---- 定义一个表示学生的类 包括域“学号”、“班号”、“姓名”、“年龄”;
1.编写一个JAVA类程序片段,定义一个表示学生的类student,包括域“学号”、“班号”、“姓名”、“年龄”;方法“获得学号”、“获得班号”、“获得性别”、“获得姓名”、“获得年龄”、“修改年龄” 2.在上一道题的基础上编写Java Application程序创建student类的对象////第一题//public class Student { privat
2012-10-19 20:24:26 48657 3
原创 c++ 输m个数 求最大值最小值!
求 最大值和最小值 max 和 min编译环境 vs2010 通过数组求 排列 求值! #include#define maxsize 4using namespace std;int main(){ int i,j,t,a[maxsize]; t=0; for(i=0 ;i<4;i++){ cin>>a[i]; } for(i=0;i<4;i++){ for(j
2012-10-09 20:59:47 7722
原创 c语言 输出所有小于n(n>=2正整数)的素数
质数又称素数。指在一个大于1的自然数中,除了1和此整数自身外,不能被其他自然数整除的数。设计一个程序,输入n并输出所有小于n(n>2正整数)的素数。要求:素数每10个一行输出. #include#includeint prime(int x){ int i; for(i=2;i<=(int)sqrt(x);i++) if(x%i==0) return 0; re
2012-10-09 20:29:08 14662 1
原创 vb.net structure结构类型
编写一个记录学生信息和学习成绩的程序学号(num)、姓名(name)、性别(sex)、年龄(age)、住址(address)、学习成绩(mark)学习成绩分为5们 分数分别为95,90,112,94,90 Module Module1 Public Structure student Dim num As Integer Dim name
2012-10-05 13:18:12 9408
原创 VB.net & java ---- 百元买百鸡题目
百元买百鸡: 设 花一百元买鸡 公鸡:5元 母鸡:3元 小鸡1元3只求买鸡的方案 java代码: import java.util.*;public class helloworld { public static void main(String[] args) { int count=0; for(int i=0;i<20;i++){ for(i
2012-10-03 20:47:15 2731
原创 java ---- 数学函数Math和随机产生数值Random
计算数学函数 Math 中的sin cos log 等数学方法 以及Random随机数的生成 import java.util.Random;public class Elapsed { public static void main(String args[]) { double d=0; Random random=new Random(); //Math类的使用
2012-10-03 20:36:46 1798
JSONLibraries1.zip
2013-05-13
spring-framework & commons-logging
2013-12-07
jquery.validate.js
2013-12-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人