Posted: Tue Aug 15, 2006 3:03 pm Post subject: (No subject)
Darn I knew I'd screw something up. The actual code does declare a size for the array... That is why I wanted to avoid using the code. Assume the rest of the code works dandily because it does, i've been testing it after every new function I write.
Actually I think you've answered me (although indirectly).
I now know that I am passing the array correctly to my function.
I wonder why it complains about a different preprocessor being an "undefined reference". (Remember I tested the code prior to building this array function and the other preprocesser was fine)
Sponsor Sponsor
Justin_
Posted: Tue Aug 15, 2006 3:12 pm Post subject: (No subject)
Got it working!
Okay, dunno what happened there... the code was definitely working. I suppose I must have accidently deleted from the other function declaration while creating the new function
wtd
Posted: Tue Aug 15, 2006 3:29 pm Post subject: (No subject)
Forward declarations are not a use of the preprocessor.
Justin_
Posted: Tue Aug 15, 2006 3:35 pm Post subject: (No subject)
Its been a long time since I used C++ so I was confusing a function prototype and a preprocessor, my bad.