Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Programmazione > [Programmazione] Progetto Telefonia
Pages (5): « 1 2 3 4 [5]   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
cristiano
.amico.

User info:
Registered: Nov 2003
Posts: 37 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: segùndo
Time Online: 8:16:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ok, msg ricevuto.tra l'altro ti scrissi che date era deprecated perchè mi riferivo a java.util.Date e calendar..un casino..poi ho rimediato!per l'allineamento era solo questione di *txt piuttosto che *doc.
Grazie per le dritte e a presto.

14-07-2004 00:25
Click Here to See the Profile for cristiano Click Here to See the Blog of cristiano Click here to Send cristiano a Private Message Find more posts by cristiano Add cristiano to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
cristiano
.amico.

User info:
Registered: Nov 2003
Posts: 37 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: segùndo
Time Online: 8:16:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ok, msg ricevuto.tra l'altro ti scrissi che date era deprecated perchè mi riferivo a java.util.Date e calendar..un casino..poi ho rimediato!per l'allineamento era solo questione di *txt piuttosto che *doc.
Grazie per le dritte e a presto.

14-07-2004 00:29
Click Here to See the Profile for cristiano Click Here to See the Blog of cristiano Click here to Send cristiano a Private Message Find more posts by cristiano Add cristiano to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
altersystem
.illuminato.

User info:
Registered: Apr 2004
Posts: 228 (0.03 al dì)
Location:
Corso: informatica paranormale
Anno: I
Time Online: 4 Days, 19:11:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by cristiano
Ok, msg ricevuto.tra l'altro ti scrissi che date era deprecated perchè mi riferivo a java.util.Date e calendar..un casino..poi ho rimediato!per l'allineamento era solo questione di *txt piuttosto che *doc.
Grazie per le dritte e a presto.


un altro post no?
:P

14-07-2004 07:10
Click Here to See the Profile for altersystem Click Here to See the Blog of altersystem Click here to Send altersystem a Private Message Find more posts by altersystem Add altersystem to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lino
.precettore.

User info:
Registered: Jun 2003
Posts: 96 (0.01 al dì)
Location: lodi
Corso: informatica
Anno: terzo
Time Online: 2 Days, 1:25:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Panico....
Per l'allineamento calcolavo la lunghezza del cognome piu' lungo di tutta la sequenza degli abbononati e poi man mano che scorrevo la sequenza per stampare le bollette inserivo tanti spazi dalla fine del cognome preso in considerazione alla lunghezza massima. Ma devo aver sbagliato qualcosa nel calcolo della lunghezza massima........ qual'è il modo migliore per calcolarla ad esempio su questa semplice lista?

Pluto
Paperino
Toni

14-07-2004 08:06
Click Here to See the Profile for lino Click here to Send lino a Private Message Find more posts by lino Add lino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
altersystem
.illuminato.

User info:
Registered: Apr 2004
Posts: 228 (0.03 al dì)
Location:
Corso: informatica paranormale
Anno: I
Time Online: 4 Days, 19:11:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by lino
Panico....
Per l'allineamento calcolavo la lunghezza del cognome piu' lungo di tutta la sequenza degli abbononati e poi man mano che scorrevo la sequenza per stampare le bollette inserivo tanti spazi dalla fine del cognome preso in considerazione alla lunghezza massima. Ma devo aver sbagliato qualcosa nel calcolo della lunghezza massima........ qual'è il modo migliore per calcolarla ad esempio su questa semplice lista?

Pluto
Paperino
Toni


differenza = (maxLunghezza-cognomeConsiderato)
ad ogni nome devi aggiungere tanti spazi pari alla differenza tra i nomi +1;
per farlo ti serve un metodo che aggiunga uno spazio ad una stringa inizialmente vuota tante volte pari alla lunghezza della differenza.

spero di essere chiaro.

14-07-2004 08:20
Click Here to See the Profile for altersystem Click Here to See the Blog of altersystem Click here to Send altersystem a Private Message Find more posts by altersystem Add altersystem to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
altersystem
.illuminato.

User info:
Registered: Apr 2004
Posts: 228 (0.03 al dì)
Location:
Corso: informatica paranormale
Anno: I
Time Online: 4 Days, 19:11:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

l'algoritmo dovrebbe essere questo:
lungh=0;
fino a che ci sono chiamate (per il cli della bolletta considerata)
nome = nomedelchiamato.length();
se (nome è maggiore di lungh)
lungh=nome
fine se
end

14-07-2004 08:35
Click Here to See the Profile for altersystem Click Here to See the Blog of altersystem Click here to Send altersystem a Private Message Find more posts by altersystem Add altersystem to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lino
.precettore.

User info:
Registered: Jun 2003
Posts: 96 (0.01 al dì)
Location: lodi
Corso: informatica
Anno: terzo
Time Online: 2 Days, 1:25:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grazie Alter.
Tu come li scegli i 3 amici nella classe Friend?
Ma li passi come tre stringhe?

