-
题目:请输入星期几的第一个字母来判断一下是星期几,如果第一个字母一样,则继续判断第二个字母。 1.程序分析:用情况语句比较好,如果第一个字母一样,则判断用情况语
题目:请输入星期几的第一个字母来判断一下是星期几,如果第一个字母一样,则继续判断第二个字母。 1.程序分析:用情况语句比较好,如果第一个字母一样,则判断用情况语句或if语句判断第二个字母。-Title: Please enter a few weeks the first letter to determine what is the day of the week, if the first letter of the same, then continue to determine the second letter. 1. Program analysis: statement by the situation better, if the first letter of the same, then the judge with the case statement or statements to determine if the second letter.
- 2022-12-08 13:50:03下载
- 积分:1
-
#include <iostream>
#include <stack>
#define MAX_SIZE...
非递归的快速排序算法-#include
#include
#define MAX_SIZE 11
using namespace std
typedef int elem
typedef std::stack Stack
int partition(elem*pData, int low, int high)
void swap(elem& a, elem& b)
void qsort(elem* pData, int low, int high)
int partition(elem*pData, int low, int high)
{
elem key = pData[low]
while(low < high)
{
while(low < high && pData[high] >= key)
high--
swap(pData[low], pData[high])
while(low < high && pData[low]
- 2022-05-08 16:41:43下载
- 积分:1
-
making a runing led
这是通过制作一个简单的程序开始代码视觉的一课。
- 2023-07-25 13:00:03下载
- 积分:1
-
此源码是我从一篇日本论文中摘下来的,大家可以借鉴一下,如果需要的话。...
此源码是我从一篇日本论文中摘下来的,大家可以借鉴一下,如果需要的话。-I learned from this source is a paper off to Japan, and we can learn from you, if necessary.
- 2022-06-19 22:48:09下载
- 积分:1
-
用汇编做的简单的打砖块游戏,在13h号图形方式下运行,源码大小为10k...
用汇编做的简单的打砖块游戏,在13h号图形方式下运行,源码大小为10k-a small game written in asm , which calls interrupt 13h to run under graphic mode , the code is less than 10k
- 2022-07-19 02:23:39下载
- 积分:1
-
定时流水灯 定时流水灯
定时流水灯 定时流水灯 -liushui
- 2022-01-26 03:42:20下载
- 积分:1
-
两个经典程序:显示系统时间,转换(大小写字母转换、二进制/八进制/十进制/十六进制间转换)...
两个经典程序:显示系统时间,转换(大小写字母转换、二进制/八进制/十进制/十六进制间转换)-two classics : Display System, the conversion (case-insensitive conversion, binary/octal/decimal/hexadecimal switch)
- 2022-02-21 17:34:26下载
- 积分:1
-
拖动鼠标画线,圆,矩形的例子
拖动鼠标画线,圆,矩形的例子-Drag painting line, circle, rectangle example
- 2022-08-13 15:50:12下载
- 积分:1
-
一个具有电子时钟程序的闹钟。使用汇编语言…
带一闹钟的电子时钟程序。用汇编语言实现的带一个闹钟功能的程序。是针对at89s51单片机设计的。数码管显示是用的6位。-One alarm clock with an electronic clock procedures. Using assembly language to achieve with an alarm clock function procedures. AT89S51 for single-chip design. Digital tube display is used 6.
- 2022-08-13 23:50:45下载
- 积分:1
-
接口8255A编程
汇编语言实现的接口8255A编程 一个很好用的代码 上课实验时写的
- 2022-05-13 15:02:08下载
- 积分:1