It might be preferable to find a way to use vector< string > mystring ; Then mystring.size () is obviously the size... Otherwise you could use a sentinel, string mystring [] = { "Hello", "World", "" } ; void DoSomething ( string mystring []) { while ( !mystring->empty ()) { DoSomethingWithMystring ( mystring ) ; ++mystring ; } } Paul