登录
首页 » Others » vc++单文档多视图例子

vc++单文档多视图例子

于 2020-11-27 发布
0 261
下载积分: 1 下载次数: 2

代码说明:

vc++单文档多视图例子,同一个视图分为多个视图,利用相关类,是初学者很好的范例

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

发表评论

0 个回复

  • 水下被动定位论文
    水下被动定位论文 描述了4种水下被动定位的方法 并附有matlab代码
    2020-12-01下载
    积分:1
  • ADC参数测试资料&matlab源
    ADC参数测试相关资料,以及matlab源程序,内容如下:Analog-to-Digital Converter Testing.pdfSelecting the Optimum Test Tones and Test Equipment for.pdfDefining and Testing Dynamic Parameters in High-Speed ADCs, Part1.pdfDynamic Testing of High-Speed ADCs, Part 2.pdfHistogram Testing Determines DNL and INL Errors.pdfI
    2020-12-10下载
    积分:1
  • 网络ns2仿真实验分析(RED、丢包率、端到端延迟、吞吐量)附源码
    网络ns2仿真实验分析(RED、丢包率、端到端延迟、吞吐量)附源码分组的端口号。(10) dst addr:目的地址,格式为 node port,其中node代表分组发送节点的id,pot表示发送分组的端口号。(11) seg num:分组的序列号。(12) okt id:分组的唯标识符。3n2与n3之间的RED队列的半均队列长度与当前队列长度随时间的变化如下图所示:torrent and ave"吧 e PED CueL旧300era已n15000ANA图2平均队列长度与当前队列长度随时问变化的曲线图4运行结果中显示CBR流量总共发包550,丢失16,丢包率为:0.029。丢包率随时间的变化如下图所示:packets of lost rate。045graph自04,03500自020.015图3丢包率随时间变化的关系图5CBR流量的吋延随时间的变化如下图所示:1u彐r10.14心01Q。0图4端到端时延随时间变化的关系图6.节点n2的平均吞吐量随时间的变化如下图所示100T图5节点n2的吞吐量随时间变化的关系头7.结果分析:从RED的图示中,可以看出队列的大小波动变化不是很大,在处理突发的包时冇一定的优势。从丟包率、时延和吞吐量的变化图中,可以看出当丟包率增加时,端到端之问的时延也在增加,而吞吐量则下降,丟包率、时延和吞吐量在表示网络性能的好坏时有一定的关系、相关代码1.络拓扑仿真脚木 simulator:tcl:#Create a simulator objectset ns [new Simulator]#Define different colors for data flows for NAM)Sns color 1 BlueSns color 2#Open the nam trace fileset nt lopen out. nam wSns namtrace-all Snfset nd [open out. tr wISns trace-all Snd#Define a finish procedureproc finish仆}{global ns nf ndSns flush-traceclose Snfclose sndexec nam out. namkit o#Create four nodesset no [Sns node]et n1 [Sns nodelset n2 [Sns nodeset n3 [ns node]#Create links between the nodesSns duplex-link Sn0 Sn2 2Mb 10ms DropTailSns duplex-link Sn1 Sn2 2Mb 10ms DropTailSns duplex- link Sn2 Sn3 1.7Mb 20ms RED#Set queue Size of link (n2-n3 to 100Sns queue-limit Sn2 Sn 3 100#Give node position(for NAm)Sns duplex-link-op SnO Sn2 orient right-downSns duplex-link-op Sn1 Sn2 orient right-upSns duplex-link-op $n2 Sn3 orient right#Monitor the queue for link(n2-n3 .( for NAM)Sns duplex-link-op Sn2 Sn 3 queuePos 0.5#Setup a TCP connectionset tcp new Agent/TCPISns attach-agent Sno Stcpset sink [new Agent/TCPSinkSns attach-agent sn3 SinkSns connect stcp SinkStcp set fid 1#Setup a FTP over TCP connectionset ftp [new Application/FTPlSftp attach-agent StcpSftp set type FTPfsetup a UdP connectionset udp [new Agent/UDP]Sns attach-agent Sn1 udpset null [new Agent/Nul]Sns attach-agent Sn3 SnullSns connect Udp SnullUdp set fid_ 2#Setup a CBr over UDP connectionset cbr [new application/Traffic/ CBRIScbr attach-agent UdpScbr set type CBrScbr set packet size 1000Scbr set rate 1mbScbr set random false#Schedule events for the cbr and ftp agentsSns at0.1 Scbr startSns at 1.0"Sftp start"Sns at 40.0"Sftp stop"Sns at 4.5"Scbr stop"#Detach tcp and sink agentsSns at 50 Sns detach-agent $no stcp; Sns detach-agent sn3 Sink"Sns at 50.0 finish#monitor n2 and n3 queueset redg [[sns link Sn2 Sn3] queueset traceq lopen redQueue tr wSredg trace curgSredg trace aveSredg attach Strace#Run the simulationns rur2.RED的数据处理脚本:SgreparedQueue. tr>averagetrStrep“Q" reqUeuetr> current tr(中 reqUeue tr为跟踪n2和n3队列产生的文件)然后使用 gnuplot工具使用 average tr和 current, tr绘制队列随时间变化的曲线3.丢包率数据awk处理脚本 graph rostRate,awvk#count the packet lost rate of cBri=0;vente=S2;from Node =$3toNode=s4:pitT$7srcAddr=$9dstAddr=$10gNum = $11if (fromNode ==1 & toNode ==2&& event==+i totalNum++timeArr[i=timesrate[i]= float)(drop Num/tif(fid==2&& event==d")dropNum++ENDprintf("#number of packet sent: %od, lost: %d"totalNum, dropNum)printf( #lost rate of packets: %f",dropNum/totalNumfor(j=0; j
    2020-12-06下载
    积分:1
  • 蚁狮优化算法最新(2016)
    寻优精度高,调节参数少,不受对象约束的特点
    2020-11-30下载
    积分:1
  • 使用Highcharts结合PHP与Mysql生成饼状图
    使用Highcharts结合PHP与Mysql生成饼状图为了更好的讲解,实例中在Mysql数据库中建立一张表chart_pie,用于表示各搜索引擎带来的访问量,表中分别有id、title和pv三个字段,id是自增长整型、主键;title表示搜素引擎的名称,pv表示对应的访问量。chart_pie表中已预置了相关数据这是可以运行的代码,比较好的,我是从网络上收集到的
    2020-12-11下载
    积分:1
  • matlab图像叠加
    matlab图像叠加,将大小相同的两张图片进行加法运算,实现叠加。
    2020-12-02下载
    积分:1
  • 基于cordic算法的吉文斯迭代的定点QR分解在FPGA的实现
    介绍了一种基于cordic算法的no除法器no开方no乘法的在FPGA上实现的QR分解方法。挺有意思。
    2020-12-08下载
    积分:1
  • “互联网+”大学生创新创业大赛项目计划书
    填 写 说 明1.封面上“项目编号”一栏由秘书组编写;2.项目名称力求简洁、明确,每个项目限报一名负责人;3.请逐项认真填写;4.本次大赛必须以团队形式报名参赛,每个团队成员不能少于3人(包括项目负责人在内);5.请将撰写完成后的项目计划书按规定时间提交。
    2020-12-06下载
    积分:1
  • 从混合有GPGGA报文的数据中提取GGA,并且计算固定解标准差
    从包含有GPGGA的GPS数据流中提取GPGGA数据,并且计算固定解时的1,2,3倍标准差,提高数据处理效率
    2020-12-08下载
    积分:1
  • 激光锁模技术matlab序代码
    亲测可运行
    2020-11-28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载