Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: Strings

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

Elena Pourmal <epourmal@xxxxxxxxxxxxx> writes:

> Hi Ed,
>
> You should be able to use strlen function on each element of your
> array to get a length of  each string.
>
> Elena
>

But I can't do that until I read it.

How do I know how much memory to allocate to read it?

Thanks!

Ed
-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx


  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: