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 A - F > Fondamenti di architettura e programmazione > [Progetto] "CARTE" Thread Rating: 1 votes, 4.00 average.
Pages (27): « First ... « 6 7 8 9 [10] 11 12 13 14 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
[>>>>VK<<<<]
.arcimaestro.

User info:
Registered: Jan 2005
Posts: 347 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 22:11:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dayfallen
ehm... perché devi creare "e" e "a" quando hai già le variabili d'istanza s e v ;)?


public Carta (int i,int n) {
if(i==...){
EDIT: VIetato codice
}
}
}

mi da lo stesso errore: "call to this must be first statement in constructor".

Last edited by yoruno on 01-02-2005 at 09:05

31-01-2005 20:19
Click Here to See the Profile for [>>>>VK<<<<] Click here to Send [>>>>VK<<<<] a Private Message Find more posts by [>>>>VK<<<<] Add [>>>>VK<<<<] to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Talking

Originally posted by [&gt;&gt;&gt;&gt;VK&lt;&lt;&lt;&lt;]
public Carta (int i,int n) {
EDIT: VIetato codice
}

mi da lo stesso errore: "call to this must be first statement in constructor".


Ti da lo stesso errore perché hai tolto esattamente quello che dovevi lasciare e hai lasciato esattamente quello che dovevi togliere :eek:

Last edited by yoruno on 01-02-2005 at 09:05

31-01-2005 20:20
Click Here to See the Profile for dayfallen Click Here to See the Blog of dayfallen Click here to Send dayfallen a Private Message Find more posts by dayfallen Add dayfallen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

...e poi vedo che continui a non aver chiare le eccezioni...

31-01-2005 20:21
Click Here to See the Profile for dayfallen Click Here to See the Blog of dayfallen Click here to Send dayfallen a Private Message Find more posts by dayfallen Add dayfallen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
[>>>>VK<<<<]
.arcimaestro.

User info:
Registered: Jan 2005
Posts: 347 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 22:11:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

public Carta (int i,int n) throws InvalidCardException {
if(...){
Seme e=new Seme(i);\\ QUESTE DUE VARIABILI DETTO DI NN CREARLE COME FACCIO A DEFINIRE CARTA???
Valore a=new Valore(n);
this(e,a); \\QUI MI DA ERRORE
}else
throw new InvalidCardException(" Valore errato o valore Seme errarto");
}

__________________
Jessica Alba Italian Fans Site

31-01-2005 20:26
Click Here to See the Profile for [>>>>VK<<<<] Click here to Send [>>>>VK<<<<] a Private Message Find more posts by [>>>>VK<<<<] Add [>>>>VK<<<<] to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by [&gt;&gt;&gt;&gt;VK&lt;&lt;&lt;&lt;]
public Carta (int i,int n) throws InvalidCardException {
if(...){
Seme e=new Seme(i);\\ QUESTE DUE VARIABILI DETTO DI NN CREARLE COME FACCIO A DEFINIRE CARTA???
Valore a=new Valore(n);
this(e,a); \\QUI MI DA ERRORE
}else
throw new InvalidCardException(" Valore errato o valore Seme errarto");
}


Ti ho detto di non crearle perché hai già Seme s e Valore v che definiscono esattamente carta ;) e quel this lo puoi pure buttare nel cestino :-D

31-01-2005 20:29
Click Here to See the Profile for dayfallen Click Here to See the Blog of dayfallen Click here to Send dayfallen a Private Message Find more posts by dayfallen Add dayfallen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
[>>>>VK<<<<]
.arcimaestro.

User info:
Registered: Jan 2005
Posts: 347 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 22:11:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dayfallen
Ti ho detto di non crearle perché hai già Seme s e Valore v che definiscono esattamente carta ;) e quel this lo puoi pure buttare nel cestino :-D


riguardo l'eccezione va bene ??

31-01-2005 20:35
Click Here to See the Profile for [>>>>VK<<<<] Click here to Send [>>>>VK<<<<] a Private Message Find more posts by [>>>>VK<<<<] Add [>>>>VK<<<<] to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by [&gt;&gt;&gt;&gt;VK&lt;&lt;&lt;&lt;]
riguardo l'eccezione va bene ??


Se hai fatto bene l'IF sì...

31-01-2005 20:38
Click Here to See the Profile for dayfallen Click Here to See the Blog of dayfallen Click here to Send dayfallen a Private Message Find more posts by dayfallen Add dayfallen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
[>>>>VK<<<<]
.arcimaestro.

User info:
Registered: Jan 2005
Posts: 347 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 22:11:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by [&gt;&gt;&gt;&gt;VK&lt;&lt;&lt;&lt;]
riguardo l'eccezione va bene ??


Grazie mille per i tuoi aiuti e per la tua pazienza,
:approved: :approved: :approved:
ce lo fatta a fare le classi:
-Seme
-Valore
-Carta.
secondo te ce la faccio in una set a finirlo?
le classi dopo son + semplici o + dificili?

31-01-2005 20:41
Click Here to See the Profile for [>>>>VK<<<<] Click here to Send [>>>>VK<<<<] a Private Message Find more posts by [>>>>VK<<<<] Add [>>>>VK<<<<] to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
[>>>>VK<<<<]
.arcimaestro.

User info:
Registered: Jan 2005
Posts: 347 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 22:11:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ho sbagliato a quotare il mess.
il ringrazziamento sopra è per :

>>>>>>>>>>>>>>>>>>>dayfallen <<<<<<<<<<<<<<<<<<<

__________________
Jessica Alba Italian Fans Site

31-01-2005 20:44
Click Here to See the Profile for [>>>>VK<<<<] Click here to Send [>>>>VK<<<<] a Private Message Find more posts by [>>>>VK<<<<] Add [>>>>VK<<<<] to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by [&gt;&gt;&gt;&gt;VK&lt;&lt;&lt;&lt;]
Grazie mille per i tuoi aiuti e per la tua pazienza,
:approved: :approved: :approved:
ce lo fatta a fare le classi:
-Seme
-Valore
-Carta.
secondo te ce la faccio in una set a finirlo?
le classi dopo son + semplici o + dificili?


Dipende... in quanto tempo hai fatto queste?...
Io ho finito in 4 giorni lavorandoci 2-3 ore al giorno... non so quanto ci metterai... ;) oggi ero in vena di aiutare ma sono molto lunatico :-D quindi boh...

31-01-2005 20:45
Click Here to See the Profile for dayfallen Click Here to See the Blog of dayfallen Click here to Send dayfallen a Private Message Find more posts by dayfallen Add dayfallen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by [&gt;&gt;&gt;&gt;VK&lt;&lt;&lt;&lt;]
ho sbagliato a quotare il mess.
il ringrazziamento sopra è per :

>>>>>>>>>>>>>>>>>>>dayfallen <<<<<<<<<<<<<<<<<<<

:oops: :oops: :oops:

31-01-2005 20:46
Click Here to See the Profile for dayfallen Click Here to See the Blog of dayfallen Click here to Send dayfallen a Private Message Find more posts by dayfallen Add dayfallen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

PS: un consiglio... fai un programmino che ti crei n carte e te le stampi a video... è così che ho notato un errore nelle mie classi Seme e Valore... mi stampavano sempre "re di picche" :-D

31-01-2005 20:47
Click Here to See the Profile for dayfallen Click Here to See the Blog of dayfallen Click here to Send dayfallen a Private Message Find more posts by dayfallen Add dayfallen to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
[>>>>VK<<<<]
.arcimaestro.

User info:
Registered: Jan 2005
Posts: 347 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 22:11:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dayfallen
Dipende... in quanto tempo hai fatto queste?...
Io ho finito in 4 giorni lavorandoci 2-3 ore al giorno... non so quanto ci metterai... ;) oggi ero in vena di aiutare ma sono molto lunatico :-D quindi boh...


bhe se ce la fai cerca di restare in vena fino alla mezzanotte del 7 febbraio:-D :D :D

31-01-2005 20:48
Click Here to See the Profile for [>>>>VK<<<<] Click here to Send [>>>>VK<<<<] a Private Message Find more posts by [>>>>VK<<<<] Add [>>>>VK<<<<] to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dayfallen
.consigliere.

User info:
Registered: Sep 2004
Posts: 124 (0.02 al dì)
Location: Lausanne, Svizzera
Corso: Comunicazione Digitale
Anno: Terzo Anno - Fuori Corso
Time Online: 1 Day, 6:07:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by [&gt;&gt;&gt;&gt;VK&lt;&lt;&lt;&lt;]
bhe se ce la fai cerca di restare in vena fino alla mezzanotte del 7 febbraio:-D :D :D


Sarà moooolto difficile:shock: ...


hey ma qualcuno sa quando usciranno i risultati dei compitini?
(è off-topic ma non so qual è il tag :-D)

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

User info:
Registered: Nov 2004
Posts: 734 (0.10 al dì)
Location: a casa mai
Corso: NO: la nostra risposta al vostro calcio
Anno: !!!!!!!
Time Online: 3 Days, 17:43:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no dayfallen non ci abbandonare

31-01-2005 20:53
Click Here to See the Profile for pinauz Click here to Send pinauz a Private Message Find more posts by pinauz Add pinauz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 23:54.    Post New Thread    Post A Reply
Pages (27): « First ... « 6 7 8 9 [10] 11 12 13 14 » ... 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 (81.36% PHP - 18.64% MySQL) con 27 query.