Can any body tell me how to convert the following Fortran arrays to C++?

CHARACTER ST1*10
CHARACTER ST*(*)

Thank you in advance!

>>CHARACTER ST1*10
probably char st1[10]; >>CHARACTER ST*(*)
My guess is char *st;

It's been too long and ForTran has changed. If you explain what the arrays mean in FTN, we can probably give you more exact answers.

>>CHARACTER ST1*10
probably char st1[10]; >>CHARACTER ST*(*)
My guess is char *st;

Thank Dragon!

I think you are right at the first one. For second one, it might be just a string: string ST?

It's been too long and ForTran has changed. If you explain what the arrays mean in FTN, we can probably give you more exact answers.

CHARACTER ST*(*) is just a string to be converted;

CHARACTER ST1*10 is used to save some characters which length is less than or equal 10.

CHARACTER ST*(*) is just a string to be converted;

String like a C++ string or a C-string? Be specific.

CHARACTER ST1*10 is used to save some characters which length is less than or equal 10.

I was asking what the declaration means, not how they are going to be used. We need to know the language definition.