|
Boost : |
From: Kevin Forker (forkerk_at_[hidden])
Date: 2002-11-13 10:06:01
Thanks For everyones Suggestions. It was a typo by me.
I was typing FindFile instead of FindFiles.
-----Original Message-----
From: Ihsan Ali Al Darhi [mailto:iad929_at_[hidden]]
Sent: Sunday, October 27, 2002 8:25 PM
To: Boost mailing list
Subject: Re: [boost] Trying to use FindFiles in RegEx Class
> 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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk