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 3^ Progettino A.A.04/05 Thread Rating: 1 votes, 5.00 average.
Pages (39): « First ... « 3 4 5 6 [7] 8 9 10 11 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
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

up:(

17-01-2004 08:20
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
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
RISPOSTA PROF

Originally posted by T_M_P
Ma secondo voi un Parallelepipedo di dimensioni 3,3,3 è da considerarsi uguale ad un cubo di lato 3?

Penso di no a quanto c'è scritto, ma per sicurezza chiedo a voi..


Un parallelepipedo e un cubo sono due cose diverse anche se hanno le stesse dimensioni.

Hola!!

17-01-2004 12:47
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

ma la classe stratta che ci ha fornito il prof contiene forse degli errori ?:?

17-01-2004 12:51
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
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 mark
ma la classe stratta che ci ha fornito il prof contiene forse degli errori ?:?


Non mi sembra..

Ne hai visto qualcuno?

17-01-2004 13:16
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

Originally posted by T_M_P
Non mi sembra..

Ne hai visto qualcuno?



mi stavo chiedendo come mai nel file da lui fornitoci trovo questo:

public abstract void setParametri(double[] param);



mentre nel file PDF questo:

public abstract void setParametri(double[] param) throws Figura3DException;

17-01-2004 16:32
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
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

Me l'hanno fatto notare ieri sera, ma mi ero dimenticato..

Beh, prova a scrivergli (io l'ho già fatto un paio di volte), così poi ci dici..

17-01-2004 17:54
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
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

Progettino finito!!!!!!!!!! :) devo solo mettere i commenti....ne metterò tanti per evitare di prendermi commenti scarsi come negli altri 2 :P a proposito....

Off-Topic:

sono online i risultati del 3° compitino ed anche chi ha ottenuto l'esonero

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

TIMEO DANAOS ET DONA FERENTES

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

17-01-2004 19:22
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
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 Gioe
[B]Progettino finito!!!!!!!!!! :) devo solo mettere i commenti....ne metterò tanti per evitare di prendermi commenti scarsi come negli altri 2 :P a proposito....


Scusa, se hai esteso le classi come suggerito da Grossi, come hai gestito il sollevamento dell'errore nel costruttore?

Last edited by T_M_P on 18-01-2004 at 09:49

18-01-2004 09:47
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
linkjr
.primate.

User info:
Registered: Oct 2003
Posts: 73 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 1
Time Online: 14:00:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by yoruno
E allora per Cono estendi il metodo getVolume e non gli fai fare moltiplicazioni per il raggio piccolo... se guardi getSuperficie invece va tutto bene... :D


Ok per questa soluzione, ma rimane il fatto che il costruttore di TroncoDiCono non può accettare 0 come valore di raggio piccolo; in questo caso dovrebbe sollevare Figura3DException...

__________________
Andrea

18-01-2004 10:17
Click Here to See the Profile for linkjr Click here to Send linkjr a Private Message Find more posts by linkjr Add linkjr 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

Originally posted by T_M_P
Scusa, se hai esteso le classi come suggerito da Grossi, come hai gestito il sollevamento dell'errore nel costruttore?


se i parametri erano minori o uguali a zero sollevavo l'eccezione... però non devi aggiungere throws al prototipo del metodo in quanto l'eccezione non è controllata.

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

TIMEO DANAOS ET DONA FERENTES

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

18-01-2004 10:20
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
linkjr
.primate.

User info:
Registered: Oct 2003
Posts: 73 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 1
Time Online: 14:00:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Masca
Per l'eccezione Figura3DException bisogna solo prevedere che l'utente stupido inserisca valori negativi, o anche, che ne so, caratteri, stringhe o simili?????


Il testo dice di sollevare eccezione se vengono forniti valori negativi o zero. D'altro canto, essendo i parametri accettati dal costruttore dei double, non potranno mai arrivarti stringhe o altri caratteri in quanto non si compilerebbe mai il codice che utilizza tale costruttore...

__________________
Andrea

18-01-2004 10:25
Click Here to See the Profile for linkjr Click here to Send linkjr a Private Message Find more posts by linkjr Add linkjr to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
linkjr
.primate.

User info:
Registered: Oct 2003
Posts: 73 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 1
Time Online: 14:00:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by T_M_P
L'avevo pensato anche io, ma se fai così una moltiplicazione per 0 risulta 0, quindi poi il calcolo di volume e superficie dovrebbe sballare..


Scusa, ma perchè dici che il calcolo dovrebbe sballare? Se poni r=0 nelle formule del tronco di cono ottieni le stesse formule del cono. Rimane però il problema che non è possibile passare r=0 nel costruttore di TroncoDiCono perchè dovrebbe sollevare Figura3DException..

__________________
Andrea

18-01-2004 10:27
Click Here to See the Profile for linkjr Click here to Send linkjr a Private Message Find more posts by linkjr Add linkjr to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
linkjr
.primate.

User info:
Registered: Oct 2003
Posts: 73 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: 1
Time Online: 14:00:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Una curiosità, secondo voi un parallelepipedo 1x2x3 è uguale al parallelepipedo 2x1x3 (scambio di basi) o 1x3x2 (scambio di base con altezza)?

__________________
Andrea

18-01-2004 11:00
Click Here to See the Profile for linkjr Click here to Send linkjr a Private Message Find more posts by linkjr Add linkjr to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
emanuele
.consigliere.

User info:
Registered: Oct 2003
Posts: 112 (0.01 al dì)
Location: milano
Corso: informatica
Anno: 2003
Time Online: 1 Day, 11:49:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Cosa?!

__________________
Studiare e lavorare vi sembra faticoso?!
Ma se e' fantastico!!!

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

User info:
Registered: Oct 2003
Posts: 112 (0.01 al dì)
Location: milano
Corso: informatica
Anno: 2003
Time Online: 1 Day, 11:49:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusate...ma a voi i calcoli tornano uguali all'esempio???

__________________
Studiare e lavorare vi sembra faticoso?!
Ma se e' fantastico!!!

18-01-2004 12:03
Click Here to See the Profile for emanuele Click here to Send emanuele a Private Message Find more posts by emanuele Add emanuele to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 08:21.    Post New Thread    Post A Reply
Pages (39): « First ... « 3 4 5 6 [7] 8 9 10 11 » ... 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.216 seconds (63.76% PHP - 36.24% MySQL) con 24 query.