BIGREDIOWAN Posted December 20, 2006 Share Posted December 20, 2006 At least your a good sport Quote Link to comment
bennychico11 Posted December 20, 2006 Share Posted December 20, 2006 friend ostream& operator<<(ostream& s,Vector v); double mean()const; return numeric 'Heart' IF 'Heart' const(Vector 3) then jump to 'TouchdownAuburn'' Return END Sorry to say it buddy, but you had a small error in there, it's okay though, i fixed it for ya'. Funny how one small phrase can make the whole program wrong! no, that's the Auburn code for heart....it's a subroutine of the Nebraska code which designates a touchdown. I think you will notice that the Nebraska algorithm stated the variable HuskerWin. Your code just gives you a touchdown. There was no need to create the AuburnWin variable Quote Link to comment
Syzygyone Posted December 20, 2006 Author Share Posted December 20, 2006 Colossus concurs! hey HACK, is that picture of you? If so, yer pretty nerdy!!!! Quote Link to comment
pigsonthewing Posted December 20, 2006 Share Posted December 20, 2006 class matrix; class imatrix; class iVector; class Vector { friend class matrix; double *data; int len; public: //constructors Vector(); Vector(int n); //copy operator Vector(const Vector& original); //destructor ~Vector(); //assignment operator Vector& operator =(const Vector &original); Vector& operator =(const Vector original); //not really different or needed double& operator[](int i)const ; Vector operator +(const Vector& v); Vector operator -(const Vector& v); friend Vector operator*(double,Vector); friend Vector operator*(Vector,double); //friend Vector operator*(Vector&); //printing for debugging purposes void rprint() const; void print()const ; void resize(int n); friend double dot(const Vector& v1, const Vector& v2); friend double norm(const Vector& v); double norm(void)const; void zero(void); int length() const{ return len;} int operator==(const Vector& v)const; double max(void)const; double min(void)const; friend ostream& operator<<(ostream& s,Vector v); double mean()const; return numeric 'Heart' IF 'Heart' const(Vector 3) then jump to 'TouchdownAuburn'' Return END Sorry to say it buddy, but you had a small error in there, it's okay though, i fixed it for ya'. Funny how one small phrase can make the whole program wrong! *SYNTAX ERROR* *Does Not Compute* Quote Link to comment
HuskerJosh82 Posted December 21, 2006 Share Posted December 21, 2006 Who hates video games now? Quote Link to comment
Drowning_in_the_Sea_of_Red Posted December 21, 2006 Share Posted December 21, 2006 Nerds................ just messin'................... Quote Link to comment
Axl_sued_me Posted December 21, 2006 Share Posted December 21, 2006 The computer also picked Rocky Balboa over Mason Dixon. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.