- or download this
class ae_util {
public:
ae_util();
...
static string str_time( char * str_fmt = "%Y%2m%2d_%2H%2M%2S" );
.........
- or download this
// ****************************
ae_util::ae_util()
...
sres = string(str_res);
return sres;
}
- or download this
$ gcc --shared -o ae_util.so ../xxx/yyyy/ae_util.o
- or download this
#!/usr/bin/perl
...
use strict;
print " test1 ", ae_util::strtime( '%Y%2m%2d_%2H%2M%2S' );
- or download this
#!/usr/bin/perl<br>
# use Inline CPP => Config => MYEXTLIBS => './ae_util.so';
...
my $obj = new ae_util(1);
print " test1 ", $obj->strtime( '%Y%2m%2d_%2H%2M%2S' );
- or download this
Can't locate object method "new" via package "ae_util" (perhaps you fo
+rgot to load "ae_util"?) at ./inline2.pl line 7.