登录
首页 » C# » C#计算器

C#计算器

于 2023-09-02 发布 文件大小:50.90 kB
0 169
下载积分: 2 下载次数: 1

代码说明:

该计算器提供加减乘除功能,支持小数输入。该问题需要一个窗体,添加0-9数字按钮,和一个小数点按钮;4个数学运算符按钮、一个清除按钮和一个等号(计算)按钮;一个文本框用来显示输入的数和计算结果。制成形如下图的一个计算器。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • zuixuan
    其原理很简单,就是MSP430F14x系列单片机Timer A模块有一个比较/匹配功能,利用这一功能可以输出任意频率、任意占空比的方波,把这些方波输给蜂鸣器就可以播放了。当然要让蜂鸣器播放《最炫民族风》,最大的挑战是写C语言版的“乐谱”。所幸小时候学过五六年的小提琴,再加上物理竞赛的背景,因而对于乐谱、乐理、音频、节奏等等关键概念都略懂一二。废话不多说了,直接上源代码: (The principle is very simple, is MSP430F14x Series MCU Timer A module has a compare/match function, the use of this feature can be output at any frequency, arbitrary duty cycle square wave, square wave lost these can play a buzzer. Of course, to make the buzzer play " the most unusual national wind" , the biggest challenge is to write C-language version of " music." Fortunately, the child learned the violin in 2056, coupled with the physical contest background, and thus for sheet music, music theory, audio, rhythm, etc. have little knowledge of twelve key concepts. Ado, directly on the source code:)
    2013-05-28 21:03:14下载
    积分:1
  • AMD-APP-Docs
    AMD显卡编程的一些官方参考资料,与nVidia的cuda编程相似(reference materials on AMD APP programming)
    2012-06-13 13:06:21下载
    积分:1
  • 0-Ping
    说明:  W5500在STM32F103RC平台下实现基本ping 功能(W5500 realizes basic ping function on stm32f103rc platform)
    2021-03-08 16:09:28下载
    积分:1
  • robot_arm
    Very simple robot arm program OpenGL. Have a nice learn!!!
    2011-01-18 21:56:25下载
    积分:1
  • sjiyan19--2.4caipinxianshishiyan
    基于89c52的2.4寸液晶显示源代码和hex文件(Display the source code and hex file based on the 2.4-inch LCD 89c52)
    2013-11-28 11:57:42下载
    积分:1
  • bujindianjiqudong
    基于atmega16的步进电机驱动程序,实现正反转及调速等功能。(Based atmega16 stepper motor driver, and achieve positive and speed functions.)
    2014-02-17 14:42:01下载
    积分:1
  • backwardforward
    backwardfoeward load flow for distribution network
    2014-02-14 00:30:57下载
    积分:1
  • DOIP(以太网)协议
    说明:  DOIP(以太网)协议,ISO13400 1-5协议。(DOIP (Ethernet) protocol, ISO13400 1-5 protocol.)
    2020-09-18 08:27:56下载
    积分:1
  • OPENCV
    使用OPENCV获取并显示图像,基于C++的代码。包括对图像的缩放处理等。
    2022-01-21 22:31:03下载
    积分:1
  • TB62209驱动步进电机
    主要为STM32发送脉冲信号给TB62209,然后驱动步进电机运动,timer2作为脉冲源,timer3用了做加减速控制。
    2022-02-01 03:18:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载