No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]use strict; use warnings; use IO::Socket; my $sock = new IO::Socket::INET( PeerAddr=> 'localhost', PeerPort=> '7070', Proto => 'tcp'); die "Could not create socket: $!\n" unless $sock; my $run = "yes"; while($run eq "yes") { my $text = <STDIN>; print $sock "$text"; print "Send more strings? yes/no"; $run = <STDIN>; } … |
|
ok i have a perl script [CODE]use strict; use warnings; open(my $in, ">>", "log.txt") or die "cant open log.txt $!" ; my @files = <*>; foreach my $file (@files){ print $in $file . "\n"; } close $in or die "$in $!";[/CODE] it gets the filenames that are in the same … |
|
whats the best way to make gui programs write all code your self or use the gui creator from netbeans? dont you get crappy code from the creator ? |
|
can someone show me how to display the system time ? |
|
whats wrong with my code? .model small .stack .data buffer db 10,?, 10 dup(' ') .code main proc mov dx, offset buffer mov ah, 0ah int 21h xor bx,bx mov bl, buffer[1] mov buffer[bx+2], '$' mov dx, offset buffer + 2 mov ah,09 int 21h ret mov ah,4ch int 21h … |
|
isnt it an good idea to make an sticky where everyone can post, simple examples? or mini tuts to get peaple started with asm? like this an masm example: [CODE=assembly].model small .stack .data .code main proc mov ah,1 ; dos int 21 interupt ah =1 to int 21h ; get … |