Hi all.
Please, help me in this. I've that strange template class and I want make with it the struct. But I just don't understand what do in it "c(id)(seek)(prompt)(short)". What with it eating?
->The void function takes a class object, then uses whatever values those are.
Thanks.
How to rewrite that from c++ to c? Construct might to present as function, but what do with 're str1'?
Please, sample.
class re{
pc* a;
pc_excld* b;
public:
re(constchar* s){
constchar* err; int erro;
a = pc_cli(s, NULL, &err, &erro, 0);
b = pc_st(r, 0, &err);
}
~re(){
if(a) pc_free(a);
if(b) pc_free(b);
}
int sett(constchar* s, int l){
int m[30];
return pc_ex(l,m);
}
int sett(constchar* s, int l, int* m, int xl){
return pc_ex(l,m, xl);
}
};
re str1("(?i)\\nDelivered-To:\\s*(.*?)[\r\n]");
re str2("(?i)\\nX-ResentFrom:\\s*(\\d+)");