[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: General C++ Question about arrays
From:       Markus Goetz <guruz () gmx ! de>
Date:       1999-08-25 14:02:27
[Download RAW message or body]

[...]
>
>const static char* myarray[] = { "one", "two", "kde rulez", "billy sucks", 0 };
>
>for ( int i = 0; myarray[ i ]; ++i )
>
>If you want to do it with QStrings you should use QString::null at the end.  

OK, thank you and all the others for helping :-)

Markus


--
Markus Goetz (guruz@gmx.de, http://guruz.tsx.org, icq:23244271)

Der dumme Spruch des Tages (maschinell zufällig ausgewählt) :
Lieber Kissenschlachten als Robben schlachten.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic