Mail Archives: djgpp/1998/11/25/02:15:31
You need to give moo a value, otherwise you're adding something to a ariable
which doesn't have a value, and hence you're getting an error becuase you're
variable is declared but not defined.
Jeff Johnson wrote in message
<3 DOT 0 DOT 6 DOT 32 DOT 19981124194909 DOT 007a21d0 AT tenforward DOT com>...
>(sniff)..i cant stand it!...this is driving me crazy!..
>
>i made a prog. when i compiled it it said i was "redefining" every variable
>whenever i used it, ex:
>
>#include <iostream.h>
>#include <string6.h>
>int main()
>{
>blah blah blah
>int moo;
>int cow = 6;
>moo = (moo + cow) //Redefinition Error Here
>}
>Now, This isn't the exact program.. the real thing is 700+ lines, so
>someone help me out B4 I go crazy, crazy? I was Crazy Once, They locked me
>in a room with rats, rats? rats drive me crazy, crazy? i was crazy once,
>they locked me in a room with rats, rats? rats drive me crazy, crazy? i was
>crazy once, they locked me in a room with rats, rats? rats drive me crazy,
>crazy? i was crazy once...............
>
>
>
>
>
>
>
- Raw text -