Jay Francis <[EMAIL PROTECTED]> writes:

>  Err err = 0;
>  Char * waterString;

You're only declaring a pointer to the string; you aren't allocating
storage to actually hold the characters.

You should get a good C book and read the chapter(s) on arrays and
string handling, specifically the difference between

  char *x;
  char x[20];

-- 
Dave Carrigan ([EMAIL PROTECTED])            | Yow! I've got to get these SNACK
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | CAKES to NEWARK by DAWN!!
Seattle, WA, USA                            | 
http://www.rudedog.org/                     | 

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

Reply via email to