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.Code:standard.name = "Standard";
Any suggestions?
And by the way, anyone know how to link a library to a program without creating a project? (For Dev-C++)



LinkBack URL
About LinkBacks




[Just got that myself - I got past one point, only to find that the code deadlocks because an interface I'm calling is calling back into the module I'm using, which has locks to prevent it from being re-entered, so the whole thing just sits there waiting ...
]