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 ... « 9 10 11 12 [13] 14 15 16 17 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
mattcobain
I am my own parasite

User info:
Registered: Oct 2003
Posts: 1033 (0.13 al dì)
Location: Periferia sud-ovest
Corso: Informatica Magistrale
Anno: Fuori corso
Time Online: 13 Days, 19:47:00: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by elpampero
Non voglio essere insistente ma se qualcuno sa qualcosa sul seguente errore riesco a salvare 'sto progettino:
Exception in thread "main" java.lang.NullPointerException
at java.io.File.<init>(File.java:180)
at prog.io.FileInputManager.<init>(FileInputManager.java:27)
at AnalizzatoreTesto.<init>(AnalizzatoreTesto.java:16)
at Test.<init>(test.java:23)
at Test.main(Test.java:99)


mi spiace, nn so come aiutarti....xò leggendo l'eccezione NullPointerException nn vorrei ke forse uno dei motivi sia il mancato controllo della fine del file, con conseguente uscita a null del puntatore allo file stesso....

12-12-2003 09:00
Click Here to See the Profile for mattcobain Click Here to See the Blog of mattcobain Click here to Send mattcobain a Private Message Find more posts by mattcobain Add mattcobain to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
leon
.amico.

User info:
Registered: Oct 2003
Posts: 28 (0.00 al dì)
Location: Milano prov.
Corso: Informatica
Anno: I
Time Online: 2:59:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non capisco quando devo aumentare il valore indentazione e quando diminuirlo.

12-12-2003 09:00
Click Here to See the Profile for leon Click here to Send leon a Private Message Find more posts by leon Add leon to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mattcobain
I am my own parasite

User info:
Registered: Oct 2003
Posts: 1033 (0.13 al dì)
Location: Periferia sud-ovest
Corso: Informatica Magistrale
Anno: Fuori corso
Time Online: 13 Days, 19:47:00: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by leon
non capisco quando devo aumentare il valore indentazione e quando diminuirlo.


leon, scusami e nn prendertela, ma ti stai perdendo in un bikkier d'acqua (senza offesa ripeto!)....allora, tu crei il tuo campo statico nella classe VoceIndice e lo inizializzi a 2.
a questo punto tu nn ti devi piu preoccupare di aumentare o diminuire questo valore ok!?!?...l'unica cosa ke può accadere a questo valore è una modifica, ke avviene attravero il metodo statico setIndentazione(int nuova indentazione) ke riceve il nuovo valore standard per la tua indentazione (ti ricordo ke indentazione è un campo statico!)
capisci!?!? nn devi aumentarlo o diminuirlo!!!!!

12-12-2003 09:04
Click Here to See the Profile for mattcobain Click Here to See the Blog of mattcobain Click here to Send mattcobain a Private Message Find more posts by mattcobain Add mattcobain to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
leon
.amico.

User info:
Registered: Oct 2003
Posts: 28 (0.00 al dì)
Location: Milano prov.
Corso: Informatica
Anno: I
Time Online: 2:59:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok
ci sono grazie mille

12-12-2003 09:05
Click Here to See the Profile for leon Click here to Send leon a Private Message Find more posts by leon Add leon to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mattcobain
I am my own parasite

