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] Help 2^ Progettino!!! A.A.04/05
Pages (38): « First ... « 17 18 19 20 [21] 22 23 24 25 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Ina
.precettore.

User info:
Registered: Dec 2001
Posts: 96 (0.01 al dì)
Location: Verona
Corso: Informatica
Anno: quarto...della triennale!
Time Online: 21:28:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok...in nessun programma trova il metodo exists in FileInputManager...quindi...?

__________________
Prendi la vita e rincorrila senza pietà
come la volpe impaurita rincorre la sua libertà.
-TIMORIA-

13-12-2003 21:06
Click Here to See the Profile for Ina Click here to Send Ina a Private Message Find more posts by Ina Add Ina to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
LjL
.consigliere.

User info:
Registered: Dec 2003
Posts: 144 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Primo
Time Online: 16:25:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Quindi, uhm, prova a reinstallare le classi del libro.
Mi pare proprio che sulla tua installazione ci sia qualcosa di storto a prescindere dal progettino...

__________________
by LjL
ljlbox@tiscali.it
http://ljl.150m.com - appunti corsi

13-12-2003 21:09
Click Here to See the Profile for LjL Click here to Send LjL a Private Message Visit LjL's homepage! Find more posts by LjL Add LjL to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ina
.precettore.

User info:
Registered: Dec 2001
Posts: 96 (0.01 al dì)
Location: Verona
Corso: Informatica
Anno: quarto...della triennale!
Time Online: 21:28:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il fatto è che ieri andava...!

__________________
Prendi la vita e rincorrila senza pietà
come la volpe impaurita rincorre la sua libertà.
-TIMORIA-

13-12-2003 21:11
Click Here to See the Profile for Ina Click here to Send Ina a Private Message Find more posts by Ina Add Ina to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ina
.precettore.

User info:
Registered: Dec 2001
Posts: 96 (0.01 al dì)
Location: Verona
Corso: Informatica
Anno: quarto...della triennale!
Time Online: 21:28:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

reinstallato e ancora niente...
però ho eseguito un programma che copia i file e gli ho fatto copiare il metodo esempio.txt...per lui c'è!

__________________
Prendi la vita e rincorrila senza pietà
come la volpe impaurita rincorre la sua libertà.
-TIMORIA-

13-12-2003 21:18
Click Here to See the Profile for Ina Click here to Send Ina a Private Message Find more posts by Ina Add Ina to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ina
.precettore.

User info:
Registered: Dec 2001
Posts: 96 (0.01 al dì)
Location: Verona
Corso: Informatica
Anno: quarto...della triennale!
Time Online: 21:28:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Un'ultima domanda così cambio anche argomento...
Il metodo compareTo in Occorrenze?!!!

Anche quello mi da sempre errore...

__________________
Prendi la vita e rincorrila senza pietà
come la volpe impaurita rincorre la sua libertà.
-TIMORIA-

13-12-2003 21:26
Click Here to See the Profile for Ina Click here to Send Ina a Private Message Find more posts by Ina Add Ina to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Spostamento data di consegna!

hanno spostato la data di consegna del progettino

http://homes.dico.unimi.it/prog//tu...ab/labprog.html

Last edited by yoruno on 14-12-2003 at 13:33

13-12-2003 21:48
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
LjL
.consigliere.

User info:
Registered: Dec 2003
Posts: 144 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Primo
Time Online: 16:25:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Ina
Un'ultima domanda così cambio anche argomento...
Il metodo compareTo in Occorrenze?!!!

Anche quello mi da sempre errore...

Non so proprio cosa dirti riguardo agli errori...

Il metodo compareTo, se è in questa forma:
int compareTo(Object o) {
// restituisci -1, 0 o 1 a seconda
}
non dovrebbe dare errori. Ricordati che il parametro è un Object, non un Occorrenze, e i cast in questi casi sono d'obbligo.

__________________
by LjL
ljlbox@tiscali.it
http://ljl.150m.com - appunti corsi

14-12-2003 01:26
Click Here to See the Profile for LjL Click here to Send LjL a Private Message Visit LjL's homepage! Find more posts by LjL Add LjL to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gioe
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 521 (0.06 al dì)
Location: Piacenza
Corso: Informatica
Anno: 3
Time Online: 25 Days, 8:18:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ho una domanda riguardo alle occorrenze...
se ho:
la la

devo fornire:

la 2 occorrenze alle linee 1, 1

oppure

la 2 occorrenze alla linea 1?

__________________
@~@~@~@~@~@~@~@~@~@

TIMEO DANAOS ET DONA FERENTES

@~@~@~@~@~@~@~@~@~@

14-12-2003 02:01
Click Here to See the Profile for Gioe Click here to Send Gioe a Private Message Find more posts by Gioe Add Gioe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lorybu
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 319 (0.04 al dì)
Location: busto arsizio
Corso: informatica
Anno: Terzo
Time Online: 2 Days, 1:20:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ragazzi ma cosa vuol dire:
"le voci compaiono nell'elenco ordinate lessicograficamente rispetto al titolo della voce"

