salil khanwalkar wrote:
Hi Henk,
Yes i know, that ideally i should include only the .h files. i tried that..I am 
accesing functions from the starter.cpp file. At link time it says that functions from 
sizemaster.cpp are not defined in starter.cpp....this problem was solved after 
including the source code.

What you need to do is compile each separate source file to an object file. Then pass all required object files for your project to the linker. The linker will figure out how to piece together the object files to form an executable. Don't try to hack around this by #include-ing source files in other source files.


I recommend you first familiarize yourself with the fundamentals of C/C++ development.


Regards -Laurens

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to