-
gold
一个用vc做的挖金子的游戏,有几关,可供参考(gold)
- 2009-04-14 15:50:47下载
- 积分:1
-
lab2
输入:
输入包括多个测试集,每行为一个正奇数N(1 <= N < 10),
0作为输入的结束且不需要处理。
输出:
对于输入的每一个N, 输出一个它所对应的N阶幻方,如果存在多个,
任意一个即可。
Sample Input
1
3
0
Sample Output
1
4 9 2
3 5 7
8 1 6
(Input: The input includes multiple test sets, each one being the odd behavior of N (1 < = N < 10), 0 as the end of the input and does not require treatment. Output: For each input N, N it corresponds to the output of a magic square, if there is more than one, any one can. Sample Input 1 3 0 Sample Output 1 4 9 2 3 5 7 8 1 6)
- 2014-02-19 15:40:48下载
- 积分:1
-
aybook.cn_wanzhemfdc0331
mfc深入浅出,挺好的,大家可以看看,希望能和大家交流一下(mfc easy, very good, and everyone can see the hope and the U.S. exchange)
- 2008-08-14 18:47:30下载
- 积分:1
-
stm32 ADC多通路采样
stm32 ADC多通路采样
#include "adc.h"
#define ADC1_DR_Address ((uint32_t)0x4001244C)
__IO uint16_t ADCConvertedValue[2];
void Adc_Init(void)
{
GPIO_InitTypeDef GPIO_InitStrue;
ADC_InitTypeDef ADC_InitStrue;
DMA_InitTypeDef DMA_InitStructure;
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE);//DMA时钟使能
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA|RCC_APB2Periph_ADC1,ENABLE);//GPIO、ADC1时钟使能
RCC_ADCCLKConfig(RCC_PCLK2_Div6);//ADC时钟6分频
GPIO_InitStrue.GPIO_Mode = GPIO_Mode_AIN;
GPIO_InitStrue.GPIO_Pin = GPIO_Pin_1|GPIO_Pin_2;
GPIO_InitStrue.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOA,&GPIO_InitStrue);//PA1、PA2 I/O口配置
DMA_DeInit(DMA1_Channel1);//DMA通道1复位
DMA_InitStructure.DMA_PeripheralBaseAddr = ADC1_DR_Address;
- 2023-05-09 20:05:03下载
- 积分:1
-
easydatabase
vc++实现简单数据库操作程序,对于C++面向界面语言的设计学习者很有帮助(vc code for database)
- 2009-04-06 20:29:50下载
- 积分:1
-
VC助手破解版 visualassist
VC助手破解版,这个很不错的。
推荐给新手...
vc++6.0,vs2003.net,vs2005.net,vs2008都可以用,完全兼容哈
希望给大家带来个方便:-)(vc++6.0,vs2003.net,vs2005.net,vs2008)
- 2020-06-26 00:00:02下载
- 积分:1
-
two-point-problem
打靶法求解两点边值问题
实例测试通过,可直接运行,并带有详细代码注释
采用全局收敛的牛顿-拉普森迭代算法求解编制问题
绝对物超所值!(Two-point boundary value problem
shooting method)
- 2020-12-15 21:19:14下载
- 积分:1
-
SinglePhasePLL_v1.1
本代码是单相正弦电压锁相环程序,用于根据单相正弦电压生成其相位角度信息,包括:正交处理、坐标变换、PI运算、积分运算、取模运算等步骤。(This code is a single-phase sinusoidal voltages phase-locked loop program for generating the phase angle information based on single-phase sinusoidal voltage, comprising: an orthogonal processing, coordinate conversion, PI operation, integral operation, the modulo operation and other steps.)
- 2021-01-19 23:38:41下载
- 积分:1
-
STM32F407控制AD5624
STM32F407 SPI1初始化
AD5624寄存器24位直接写入数据
命令位 (直接操作010命令 写入寄存器并更新所有)
地址位 (配置所有DACs)
AD5624 写入寄存器
D11-D0 最大值为4095, 此芯片是外部参考电压(例3.3v),输出电压为0.5v :(4095*0.5/3.3)写入到D11-D0即可。
可能是spi不稳定造成了配置一遍无法输出电压,所以进行了三遍配置才成功。
- 2021-09-23 00:31:09下载
- 积分:1
-
mega128_38KHZ
AVR Mega128单片机产生占空比13的38KHZ的方波(AVR Mega128 microcontroller generates Duty 1/3 38KHZ square wave)
- 2013-09-28 22:19:01下载
- 积分:1