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 > progettino
Pages (6): [1] 2 3 4 5 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
maja
.odio:statistica.

User info:
Registered: Oct 2002
Posts: 1257 (0.16 al dì)
Location: ormai dormo in Comelico :D
Corso: Informatica
Anno: terzo con riserva.
Time Online: 30 Days, 7:34:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Unhappy progettino

Nonostante il Ferrari abbia detto ke è semplicissimo,io di qsto progettino non ho capito granchè!Se qualcuno ha qke idea di come si debba iniziare mi potrebbe fa sapere qualcosa?
Non so davvero dove mettere le mani...uff...
grazie... :help:

31-10-2002 20:36
Click Here to See the Profile for maja Click Here to See the Blog of maja Click here to Send maja a Private Message Find more posts by maja Add maja to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
drakend
.grande:maestro.

User info:
Registered: Oct 2002
Posts: 1857 (0.24 al dì)
Location:
Corso:
Anno:
Time Online: 11 Days, 16:15:18 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ti ho mandato un messaggio privato sul discorso del progettino. :-)

01-11-2002 08:37
Click Here to See the Profile for drakend Click here to Send drakend a Private Message Find more posts by drakend Add drakend to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

be non è molto difficile, per i primi 6 quesiti rispecchia ciò che ha fatto vedere

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

01-11-2002 10:04
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nous
.:Retore Pomposo:.

User info:
Registered: Dec 2001
Posts: 2945 (0.36 al dì)
Location: Fino Mornasco - Como
Corso: Informatica
Anno: Specialista
Time Online: 16 Days, 13:56:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusate l'ignoranza...Ferrari che spiega?

__________________
Cristian,il Nous che invoglia ^_^

"La capa è troppo in la,e la sbarba è troppo giovane..mi sa che qua si va in bianco"
Ryo Saeba (City Hunter)

01-11-2002 12:19
Click Here to See the Profile for nous Click Here to See the Blog of nous Click here to Send nous a Private Message Visit nous's homepage! Find more posts by nous Add nous to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Sephirot
.grande:maestro.

User info:
Registered: Nov 2001
Posts: 3856 (0.47 al dì)
Location: South of No North
Corso: Informatica
Anno: III
Time Online: 60 Days, 15:06:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

lab di programmazione Java secondo turno

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"

01-11-2002 12:28
Click Here to See the Profile for Sephirot Click Here to See the Blog of Sephirot Click here to Send Sephirot a Private Message Find more posts by Sephirot Add Sephirot to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maja
.odio:statistica.

User info:
Registered: Oct 2002
Posts: 1257 (0.16 al dì)
Location: ormai dormo in Comelico :D
Corso: Informatica
Anno: terzo con riserva.
Time Online: 30 Days, 7:34:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sarà ma io è da ieri ke c sto pensando e nn riesco a venirne a capo...Spero di avere qke idea in seguito!

__________________
Non si dice ottimista,si dice illuso.
Non si dice pessimista,si dice realista.


01-11-2002 19:00
Click Here to See the Profile for maja Click Here to See the Blog of maja Click here to Send maja a Private Message Find more posts by maja Add maja to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lallyblue
.grande:maestro.

User info:
Registered: Sep 2002
Posts: 2868 (0.36 al dì)
Location: un puntino nello spazio infinito
Corso: Informatica
Anno: ZERO!
Time Online: 29 Days, 9:48:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao a tutti!
Ho un piccolo problemino con il progettino...spero tanto mi possiate aiutare...

All'interno di un ciclo for ho un if che secondo me non funziona come dovrebbe...cioè l'if viene eseguito solo la prima volta che la condizione risulta vera...tutte le successive volte che la cond. è vera l'if viene ignorato completamente!!! :eek:
E' normale?!?
Al limite scrivetemi in pm!!!

Tnx a lot!!!

__________________
*** Proposta di legge di iniziativa popolare: "8x1000 ALLA RICERCA"
Informati e firma la petizione! E' nel tuo interesse! ;)

*** Browse my dA gallery ! ;)
***In medio stat virtus

03-11-2002 15:36
Click Here to See the Profile for lallyblue Click Here to See the Blog of lallyblue Click here to Send lallyblue a Private Message Visit lallyblue's homepage! Find more posts by lallyblue Add lallyblue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Renaulto
is fan of UTF-8

User info:
Registered: Aug 2002
Posts: 4064 (0.51 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 96 Days, 0:20:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

post sotto

__________________
Tanenbaum is overrated.

Last edited by Renaulto on 03-11-2002 at 15:47

03-11-2002 15:42
Click Here to See the Profile for Renaulto Click Here to See the Blog of Renaulto Click here to Send Renaulto a Private Message Find more posts by Renaulto Add Renaulto to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Renaulto
is fan of UTF-8

User info:
Registered: Aug 2002
Posts: 4064 (0.51 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 96 Days, 0:20:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by lallyblue

All'interno di un ciclo for ho un if che secondo me non funziona come dovrebbe...cioè l'if viene eseguito solo la prima volta che la condizione risulta vera...tutte le successive volte che la cond. è vera l'if viene ignorato completamente!!!

code:
for (.........) { if (.......) <istruzioni>; }

__________________
Tanenbaum is overrated.

03-11-2002 15:44
Click Here to See the Profile for Renaulto Click Here to See the Blog of Renaulto Click here to Send Renaulto a Private Message Find more posts by Renaulto Add Renaulto to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lallyblue
.grande:maestro.

User info:
Registered: Sep 2002
Posts: 2868 (0.36 al dì)
Location: un puntino nello spazio infinito
Corso: Informatica
Anno: ZERO!
Time Online: 29 Days, 9:48:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Renaulto
code:
for (.........) { if (.......) <istruzioni>; }


E' esattamente quello che ho fatto, ma mi ignora l'if dopo la prima volta che lo esegue, anche se la condizione è vera!!! :wall:
...perché?!??!
:wall: :wall:

__________________
*** Proposta di legge di iniziativa popolare: "8x1000 ALLA RICERCA"
Informati e firma la petizione! E' nel tuo interesse! ;)

*** Browse my dA gallery ! ;)
***In medio stat virtus

03-11-2002 16:01
Click Here to See the Profile for lallyblue Click Here to See the Blog of lallyblue Click here to Send lallyblue a Private Message Visit lallyblue's homepage! Find more posts by lallyblue Add lallyblue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Sephirot
.grande:maestro.

User info:
Registered: Nov 2001
Posts: 3856 (0.47 al dì)
Location: South of No North
Corso: Informatica
Anno: III
Time Online: 60 Days, 15:06:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

puoi postare tutto il codice? :)

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"

