If you have a fixed number of arguments then, yes, you have to list them all if you need to initialise the values at the time of definition. If you have a variable number of arguments then you can use square brackets [args] to define the name and loop through the values with forward and reverse.
If I have a fixed number of them but don't want to initialise the values?
Then just use a bare stuc with no defined parameters
e) What's the most common convention for naming a structure: MY_STRUCT? Or MyStruct? Or my_struct? Or anything else?
There is not really a common convention. Basically do whatever makes sense to you in your project. Your boss (if you have one) may dictate to you what naming conventions to use. They are arbitrary, but important.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum