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 > [JAVA] Aiuti
Pages (4): « 1 2 [3] 4 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
nfast
.precettore.

User info:
Registered: Sep 2004
Posts: 95 (0.01 al dì)
Location:
Corso: Informatica
Anno: primo
Time Online: 18:00:55 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non riesco a capire bene il significato di quel . (punto)

se posti il codice dell'intera classe è meglio!!!

se non puoi postarlo (perchè è un compito d'esame....) inviamelo in PVT (tanto io l'ho superato l'esame)

ciaoz

04-03-2005 20:10
Click Here to See the Profile for nfast Click here to Send nfast a Private Message Find more posts by nfast Add nfast to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yoruno
.grande:maestro.

User info:
Registered: Jul 2003
Posts: 10602 (1.28 al dì)
Location: Altrove
Corso: 404 error
Anno: 404 error
Time Online: 123 Days, 2:50:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non vorrei fosse che, essendo nella stessa cartella, non serve importarlo (sparo a caso, io ho sempre in sottocartelle le classi)...

O magari prova a importare Moneta.*;

__________________
"Voi che tingete i mari del colore dello zinco, che tramutate i boschi in gialli deserti, i venti in fumi di polveri da sparo e che bruciate i cieli. Voi che volete ripetere i malvagi atti della sconsiderata Lilith, che fu la prima moglie di Adamo e poi la sposa del Diavolo. Voi che volete ripetere la ribellione scatenata da Lucifero, del mondo celeste il più splendente. Voi! Ascoltate l'afflizione della sottospecie alata che vola alta nel cielo." [Angel Sanctuary]
::: mail: yoruno@dsy.it ::: ::: My Site ::: ::: Dsy Photo Gallery ::: ::: DeviantART Gallery :::

04-03-2005 20:12
Click Here to See the Profile for yoruno Click Here to See the Blog of yoruno Click here to Send yoruno a Private Message Visit yoruno's homepage! Find more posts by yoruno Add yoruno to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
GiKappa
Dubbioso a Progetto

User info:
Registered: Oct 2004
Posts: 1800 (0.23 al dì)
Location: Brescia
Corso: Informatica
Anno: Laureato Triennale
Time Online: 9 Days, 22:40:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:shock: errore da principiante!

non serve importarla perchè è nella stessa classe!! c**zo!!

grazie dell'aiuto! :D

05-03-2005 09:14
Click Here to See the Profile for GiKappa Click here to Send GiKappa a Private Message Find more posts by GiKappa Add GiKappa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
boban
.consigliere.

User info:
Registered: Dec 2003
Posts: 131 (0.02 al dì)
Location: qui
Corso: comunicazione digitale
Anno: 999999999
Time Online: 5 Days, 0:38:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[java]materiale

ho deciso che è ora di imparare java....dato che volenti o no, lo si deve imparare.....qualcuno mi sa dare consigli su testi da usare,
riferimenti internet utili o altro.....
premetto che parto se non da zero, poco ci manca.
GRAZIE:)

09-03-2005 16:47
Click Here to See the Profile for boban Click here to Send boban a Private Message Find more posts by boban Add boban to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.84 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:57:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

- http://java.sun.com
- http://netdev.usr.dico.unimi.it/docs/index.html

__________________
http://www.twitter.com/0m4r

09-03-2005 16:51
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
boban
.consigliere.

User info:
Registered: Dec 2003
Posts: 131 (0.02 al dì)
Location: qui
Corso: comunicazione digitale
Anno: 999999999
Time Online: 5 Days, 0:38:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by 0m4r
- http://java.sun.com
- http://netdev.usr.dico.unimi.it/docs/index.html


...umh...in italiano....nada?:D:D
volevo poi chiedere se esisteva la possibilità di scaricare la documentazione della libreria Java in italiano? no, vero?
--un altra cosa...mi potete dare un link, un riferimento dove scaricare un editor gratuito per java ... grazie:)

Last edited by boban on 09-03-2005 at 19:56

09-03-2005 19:27
Click Here to See the Profile for boban Click here to Send boban a Private Message Find more posts by boban Add boban to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.84 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:57:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

la javadoc in italiano non credo che esista (per fortuna).
IDE gratutite per java potrebbero essere:
- NetBeans
- JCreator
- Eclipse
...altre non me ne vengono, ma se cerchi con google trovi qualcosa in più di sicuro

__________________
http://www.twitter.com/0m4r

09-03-2005 20:47
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ste182
.arcimaestro.

User info:
Registered: Oct 2004
Posts: 258 (0.03 al dì)
Location:
Corso: informatica
Anno:
Time Online: 2 Days, 5:06:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
java

ciao a tutti, ho il seguente problema: non riesco a leggere tutto il contenuto del file usando il metodo readLine()... ho fatto così:

FileInputManager in = new FileInputManager(file);
while(in.readLine() != null)
testo += in.readLine() + '\n';


..dove sbaglio??

__________________
Live Fast, Die Fun

07-04-2005 16:42
Click Here to See the Profile for ste182 Click here to Send ste182 a Private Message Find more posts by ste182 Add ste182 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
vlaste
Tecnoclassico

