Structures and setting variables
Okay, I'm currently trying to make a program that uses structures. I've used the help document provided by the complier to give it a try and I know that I've done most of it right. The problem though is that it would appear as though I'm not setting a variable right because it gives the complier error: "expected constructor, destructor, or type conversion before '.' token " ... this is the line of code where the problem is occuring
It also give the error: "expected `,' or `;' before '.' token". I'm assuming that it's something that I'm doing wrong with this line because the lines before it defining the variables inside the structure don't cause any errors.
standard.name = "Standard";
And by the way, anyone know how to link a library to a program without creating a project? (For Dev-C++)