![]() |
Any C++ programmers in the house??/
This is my homework, no i don't need it done, i only need a tip on why my overloaded operator and iterator function in public is just giving me the same(too many parameter) error. This part of the program is supposed to print all the objects in the already setup lists in the bank class... I only need a hint, not the solution(unless you are willing to do that, but i wouldn't be learning anything). Thanks.
Code:
#include <iostream> |
I fixed it so your intenting shows ;)
the tags are [code] and [/ code] btw ;) w/o the space. as for the errors, I dunno...??? I'll pull out a book and look later, though ;) |
thanks, i will keep that in my for the next time. Thanks.
|
I'm pretty new to C++ (only one semester under my belt right now)... however, just curious, what are you '#include'ing? From what I can tell, that may be the problem, as it is used 4 times, but nothing is declared after. I'm thinking you're missing:
#include <iostream> #include <string> #include <fstream> #include <list> Try that out and lemme know what happens! Edit: My bad, the vbCode of this website blanks out the template declarations... weird :) Kinda figured you didn't forget them anyways |
All times are GMT -8. The time now is 01:13 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project