ma a quale titolo di voce???
quelle che sono presenti nel file di verifica non mi sembrano ordinate rispetto alle voci indice no??
Direi che posso anche andare a letto ora :(

__________________
Le frasi mitiche...
::mm...ma nel compito mette anche le domande??::
::.. compilare compila... è tutto corretto, il fatto è che non fa quello che dico io.. cosa potrebbe essere?::
::Il fatto è che io le cose le so...poi dopo quando sono all'interrogazione non mi vengono...::

14-12-2003 02:34
Click Here to See the Profile for lorybu Click here to Send lorybu a Private Message Find more posts by lorybu Add lorybu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
elpampero
Aniversario

User info:
Registered: Sep 2003
Posts: 911 (0.11 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: I
Time Online: 8 Days, 3:06:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusate ma voi consignate le tre classi in un unico file?

14-12-2003 10:06
Click Here to See the Profile for elpampero Click here to Send elpampero a Private Message Find more posts by elpampero Add elpampero to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by elpampero
scusate ma voi consignate le tre classi in un unico file?



mi pare che sulla documentazione fornitaci sia richiesto così

14-12-2003 10:17
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Masca
.amico.

User info:
Registered: Oct 2003
Posts: 36 (0.00 al dì)
Location:
Corso: Info
Anno: boh 2 || 3
Time Online: 16:00:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per implementare il metodo numeroOccorrenze della classe Occorrenze, bisogna richiamare il metodo getTavolaOccorrenze della classe Analizzatore testo, e cercare in quel iteraore??

Confuso!

__________________
ringrazio carl von linde inventore del frigorifero
la birra ha tutto un altro sapore, grazie

14-12-2003 13:04
Click Here to See the Profile for Masca Click here to Send Masca a Private Message Find more posts by Masca Add Masca to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
LjL
.consigliere.

User info:
Registered: Dec 2003
Posts: 144 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Primo
Time Online: 16:25:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Gioe
ho una domanda riguardo alle occorrenze...
se ho:
la la

devo fornire:

la 2 occorrenze alle linee 1, 1

oppure

la 2 occorrenze alla linea 1?

Buona domanda.
Io ho fatto la prima, per due motivi
1) è più semplice
2) se il progetto fosse una parte di un programma effettivamente utile, sarebbe più sensato fare la prima. Il codice che usa listaLinee() dovrebbe pensarci lui a togliere i duplicati; d'altra parte, avrebbe vita molto più semplice sapendo che per definizione il numero di numeri-di-linea è uguale al valore ritornato da numeroOccorrenze().

Qualunque strada uno scelga, suggerirei magari un commentino nel codice per giustificare la scelta.

__________________
by LjL
ljlbox@tiscali.it
http://ljl.150m.com - appunti corsi

14-12-2003 13:41
Click Here to See the Profile for LjL Click here to Send LjL a Private Message Visit LjL's homepage! Find more posts by LjL Add LjL to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
LjL
.consigliere.

User info:
Registered: Dec 2003
Posts: 144 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Primo
Time Online: 16:25:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Masca
per implementare il metodo numeroOccorrenze della classe Occorrenze, bisogna richiamare il metodo getTavolaOccorrenze della classe Analizzatore testo, e cercare in quel iteraore??

Confuso!

...ngah? No, no, no! :-P
Non fare usare a Occorrenze pezzi di AnalizzatoreTesto. Dico sul serio :-)
Un oggetto Occorrenze sa *per definizione* quante occorrenze ha dentro; basta che
1) le conti mano a mano (tenendo il conto in una variabile), oppure
2) le conti quando viene chiamato numeroOccorrenze().

Come si implementa il 2) dipende da cosa si è usato per rappresentare la lista delle occorrenze. Se (per dire, non dico che sia giusto o migliore fare così) uno usa una Sequenza, ci dovrebbe essere un metodo size().

__________________
by LjL
ljlbox@tiscali.it
http://ljl.150m.com - appunti corsi

14-12-2003 13:44
Click Here to See the Profile for LjL Click here to Send LjL a Private Message Visit LjL's homepage! Find more posts by LjL Add LjL to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
LjL
.consigliere.

User info:
Registered: Dec 2003
Posts: 144 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: Primo
Time Online: 16:25:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Precisazione: per "lista delle occorrenze" intendevo dire la lista dei numeri di linea contenuta in un oggetto Occorrenze.
Per la cronaca, ritengo questo "Occorrenze" plurale un nome terribilmente infelice per 'sta classe.

__________________
by LjL
ljlbox@tiscali.it
http://ljl.150m.com - appunti corsi

14-12-2003 13:45
Click Here to See the Profile for LjL Click here to Send LjL a Private Message Visit LjL's homepage! Find more posts by LjL Add LjL to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 09:21.    Post New Thread    Post A Reply
Pages (38): « First ... « 17 18 19 20 [21] 22 23 24 25 » ... Last »   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.256 seconds (44.63% PHP - 55.37% MySQL) con 25 query.