Help for this page

Select Code to Download


  1. or download this
        typedef struct my_data
            {
            char    c;
            int    i;
            } MY_DATA;
    
  2. or download this
        my $packet = pack 'c xxx N', $letter, $integer;
    
  3. or download this
        my ($letter, $integer) = unpack 'c xxx N', $resp;