wow that is really weird. there should be no error like that. especially on a line that does not exist.
edit: especially, it is highly unlikely that a compiler has a bug.
Printable View
wow that is really weird. there should be no error like that. especially on a line that does not exist.
edit: especially, it is highly unlikely that a compiler has a bug.
checknumber is used before it's declared
how? it is prototyped under #include <iostream>Quote:
Originally posted by abrege
checknumber is used before it's declared
Sometimes the compiler refers you to lines in the header file. Check line 56 of the header.
Ah, missed that :oQuote:
Originally posted by alpha
how? it is prototyped under #include <iostream>
very odd.. it compiled fine on my MSVC++ 6.
Just a wild tangent but might it have something to do with your declaring the function outside of std ... ?
Namespaces are one of the few things in C++ I haven't learned much at all about yet :p
Works fine in Dev C++ 4 too. What compiler are you using??
YOU MEAN ITS ALREADY DEFINED?!?!?!? DANG!!!!!
Im using gnu.