Liste des Groupes | Revenir à cl c |
On 02/07/2024 20:39, Blue-Maned_Hawk wrote:It actually allows parameters to be omitted, since one can omit struct members. And it also gets default values for these, but it's a fixed one, zero. So, that's limited. But possibly useful.int main(void)This addresses a small part of it. Named parameters allow arguments to be omitted, and that requires also default values to be defined.
{
f(.i = 0, .j = 2, .l = 2.5, .k = "foo", .n = 4.2, .m = 2.5);
}
Les messages affichés proviennent d'usenet.