Character strings

Character strings

C/C++ character strings are stored as a NULL (char(0)) terminated arrays of characters whilst Fortran characters strings are fixed length and are padded to the end of the array with spaces. It is important to take into consideration these different methods of storing strings when passing or receiving them as parameters.

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited