Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
Two questions. One, I am compiling a c++ program on Solaris and i used
gcc -o program.exe blah.cpp ha.cpp -(somthing)
i forgot what teh something was but it eliminated the problem of unreferenced operators in the program. something like -$lstrp or something like that.Two, i am using this while loop in a perl script
while() {
}
but it keeps going forever or does nothing butjust sits and i cant get out of it unless i restart the ssh connection. the code is like this:open(IN"some bin file");
while(){
if (!m/^\#/ && $dormcnt 20){
chomp;
$dormcnt++;
($ip,$flows,$oct,$pack) = split(" ",$_,4);
&getipnam;
print MAIL "$ip\t$name\t$oct\n";}}so it just gives me a new line and i can type whatever but not get back to the prompt...
any help would be much appreciated.
joe

It looks like some of your programming code got lost in the posting. Post it again, only this time click the "Trying to post programming code" link on the confirm page and follow the directions.
-SN

![]() |
Using Patch.exe
|
Javascript: ProcessMessag...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |