联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 网络编程(7) 
按平台查找All C/C++(7) 

[网络编程] 1

构建一个类 Stock,含字符数组 stockcode[]及整型数据成员quan、双精度型数据成员 price。构造函数含3个参数:字符数组na[]及q、p。当定义 Stock的类对象时,将对象的第1个字符串参数赋给数据成员 stockcode,第2和第3个参数分别赋给quan、price。未设置第2和第3个参数时,quan的值为1000, price的值为8.98。成员函数 print没有形参,需使用this指针,显示对象数据成员的内容。假设类 Stock第1个对象的3个参数分别为:"600001"、3000和5.67,第2个对象的第1个数据成员的值是"600001",第2和第3个数据成员的值取默认值。
Build a class stock, including character array stockcode [] and integer data member Quan, double precision data member price. The constructor has three parameters: character array Na [] and Q, P. When defining the class object of stock, the first string parameter of the object is assigned to the data member stockcode, and the second and third parameters are assigned to Quan and price respectively. When the second and third parameters are not set, the value of Quan is 1000, and the value of price is 8.98. The member function print has no formal parameters. You need to use this pointer to display the contents of the object data members. Suppose that the three parameters of the first object of the stock class are "600001", "3000" and "5.67", the value of the first data member of the second object is "600001", and the value of the second and third data members is the default value. (2020-04-26, C/C++, 444KB, 下载0次)

http://www.pudn.com/Download/item/id/1587870340469556.html

[网络编程] 直流电机电流、速度双闭环控制系统程序

直流电动机转速电流双闭环调速的程序设计,使用C语言编写能完成基本控制采样
Programming of Speed and Current Double Closed Loop Speed Regulation for DC Motor (2019-05-25, C/C++, 2839KB, 下载7次)

http://www.pudn.com/Download/item/id/1558764894690520.html

[网络编程] STC12C5A60S2广州塔(1)

这个文件是光立方的制作方法,用STC系列单片机控制,广州塔形状,多种亮法,内部有详细的程序,需要的话可以自己改变代码
This document is the production method of light cube, controlled by STC series singlechip, the shape of Canton Tower, various bright methods, the internal detailed program, and can change the code by itself if necessary. (2018-07-20, C/C++, 9288KB, 下载4次)

http://www.pudn.com/Download/item/id/1532051251877244.html

[网络编程] c++

双闭环可逆直流调速(H桥)simulink仿真模型,波形很好
(Double closed loop reversible DC speed control (H bridge) Simulink simulation model, the waveform is very good) (2017-12-12, C/C++, 6KB, 下载3次)

http://www.pudn.com/Download/item/id/1513073164751099.html

[网络编程] 蚁群算法

路径优化蚁群算法matlab程序‘ 在求解该问题的蚂蚁算法中,每只蚂蚁是一个独立的用于构造路线的过程,若干蚂蚁过程之间通过自适应的信息素值来交换信息,合作求解,并不断优化。
Path optimization, ant colony algorithm, matlab program. In the ant algorithm for solving this problem, each ant is an independent procedure for constructing the route, between a number of ants by adaptive pheromone to exchange information, cooperate to solve and optimize. (2017-11-01, C/C++, 2KB, 下载4次)

http://www.pudn.com/Download/item/id/1509499882565496.html

[网络编程] 03MOS管驱动步进电机实验

03MOS管驱动步进电机实验c语言编程,两相八线步进电机按四相接线,采用MOS管驱动,分别按照单双八拍和双四拍方式驱动 请按ESC退出程序,若直接点差号关闭程序MOS管持续导通易烧毁器件
03MOS tube drive stepper motor experiment, C programming language (2017-09-16, C/C++, 2KB, 下载2次)

http://www.pudn.com/Download/item/id/1505567351288580.html

[网络编程] 程控放大衰减

本模块的核心部分是由一片14位双通道串行接口乘法数模转换器DAC8802芯片组成的程控放大和衰减部分,这部分中的DAC8802芯片通过内部SSI总线与STM32F103ZET6内部的SPI实现通信,由STM32F103ZET6经SPI传输的CODE值决定放大或者衰减的幅值
The core part of this module is composed of a piece of 14 dual-channel serial interface multiplication DAC8802 d/a converter chip programmable amplification and attenuation of part, this part of the DAC8802 chip through internal SSI bus communication with internal STM32F103ZET6 SPI, by STM32F103ZET6 transmitted through SPI CODE value decided to enlarge or amplitude attenuation (2017-08-07, C/C++, 2542KB, 下载6次)

http://www.pudn.com/Download/item/id/1502109960855381.html
总计:7