Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Tags
php x 10
c x 4
java x 3
Member Avatar for soultrav

Hi! I wrote a program that reads and saves e-mails, of course by using sockets for connecting to the mail server. But I don't know how to download attachments, I used telnet to open an e-mail with an attachment, and I didn't see a link or something to the attached …

Member Avatar for marco93
0
131
Member Avatar for soultrav

How do i compare an object with null? From what i've seen right now, at execution an NullPointerException will be thrown :S For example, if I have a list: [code=java] class List { private Node data; private Lista urm; public List(Node d,Lista u) { data = d; urm = u; …

Member Avatar for Zibo
0
7K
Member Avatar for soultrav

I am building an xml parser in java which will handle a catalog with some books (that have price and usefulness) and I want to implement an [B]optimum[/B] algorithm that selects the books from the catalog which have the maximum usefulness while staying within the budget. Example: [code] <catalog cash=”100”> …

Member Avatar for dickersonka
0
96
Member Avatar for soultrav

Hello! The error above appears on line 9 and i can't seem to figure it out! [code=php] <?php srand(time()); for ($i=0; $i < 5; $i++) { $rand1 = (rand()%13 + 1); $rand2 = (rand()%4 + 1); $slot[$i] = $rand1*10 + $rand2; for($j=0;$j<$i;$j++) while(slot[$i] == slot[$j]) { $rand1 = (rand()%13 + …

Member Avatar for jt1
0
130
Member Avatar for soultrav

Hello! I am trying to make a program for string compression using LZ compression techniques, but the program is at the beggining - I fail to realise what goes wrong, but I think it is a problem with string operations. [code=C] #include <stdio.h> #include <conio.h> typedef struct comp { char …

Member Avatar for Narue
0
147
Member Avatar for soultrav

If i have, for example, a marquee that displays time when i push a button,like this: [code=php] if($_POST['time']) echo "<marquee direction=right behavior=alternate scrolldelay=500 scrollamount=30>".date('d-m-Y').' GMT'.date('P').' '.date('H:i:s')."</marquee>"; [/code] ,it will display the time at the moment that i pushed the button. How could i make it to display the time continously? …

Member Avatar for soultrav
0
109
Member Avatar for soultrav

i have a textbox and a button,like this: [code=php] <form method='post' action=<?php echo $_SERVER["PHP_SELF"]; ?> > <input type='text' name='write'> </input> <input type='submit' name='push'> </input> </form> [/code] , and i want that everytime that i push the button the content to be listed on the page without the previous content being …

Member Avatar for soultrav
0
106