Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $num = 1234;
    syswrite ( FH, $num );
    close FH;
    
  2. or download this
    #include <stdio.h>
    main() {
    ...
            fwrite( &num, sizeof(int), 1, fh);
            fclose( fh );
    }