03-11-2002 16:14
Click Here to See the Profile for Sephirot Click Here to See the Blog of Sephirot Click here to Send Sephirot a Private Message Find more posts by Sephirot Add Sephirot to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lallyblue
.grande:maestro.

User info:
Registered: Sep 2002
Posts: 2868 (0.36 al dì)
Location: un puntino nello spazio infinito
Corso: Informatica
Anno: ZERO!
Time Online: 29 Days, 9:48:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Sephirot
puoi postare tutto il codice? :)


Tutto mi sa che è un po' lungo...
se ti basta il ciclo in questione eccolo...sennò mando tutto, no problem...

for ( int i = 0 ; i < n_app ; i++ ) {
Appuntamento app = ea1.nextAppuntamento();
Data data_app = app.getData();
out.print("i " + i + " - ");
out.print("data_app " + data_app + " - ");
out.print("data_vecchia " + data_vecchia + " - ");
out.println("data_recente " + data_recente);

if ( data_app == data_vecchia ) {
out.println("if eseguito");
iaVecchi. inserisciAppuntamento(app);
out.println("iaVecchi: " + iaVecchi.toString());
}
else if ( data_app == data_recente ) {
out.println("if eseguito");
iaRecenti.inserisciAppuntamento(app);
out.println("iaRecenti: " + iaRecenti.toString());
}
}


ho messo qualche 'stampa' x i controlli...

__________________
*** Proposta di legge di iniziativa popolare: "8x1000 ALLA RICERCA"
Informati e firma la petizione! E' nel tuo interesse! ;)

*** Browse my dA gallery ! ;)
***In medio stat virtus

03-11-2002 16:28
Click Here to See the Profile for lallyblue Click Here to See the Blog of lallyblue Click here to Send lallyblue a Private Message Visit lallyblue's homepage! Find more posts by lallyblue Add lallyblue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Renaulto
is fan of UTF-8

User info:
Registered: Aug 2002
Posts: 4064 (0.51 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 96 Days, 0:20:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quindi
String x = in.readLine();
viene eseguita solo se i è uguale a 20 o 40, in ogni caso vengono eseguite le istruzioni successive.
La sintassi mi sembra giusta, devi vedere se c'è qualche metodo che lavorando su i fa sì che non sia mai verificata la condizione dell' if

__________________
Tanenbaum is overrated.

03-11-2002 16:32
Click Here to See the Profile for Renaulto Click Here to See the Blog of Renaulto Click here to Send Renaulto a Private Message Find more posts by Renaulto Add Renaulto to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Renaulto
is fan of UTF-8

User info:
Registered: Aug 2002
Posts: 4064 (0.51 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 96 Days, 0:20:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

lallyblue ma il problema su quale if è?

__________________
Tanenbaum is overrated.

03-11-2002 16:34
Click Here to See the Profile for Renaulto Click Here to See the Blog of Renaulto Click here to Send Renaulto a Private Message Find more posts by Renaulto Add Renaulto to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lallyblue
.grande:maestro.

User info:
Registered: Sep 2002
Posts: 2868 (0.36 al dì)
Location: un puntino nello spazio infinito
Corso: Informatica
Anno: ZERO!
Time Online: 29 Days, 9:48:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by lallyblue

if ( data_app == data_vecchia ) {
out.println("if eseguito");
iaVecchi. inserisciAppuntamento(app);
out.println("iaVecchi: " + iaVecchi.toString());
}

Il problema è su questo if ^^^^
e su quello qui sotto


else if ( data_app == data_recente ) {
out.println("if eseguito");
iaRecenti.inserisciAppuntamento(app);
out.println("iaRecenti: " + iaRecenti.toString());
}
}



String x ecc.... era solo x visualizzare meglio i risultati in fase di stampa....ma x la funzionalità del progr. è assolutamente inutile...

Il probl. sta nel fatto che la prima volta che (data_vecchia == data_app) l'if viene eseguito; la secondavolta che la stessa condizione è vera non entra nell'if...
stessa cosa per la data_recente

__________________
*** Proposta di legge di iniziativa popolare: "8x1000 ALLA RICERCA"
Informati e firma la petizione! E' nel tuo interesse! ;)

*** Browse my dA gallery ! ;)
***In medio stat virtus

03-11-2002 16:39
Click Here to See the Profile for lallyblue Click Here to See the Blog of lallyblue Click here to Send lallyblue a Private Message Visit lallyblue's homepage! Find more posts by lallyblue Add lallyblue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 13:32.    Post New Thread    Post A Reply
Pages (6): [1] 2 3 4 5 » ... 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.048 seconds (83.34% PHP - 16.66% MySQL) con 26 query.