14-07-2004 12:59
Click Here to See the Profile for lino Click here to Send lino a Private Message Find more posts by lino Add lino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
altersystem
.illuminato.

User info:
Registered: Apr 2004
Posts: 228 (0.03 al dì)
Location:
Corso: informatica paranormale
Anno: I
Time Online: 4 Days, 19:11:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Li scelgo a caso tra i clienti telesuono e li passo come stringhe.
occhio, entro le 18:00 di oggi si consegna.

ciao

14-07-2004 13:24
Click Here to See the Profile for altersystem Click Here to See the Blog of altersystem Click here to Send altersystem a Private Message Find more posts by altersystem Add altersystem to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
altersystem
.illuminato.

User info:
Registered: Apr 2004
Posts: 228 (0.03 al dì)
Location:
Corso: informatica paranormale
Anno: I
Time Online: 4 Days, 19:11:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Off-Topic:
chi ha già consegnato il progetto ?

14-07-2004 13:25
Click Here to See the Profile for altersystem Click Here to See the Blog of altersystem Click here to Send altersystem a Private Message Find more posts by altersystem Add altersystem to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lino
.precettore.

User info:
Registered: Jun 2003
Posts: 96 (0.01 al dì)
Location: lodi
Corso: informatica
Anno: terzo
Time Online: 2 Days, 1:25:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Lo so che si consegna e infatti sono nella m....

devo fare tutte le classi di fretta.

Ma per sceglierli a caso , scorri la lista e controlli se esiste il nome?
es. Matteo
while ci sono ancora abbonati
se abbonato.getNome uguale a Matteo
allora lo inserisci in un array definito(String[]array=new String[2]

14-07-2004 14:14
Click Here to See the Profile for lino Click here to Send lino a Private Message Find more posts by lino Add lino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
altersystem
.illuminato.

User info:
Registered: Apr 2004
Posts: 228 (0.03 al dì)
Location:
Corso: informatica paranormale
Anno: I
Time Online: 4 Days, 19:11:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by lino
...array definito(String[]array=new String[2]


ti ho mandato un pm.

ciao

14-07-2004 14:35
Click Here to See the Profile for altersystem Click Here to See the Blog of altersystem Click here to Send altersystem a Private Message Find more posts by altersystem Add altersystem to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
cristiano
.amico.

User info:
Registered: Nov 2003
Posts: 37 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: segùndo
Time Online: 8:16:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Consegnato!Grazie ad Alter e a tutti gli altri per i contributi.
Scusate per i post, ma ho liitigato un pò con il mio browser...melium abbundare..
Alter se agli orali ci sei batti un colpo.

14-07-2004 15:21
Click Here to See the Profile for cristiano Click Here to See the Blog of cristiano Click here to Send cristiano a Private Message Find more posts by cristiano Add cristiano to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
cristiano
.amico.

User info:
Registered: Nov 2003
Posts: 37 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: segùndo
Time Online: 8:16:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Un'ultima cosa per l'allineamneto:per substring ho fatto il contrario(già dall'inizio per cui l'ho lasciato così)ma funziona bene cmq:
differenzaSpazi data da stringaLungaVuota-maxNome
maxLzz.substring(0,diffSpazi);
Niente panico e dateci dentro!

14-07-2004 15:26
Click Here to See the Profile for cristiano Click Here to See the Blog of cristiano Click here to Send cristiano a Private Message Find more posts by cristiano Add cristiano to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
cristiano
.amico.

User info:
Registered: Nov 2003
Posts: 37 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: segùndo
Time Online: 8:16:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Errata corrige!
Gli Spazi giusti_da aggiungere sono dati da StringaVuota.subStr(0,differenza)
Spero di non confordervi, cmq io ho risolto con un modello su carta di ciò che volevo,rilevando i rapporti numerici fra le lunghezze delle stringhe e degli spazi giusti.

14-07-2004 15:34
Click Here to See the Profile for cristiano Click Here to See the Blog of cristiano Click here to Send cristiano a Private Message Find more posts by cristiano Add cristiano to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
altersystem
.illuminato.

User info:
Registered: Apr 2004
Posts: 228 (0.03 al dì)
Location:
Corso: informatica paranormale
Anno: I
Time Online: 4 Days, 19:11:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by cristiano
Consegnato!Grazie ad Alter e a tutti gli altri per i contributi.
Scusate per i post, ma ho liitigato un pò con il mio browser...melium abbundare..
Alter se agli orali ci sei batti un colpo.


ci sarò sicuramente!
sarò riconoscibile per lo sguardo perso e la gallina sotto il braccio.
:-o

14-07-2004 15:34
Click Here to See the Profile for altersystem Click Here to See the Blog of altersystem Click here to Send altersystem a Private Message Find more posts by altersystem Add altersystem to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:40.    Post New Thread    Post A Reply
Pages (5): « 1 2 3 4 [5]   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.043 seconds (86.29% PHP - 13.71% MySQL) con 28 query.