User info:
Registered: Oct 2003
Posts: 1033 (0.13 al dì)
Location: Periferia sud-ovest
Corso: Informatica Magistrale
Anno: Fuori corso
Time Online: 13 Days, 19:47:00: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ora devo uscire...se percaso segui le lezioni del turno 2 magari ci bekkiamo oggi a lezione...io sono quello col codino e la kitarra (credo ke sarò l'unico con la kitarra quindi mi riconoscerai!)
ciao

12-12-2003 09:05
Click Here to See the Profile for mattcobain Click Here to See the Blog of mattcobain Click here to Send mattcobain a Private Message Find more posts by mattcobain Add mattcobain to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
T_M_P
.arcimaestro.

User info:
Registered: May 2003
Posts: 458 (0.06 al dì)
Location: Milano
Corso: Informatica
Anno: 1 (Finirà mai?)
Time Online: 2 Days, 7:52:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by leon
non capisco quando devo aumentare il valore indentazione e quando diminuirlo.


Non c'è mai questa necessità nel test.java... Devi solo creare un metodo che lo faccia..

E magari aggiungi tu qualche riga al test.java per vedere se funziona...

Io comunque a questo punto vorrei sapere come sono da considerare ste punteggiature tra le parole chiave perchè io proprio non le ho considerate!!!!!!

Uff!!

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

User info:
Registered: Sep 2003
Posts: 74 (0.01 al dì)
Location: limbiate
Corso: Informatica
Anno: 1
Time Online: 1 Day, 19:36:01: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mattcobain anche io ho il tuo stesso dubbio in + non so' se avete notato nei nuovi file messi a disposizione, in particolare paroleChiave.txt è presente :
"The Mathematical Analysis of Logic di George Bool", 1 occorrenza alla linea: 123"
alla 3° riga, quindi non corrisponde all' ordine "lessicografico/alfabetico" giusto ??
è un errore del prof o non bisogna ordinare la sequenza delle parole chiave ?

12-12-2003 09:07
Click Here to See the Profile for ROYV Click here to Send ROYV a Private Message Find more posts by ROYV Add ROYV to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mattcobain
I am my own parasite

User info:
Registered: Oct 2003
Posts: 1033 (0.13 al dì)
Location: Periferia sud-ovest
Corso: Informatica Magistrale
Anno: Fuori corso
Time Online: 13 Days, 19:47:00: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ankio vorrei capirlo tmp!!!!!

12-12-2003 09:07
Click Here to See the Profile for mattcobain Click Here to See the Blog of mattcobain Click here to Send mattcobain a Private Message Find more posts by mattcobain Add mattcobain to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
leon
.amico.

User info:
Registered: Oct 2003
Posts: 28 (0.00 al dì)
Location: Milano prov.
Corso: Informatica
Anno: I
Time Online: 2:59:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Un'altro dubbio...
il nome del file da leggere lo implemento dentro AnalizzaTesto inmaniera statica o devo permettere di inserire il nome file?
se si come devo fare?
dentyro il costruttore posso creare in ConsoleInputManager?

12-12-2003 09:08
Click Here to See the Profile for leon Click here to Send leon a Private Message Find more posts by leon Add leon 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

Scusa Mattcobain..che tipo di controllo?

12-12-2003 09:08
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
T_M_P
.arcimaestro.

User info:
Registered: May 2003
Posts: 458 (0.06 al dì)
Location: Milano
Corso: Informatica
Anno: 1 (Finirà mai?)
Time Online: 2 Days, 7:52:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ROYV
mattcobain anche io ho il tuo stesso dubbio in + non so' se avete notato nei nuovi file messi a disposizione, in particolare paroleChiave.txt è presente :
"The Mathematical Analysis of Logic di George Bool", 1 occorrenza alla linea: 123"
alla 3° riga, quindi non corrisponde all' ordine "lessicografico/alfabetico" giusto ??
è un errore del prof o non bisogna ordinare la sequenza delle parole chiave ?


"T" è una lettera maiuscola quindi lessicograficamente viene prima di a...

12-12-2003 09:08
Click Here to See the Profile for T_M_P Click here to Send T_M_P a Private Message Find more posts by T_M_P Add T_M_P 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

come faccio a verificare se una Sequenza è ancora vuota ?

12-12-2003 09:09
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
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

Patto con yoruno...il primo che risolve comunica all'altro?

12-12-2003 09:10
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
leon
.amico.

User info:
Registered: Oct 2003
Posts: 28 (0.00 al dì)
Location: Milano prov.
Corso: Informatica
Anno: I
Time Online: 2:59:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il nome del file deve essere impostato in maniera statica con FileInputManager in = new FileInputManager("esempio.txt"=
o ci deve essere un ConsoleInputManager che legge il nome file?se si dove lo piazzo quest'ultimo?

12-12-2003 09:12
Click Here to See the Profile for leon Click here to Send leon a Private Message Find more posts by leon Add leon 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 mark
come faccio a verificare se una Sequenza è ancora vuota ?



uso il metodo


size()

12-12-2003 09:12
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
All times are GMT. The time now is 00:17.    Post New Thread    Post A Reply
Pages (38): « First ... « 9 10 11 12 [13] 14 15 16 17 » ... 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.206 seconds (54.41% PHP - 45.59% MySQL) con 24 query.