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@;joinnet.com.jo]
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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to