HR Question, Java Question, Asp.Net Question, C and C++ Question, SAP, Web Services, Window and XML Question

Hi there, new to the community and first of all just wanted to say its great to be here. I’m rather new to C++ and i was having an issue perhaps someone could clear up for me.
Alright, our instructor for a class im taking would give us simple programs that we needed to make […]

Hello,
I work on a problem and I want my solution to be picked from discrete numbers.( I want a value for diameter and I want it to be selected from the available diameter values)
Does anyone know it can be done with C++ and how?
Thanks

a2a_linkname=”Discrete solution help!”;a2a_linkurl=”http://itquestions.info/discrete-solution-help/”;

Implement a recursive template function for the 2-way Mergesort algorithm.
A Main program is provided that tests this function.
Can anybody help me out with this question?
this is the main function
#include <iostream>
#include "Student.hpp"
#include "MergeSort.cpp"

int main()
{
        const int n=10;
        {
                Student A[n];
        […]

Here’s the code:
#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
#include <ctime>
using namespace std;
 

string getData(ifstream &fin, string array[]);

//string getData(ifstream &fin, string array[]); This is what it SHOULD look like.

void outputData(ofstream &fout, string array[], int numNames);

//void outputData(ofstream &fout, string array[], int numNames)

int main()
{
    ifstream fin;
    ofstream fout;

    fin.open("names.txt");
    //fin.open("numbers.txt");
    fout.open("backwards.txt");

    […]

« Previous Question                            

 Subscribe in a reader