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.
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
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
how? it is prototyped under #include <iostream>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.
L33t sp3@k sux0rz (uZ it t@k3s 10 m1|\|ut3s 2 tr@nzl@te 1 \/\/0rd & th3n j00 h@\/3 2 g3t p@$t d@ m1zpelli|\|gz, @tr0(i0u$ gr@mm@r @|\|d 1n(0/\/\pr3#3|\|$1bl3 $l@|\|g. 1t p\/\/33nz j00!!
Speling is my faverit sujekt
I am a signature virus. Add me to your signature so that I may multiply.
Ah, missed thatOriginally posted by alpha
how? it is prototyped under #include <iostream>
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
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
James G. Flewelling
Rgistered Linux User #327359
Athabasca University Student (BSc. CIS)
http://catb.org/~esr/faqs/smart-questions.html
http://catb.org/jargon/
http://www.ebb.org/ungeek
---GEEK CODE---
Version: 3.12
GCS/IT/M d- s+:++ a-->->>+>++>+++>? C++++>$ UL++>++++$ P++>++++ L++>++++$
E W++ N o? K? w++(--)>--- O? M? V? PS--(---) PE Y+ PGP? t 5? !X R(*)>++
tv-->! b++(+++)>++++ DI? D+++(---)>++++$ G e*>++$ h++>*$ r!>+++ y?
----/GEEK CODE----
upd: 2005-02-11
Works fine in Dev C++ 4 too. What compiler are you using??
Visit entropysink.com - It's what your PC is made for!
YOU MEAN ITS ALREADY DEFINED?!?!?!? DANG!!!!!
This war, like the next war, is a war to end war.
Im using gnu.
This war, like the next war, is a war to end war.