First off, if you need to make a temporary variable (a seperate instance of your structure) then you'll need to actually give your structure a name.
Code:
struct cdInfo
{
...stuff here...
} CD[5];
Now what you have done is created a structure named "cdInfo", and then created an array of five of these structures. You can omit the name as you originally did, but in doing so, you have an unnamed structure.
If you have an unnamed structure, you cannot create seperate instances of it. By providing a name for your structure, you can now create seperate instances of it:
Code:
struct cdInfo oneCD;
Now you can do things with the individual elements of the structure:
Code:
struct cdInfo oneCD;
oneCD.MNumber = 10;
strncpy( oneCD.MName, "My CD", 50 );
Now you've assigned a value to the CD number, and you've copied a name into the name field.
Quzah.