User info:
Registered: Jun 2004
Posts: 472 (0.06 al dì)
Location: Estrema periferia
Corso: Informatica
Anno: terzo... bis
Time Online: 3 Days, 5:56:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Credo che per le stringhe non puoi usare i normali operatori +, += eccetera... credo esistano apposite funzioni, del tipo Concatena(stringa1, stringa2)...
Nel C puoi ridefinire gli operatori, non mi ricordo se anche nel java si può...

07-04-2005 16:51
Click Here to See the Profile for vlaste Click Here to See the Blog of vlaste Click here to Send vlaste a Private Message Find more posts by vlaste Add vlaste to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ste182
.arcimaestro.

User info:
Registered: Oct 2004
Posts: 258 (0.03 al dì)
Location:
Corso: informatica
Anno:
Time Online: 2 Days, 5:06:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

anche io ci ho pensato ma poi ho provato a fare:

testo = in.readLine();
testo1 = in.readLine();
testo_finale = testo + testo1;

e la concatenazione è avvenuta con successo....

__________________
Live Fast, Die Fun

07-04-2005 17:06
Click Here to See the Profile for ste182 Click here to Send ste182 a Private Message Find more posts by ste182 Add ste182 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
darkAntAreS
...bloup will rule you...

User info:
Registered: Jun 2004
Posts: 267 (0.03 al dì)
Location: gorgonzola(MI)
Corso: informatica
Anno: x
Time Online: 3 Days, 14:49:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

la concatenazione la si puo' fare sia con il metodo concat che col + normalmente...

cmq...prova a mettere il carattere new line come stringa...a me faceva lo stesso errore...se proprio non lo accetta aggiungici uno spazio alla fine, cioe' " \n", al posto di "\n", ma prova prima quest'ultimo

;)

__________________
"Ash nazg durbatulûk, ash nazg gimbatul, ash nazg thrakatulûk agh burzum-ishi krimpatul"

07-04-2005 17:24
Click Here to See the Profile for darkAntAreS Click here to Send darkAntAreS a Private Message Find more posts by darkAntAreS Add darkAntAreS to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
darkAntAreS
...bloup will rule you...

User info:
Registered: Jun 2004
Posts: 267 (0.03 al dì)
Location: gorgonzola(MI)
Corso: informatica
Anno: x
Time Online: 3 Days, 14:49:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by darkAntAreS
la concatenazione la si puo' fare sia con il metodo concat che col + normalmente...

cmq...prova a mettere il carattere new line come stringa...a me faceva lo stesso errore...se proprio non lo accetta aggiungici uno spazio alla fine, cioe' " \n", al posto di "\n", ma prova prima quest'ultimo

;)


illuminazione!:D...mi pare che non si possa concatenare una stringa con un carattere, quindi '\n' fallo diventare "\n" e dovrebbe andare tutto a posto ;)

__________________
"Ash nazg durbatulûk, ash nazg gimbatul, ash nazg thrakatulûk agh burzum-ishi krimpatul"

07-04-2005 17:25
Click Here to See the Profile for darkAntAreS Click here to Send darkAntAreS a Private Message Find more posts by darkAntAreS Add darkAntAreS to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ste182
.arcimaestro.

User info:
Registered: Oct 2004
Posts: 258 (0.03 al dì)
Location:
Corso: informatica
Anno:
Time Online: 2 Days, 5:06:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

li ho provati tutti e due e niente... mi stampa:

nullprova
null

invece il file contiene:

ciao ciao, come va?
prova
pippo

__________________
Live Fast, Die Fun

07-04-2005 17:29
Click Here to See the Profile for ste182 Click here to Send ste182 a Private Message Find more posts by ste182 Add ste182 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
darkAntAreS
...bloup will rule you...

User info:
Registered: Jun 2004
Posts: 267 (0.03 al dì)
Location: gorgonzola(MI)
Corso: informatica
Anno: x
Time Online: 3 Days, 14:49:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

bho...inizializzata la variabile testo con testo = "" ?...altre cose dovrei dare un'occhiata al libro...faccio stasera...entro domattina riscrivo ;)

__________________
"Ash nazg durbatulûk, ash nazg gimbatul, ash nazg thrakatulûk agh burzum-ishi krimpatul"

07-04-2005 17:44
Click Here to See the Profile for darkAntAreS Click here to Send darkAntAreS a Private Message Find more posts by darkAntAreS Add darkAntAreS to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ste182
.arcimaestro.

User info:
Registered: Oct 2004
Posts: 258 (0.03 al dì)
Location:
Corso: informatica
Anno:
Time Online: 2 Days, 5:06:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

inizializzando la var testo="" viene fuori

prova
null

__________________
Live Fast, Die Fun

07-04-2005 17:46
Click Here to See the Profile for ste182 Click here to Send ste182 a Private Message Find more posts by ste182 Add ste182 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 05:47.    Post New Thread    Post A Reply
Pages (4): « 1 2 [3] 4 »   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.119 seconds (67.53% PHP - 32.47% MySQL) con 24 query.