01.
帮忙写个希尔排序的C++程序.我来帮你做..妹妹给分哦!#include "iostream.h" void shellSort(int *arr, int len, int *p, int len1); int main() { int num={100,12,20,31,1,5,44,66,61,200,30,80,150,4,8}; int i; co...查看完整版>>
帮忙写个希尔排序的C++程序.
02.
请高手帮忙编写一个C++程序段#include <ctime>#include <cstdlib>#include <iostream>using namespace std;int main(){srand((unsigned)time(0));for(int i = 0; i < 4; ++i)cout << rand() % 10 << ' ';}函数...查看完整版>>
请高手帮忙编写一个C++程序段
03.
一个c++程序帮忙改改晕,看来你是个新手啊,,改好了,你自己运行以下吧 1。student类中的两个构造函数有错误,第二个函数你设置的值是都是给定的,所以编译器汇报错。#include<iostream.h> #include<string.h> class perso...查看完整版>>
一个c++程序帮忙改改
04.
帮忙改个c++小程序#include <iostream>#include <string>using namespace std;int main(){ int count=0; string word; string str="done"; cout << "Enter words (to stop,type the word done):"; cin >>...查看完整版>>
帮忙改个c++小程序
05.
C++程序,请朋友帮忙解释一下!这是用模板来实现一个"stack"类,即栈类类可以理解为用户自定义类型,它将数据表示和操纵数据的方法集合在一起,类的实例化就是对象.(好像很笼统~~)push()是用来把一个元素压入栈顶.如果不知道栈是什么,建议你去看一下数...查看完整版>>
C++程序,请朋友帮忙解释一下!
06.
如何用C++写数据结构的程序(要用排序法)最简单的就是用冒泡排序法。...查看完整版>>
如何用C++写数据结构的程序(要用排序法)
07.
请高手帮忙写个VFP N个数字排序小程序没人管?我做吧input'请输入要排序数字的个数:' to zshudimension a(zshu)for rr=1 to zshu input'请输入第['+Str(rr,4)+']个数:' to a(rr)endforfor rr=1 to zshu for ss=zshu to 2 Step -1 tt=a(ss...查看完整版>>
请高手帮忙写个VFP N个数字排序小程序
08.
c++帮忙看下这程序错哪了?student(int i,char *str,int g) { no=i; strcpy(name,str); //这里最好是用 strncpy(),不然溢出了,你都不知道哪错了age=g; } 默认构造的函数名写错了.......查看完整版>>
c++帮忙看下这程序错哪了?
09.
帮忙用C++编个简单程序你真要编一个这样的程序。。好。给你。。。#include <stdio.h>#include <stdlib.h>#include <string.h>#define MAX 26int stay=0;FILE *fin=fopen("data.in","r");FILE *fout=fopen("data.out","w...查看完整版>>
帮忙用C++编个简单程序
10.
帮忙看看这个c++小程序?多谢!三个错误:1、判断条件错误,strcmp(word,"done")返回非零表示不等,也就是说(!strcmp(word,"done"))表示word为"done"时才循环,反了,应该是不为“done时循环”。2、word如果为“”,表示输入结束,也应该结束循环,...查看完整版>>
帮忙看看这个c++小程序?多谢!
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。