Hi,

I am using Metrowerks Codewarrior.

1.  Can I create a structure containing other structures that will describe a 
large group of engines AND a large group of transmissions?  In other words.  I 
want to describe both the engines and the transmissions with critical 
identifiers for inventory.  Any chance someone might show me how to code this 
for PalmOS?  I was thinking I might start with:

Struct TransEng[200]
{

struct motor
{
unsigned hp, displacement, liter;
char[20] manufacturer;
bool works;
}

struct transmission
{
char[20] manufacturer, model;
}

} myinventory;

(Pardon all errors, PLEASE.)

2.  Once I create "myinventory", how do I save it? Is it "already saved" once 
it is created because I am working directly on the memory it occupies under 
PalmOS?

Thank you for any responses that serve to make this learning curve less steep 
than it feels like at present.
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to