Ok, this might seem like a rather silly question. I'm not-so-new at coding, but I still don't know my tail-end from a hole in the ground. I've managed to track down and fix a few bugs since updating to ubuntu's Koala, but this one is simply giving me fits.
Now, the error that it's throwing when I compile is strlen is undeclared in this scope. So, I tried the logical thing and tried declaring it...and it threw another error saying th at strlen can't be used as a descriptor or some such (I lost my password so waiting for the admin to show up)
Anyone familliar at all with this? OH! Idiota me...it's in swfotefuss.
Any help or advice (other than suicide or burning my fingertips off with a blowtorch) would be greatly appreciated. :)
void Project_Handler::set_topwidth(void)
{
Project_Data *project;
string strbuf;
if(!first_project)
{
topwidth = 0;
return;
}
for(project = first_project; project; project = project->get_next())
{
strbuf = project->get_heading();
if(topwidth < (int)strlen(strbuf.c_str()))
{
topwidth = strlen(strbuf.c_str());
}
}
return;
}
Now, the error that it's throwing when I compile is strlen is undeclared in this scope. So, I tried the logical thing and tried declaring it...and it threw another error saying th at strlen can't be used as a descriptor or some such (I lost my password so waiting for the admin to show up)
Anyone familliar at all with this? OH! Idiota me...it's in swfotefuss.
Any help or advice (other than suicide or burning my fingertips off with a blowtorch) would be greatly appreciated. :)