Search Results

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: Marivel
Forum: C++ Dec 9th, 2004
Replies: 6
Views: 2,783
Posted By Marivel
Another chunk of code based off some help I was given:


#include <algorithm>
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
Forum: C++ Dec 9th, 2004
Replies: 6
Views: 2,783
Posted By Marivel
Yeah, we have to use vectors - that's about the only certain bit of info we were given.

This is what I have now, and it looks promising (if not lenghty...)


for (z == size() );

{
int y =...
Forum: C++ Dec 9th, 2004
Replies: 6
Views: 2,783
Posted By Marivel
Will this work to begin sorting in descending order by vector?


if (int y = 0; int z = 1; O[y] > O[z]; y++; z++;)
{
return 1;
}

else if (O[y] < O[z];)
{
Forum: C++ Dec 8th, 2004
Replies: 6
Views: 2,783
Posted By Marivel
Yeah, it's your typical homework help topic, but the problem is this is stuff we NEVER COVERED IN CLASS and it was NOT IN OUR BOOK, even our TA can't figure out why our professor assigned this to our...
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC