Liste des Groupes | Revenir à cl c |
For most people new to C, it's enough to tell them that "int* a, b;"
declares "a" as a "pointer to int" and "b" as an "int". You tell them
it is a bad idea to write such code, even re-arranged as "int *a, b;",
because it is easy to get wrong - they should split the line into two
declarations (preferably with initialisations). The C newbie will thank
you for the lesson, and move on to write C code without writing such
mixed declarations.
Les messages affichés proviennent d'usenet.