![]() |
|
#31
|
|||
|
|||
|
Quote:
Yeah i used that one too... What might be the problem... i wonder... |
|||
|
#32
|
|||
|
|||
|
WHy is this giving me those errors?
How can i fix my code? CPP / C++ / C Code:
errors: Code:
Last edited by LuciWiz : 05-May-2005 at 11:43.
Reason: Please insert your C code between [c] & [/c] tags
|
|
#33
|
|||
|
|||
|
For starters, add these lines right after the #includes.
CPP / C++ / C Code:
And then this was like this: CPP / C++ / C Code:
There are a lot of little odds and ends to clean up. For example, CPP / C++ / C Code:
There are undeclared items such as objeto. That's why I was trying to get you started (well, I know you've been at this for a while so it's not really "started") with code that worked. Apparently I'm not familiar with some of the differences between BC55 and MSVC6. It looks like the MSVC6 build has an issue with closing/reopening the file (???). |
|
#34
|
|||
|
|||
|
Okay, apparently the MSVC6 version needs me to clear the stream after closing the file. Adding this produced the expected results.
CPP / C++ / C Code:
[edit]Hmmm. http://groups-beta.google.com/group/...b16e6517f1141e Quote:
|
|
#35
|
|||
|
|||
|
thisis what i have so far:
Code:
errors: Code:
|
|
#36
|
|||
|
|||
|
First 2 diagnostics, different compiler...
Code:
Code:
Keep at it. |
|
#37
|
|||
|
|||
|
Quote:
What do you means with this? |
|
#38
|
|||
|
|||
|
I read it just like it says, "'PhoneBook:
CPP / C++ / C Code:
http://www.parashift.com/c++-faq-lit....html#faq-13.5 |
|
#39
|
|||
|
|||
|
Quote:
yes i know i need some parameters there even tho the professor said we didn't... but i have no clue what parameter i should put there... |
|
#40
|
|||
|
|||
|
Well if it's being used to change the areacode, and areacode is and int, my guess would be an int value that you will assign to the areacode. But if you are going to take user input within the overloaded operator (to fit "what your professor says"), then you would probably merely need to dummy it up.
|
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The