-
segy data format to read and write and model realization
segy数据格式的读入和写出以及模型的实现问题-segy data format to read and write and model realization
- 2022-03-09 20:20:25下载
- 积分:1
-
一个非常完美的工业曲线显示控件
一个非常完美的工业曲线显示控件-a perfect curve showed industrial controls
- 2022-03-13 11:51:32下载
- 积分:1
-
DAT to VCD format files converted to MPG format gadget is simple and practical
把VCD格式的DAT文件转换成MPG格式的小工具 简单实用-DAT to VCD format files converted to MPG format gadget is simple and practical
- 2022-07-26 23:03:25下载
- 积分:1
-
thank you
舞会上男女各排成一队进入舞厅,跳舞时依次从男士队伍和女士队伍的队头各出一个人相互结成舞伴。如果两队的人数不等,则队伍较长中未配对的人员将等待下一轮的舞曲。
要求用程序完成该配对过程的模拟,从键盘输入所有人员的名单,输入格式为“姓名 性别”,并且男女无序,输出所有配对的男女舞伴,如果某队伍中还有人员未配对完,则另外输出所有尚未配对人员名单。
选作内容:
1. 实现下一轮次的继续配对,此时,所有尚未配对的人员应优先予以配对;
2. 将姓名与性别数据存放在文本文件中,直接从文本中读入数据。
实现说明:
1. 总是排在队头的男女相互结成舞伴,具有队列的先进先出特征,因此采用队列来完成;
2. 采用两个队列分别存放男士和女士的姓名,所有输入的人员按照性别依次分解到各自的队列中,然后顺次取出各自的队头元素来配对并输出;
3. 队列类的数据类型可以是字符数组,也可以先实现模板类,再用字符数组来实例化实现。-thank you
- 2022-03-01 16:14:45下载
- 积分:1
-
C++编程惯用法.高级程序员常用方法和技巧
C++编程惯用法.高级程序员常用方法和技巧-C++ programming idioms. Senior programmers commonly used methods and techniques
- 2022-05-07 16:38:58下载
- 积分:1
-
VB prepared by delaunay triangulation, it is fortunate that in the written hard,...
用VB编写的delaunay三角网,很幸苦在写出来的,不错的东西-VB prepared by delaunay triangulation, it is fortunate that in the written hard, good things
- 2023-08-17 12:15:08下载
- 积分:1
-
idhttp操作网页
idhttp操作网页的实例,很强大的功能,可以应用各个领域,希望能帮到大家。
- 2023-09-06 03:45:04下载
- 积分:1
-
Through the WINSOCK, achieved a long
通过WINSOCK,实现了远程采集功能,通过该程序可以了解VC++的简单编程,及WINSOCK控件的使用。-Through the WINSOCK, achieved a long-range capture functionality, through the program can learn a simple VC++ programming, and the WINSOCK control use.
- 2022-01-26 04:21:38下载
- 积分:1
-
VC例程Iocomp控件库,超过70的来源
IOComp控件库的vc例程,有70多个源程序-IOComp vc widget library of routines, more than 70 source
- 2022-07-28 00:50:11下载
- 积分:1
-
分割midi音符test1split1str1.cpp
// test1split1str1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
/*
File : split1.cpp
Author : Mike
E-Mail : Mike_Zhang@live.com
*/
#include
#include
#include
#include
#include
using namespace std;
//字符串分割函数
std::vector split(std::string str,std::string pattern)
{
std::string::size_type pos;
std::vector result;
str+=pattern;//扩展字符串以方便操作
int size=str.size();
for(int i=0; i
- 2022-03-22 16:35:52下载
- 积分:1