Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 21st, 2007, 9:49 PM   #11
null_ptr0
12 years old
 
Join Date: Nov 2007
Posts: 94
Rep Power: 1 null_ptr0 is on a distinguished road
Re: Overloading operator== for new class

Quote:
Originally Posted by The Dark View Post
@null_ptr0: You are right in that you can't access members (such as size()) in an array. However, you wrong in thinking that numbers is an array. It is a vector, which is an entirely different animal.
Also note that the OP indicated that he fixed the problem from the answer provided in post #2 two days ago, so he probably doesn't need another answer. I know your keen to help, but you should at least read other people's responses - I noticed quite a few of your other posts are just rephrasing of answers already given.
oh, I didn't know it was a vector, sorry.
null_ptr0 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
template class brad sue C++ 1 Mar 25th, 2007 5:46 PM
URL class Eric the Red Java 5 Jun 24th, 2006 9:01 PM
A class with operator overloading Eric the Red C++ 6 Feb 27th, 2006 2:05 PM
using classes in another class ling_wong C++ 6 Jan 23rd, 2006 9:55 PM
MFC/OpenGL: problem with 'Document' class brenda C++ 11 May 23rd, 2005 8:10 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:53 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC