Boost logo

Boost :

From: Ihsan Ali Al Darhi (iad929_at_[hidden])
Date: 2002-11-13 08:01:43


> exprestion.FindFile(MyFalse, string);
> }
>

Forgive me if my answer is stupid because I am beginer not professional
like you.

1. you called FindFile() not FindFiles() and I think this is just a typo.

2. You called this function with the second argument 'string'. Are you using
'string as a variable or as a type? If 'string' is a variable, then how you
define it? I suggest you do something like this

int myfunction()
{
,,,,,,
RegEx expresion;
.....
exprestion.FindFile(MyFalse, str); // where str is defined as char *
}

Or

int myfunction()
{
,,,,,,
RegEx expresion;
.....
exprestion.FindFile(MyFalse, string.c_str());
}

Again. Forgive me if this is a stupid answer.

Mohammed


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk