Friedrich Hagedorn wrote:
> Hallo,
>
> ich muss mich gerade mal wieder in C einarbeiten und folgende zwei
> Ausdrücke verstehen:
>
> void (* const vectors[128])(void) = {...}
>
> Ich vermute, dass ist ein array mit 128 konstanten Zeigern auf Funktionen
> vom Typ void -> void. Dagegen ist
>
> const void *vectors[] = {...}
>
> vermutlich ein array mit void-Zeigern auf irgendwelche konstanten Objekte.
>
> Sind meine Interpretationen richtig?~> cdecl Type `help' or `?' for help cdecl> explain void (* const vectors[128])(void) declare vectors as array 128 of const pointer to function (void) returning void cdecl> explain const void *vectors[] declare vectors as array of pointer to const void cdecl> exit Richtig interpretiert soweit ;) > Vielen Dank, > > Friedrich Ciao, Thomas -- Thomas Köhler Email: [email protected] <>< WWW: http://gott-gehabt.de IRC: tkoehler Freenode: thkoehler PGP public key available from Homepage!
signature.asc
Description: Digital signature
_______________________________________________ Lug-dd maillist - [email protected] https://ssl.schlittermann.de/mailman/listinfo/lug-dd
