خرید بک لینک

Vote count: 0

I have written a Perl script that takes an input hexadecimal value and then retus the binary equivalent. I need to sign that 8-bit integer and view the signed integer's value. This particular scenario does not seem to be covered in the Perl documentation that I have seen. The script is pasted below:

    #! perl
    use waings;
    print "Enter hexidecimal number:";
    chomp ($hexNum = <STDIN>);
    print $hexNum . "n";
    print  join "n", map { unpack ('B*', pack ('H*',$_)) } split ':', 
    $hexNum;

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 29 اسفند 1394 ساعت: 2:42

صفحه بندی