
c#
易水寒sz
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c#实验报告模拟发牌程序
using System;using System.Collections.Generic; using System.Text; namespace card { class Card { public enum _suit {红桃,黑桃,草花,方块} private _su原创 2011-10-25 20:34:01 · 1513 阅读 · 0 评论 -
c#试验报告 构造分数类
using System; using System.Collections.Generic; using System.Text; namespace 分数类 { class Fraction { private int numerator;//分子 public int Numerator { get {原创 2011-10-25 20:52:31 · 1019 阅读 · 0 评论 -
显示任意一年的月历的程序
功能概述:从键盘输入年份和月份,然后从控制台输出这个月的月历。然后询问是否继续,继续按1退出按2。 程序很简单,我把代码贴出来,其中有详细注释,看不懂的留言吧~~ 源代码: // 日历2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include //功能:输入原创 2011-10-25 21:48:24 · 1330 阅读 · 1 评论 -
一个基于c# GUI的计算器
先上图 2实验过程 分析:这个计算器主要有三种不同的按键,即数字键,算法操作符键,等于键。每一种不同的按键用同一个事件处理函数来处理。 为了实现连续操作的功能,所以把操作数抽象成前一个数和后一个数。把操作符也抽象成前一个操作符和当前操作符,每次输入完当前操作符后,就执行前一个数和当前数利用前一个操作符进行计算并显示。 A数字键处理程序 static string原创 2011-10-25 22:15:09 · 1677 阅读 · 0 评论