Help for this page

Select Code to Download


  1. or download this
    class ae_util {
        public:
      ae_util();
    ...
      static string str_time( char * str_fmt = "%Y%2m%2d_%2H%2M%2S" );
      .........
    
  2. or download this
    // ****************************
    ae_util::ae_util()
    ...
        sres = string(str_res);
        return sres;
        }
    
  3. or download this
    $ gcc --shared -o ae_util.so  ../xxx/yyyy/ae_util.o
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    use strict;
    
    print " test1  ", ae_util::strtime( '%Y%2m%2d_%2H%2M%2S' );
    
  5. 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' );
    
  6. 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.