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] 15/05/2006
Pages (25): « 1 [2] 3 4 5 6 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
manuel86
.novellino.

User info:
Registered: Apr 2006
Posts: 7 (0.00 al dì)
Location: Ossimo (BS)
Corso: Comunicazione digitale
Anno: Primo
Time Online: 3:48:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

C'è per caso qualcuno che mi può spiegare a cosa servono queste parentesi graffe che il professore ha scritto nel suo programma???

Sequence ss0 = new Sequence(new Statement[2]){msg1, new Assign("b", seven)});

l1 = new Loop(new GreaterThan(rb, zero), new Sequence(new Statement[2]{a3, a2});

new Statement[6]{
new Assign("b", new Constant(-1)),
s1,
d2,
a1,
l1,
new PrintExpression(new ReadVariable("ab"))
}

catch(ExecutionException e) {e.printStackTrace();}

perchè il mio compilatore mi da 1 errore...non è che il professore ha sbagliato qualcosa???

17-05-2006 15:49
Click Here to See the Profile for manuel86 Click here to Send manuel86 a Private Message Find more posts by manuel86 Add manuel86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
soak
.precettore.

User info:
Registered: Nov 2005
Posts: 85 (0.01 al dì)
Location: Mantova
Corso: Comunicazione Digitale
Anno: 1 Bis
Time Online: 14:24:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

anche a me le graffe non quadrano..:?

F:\Java\JCreator\MyAssembler\Program.java:32: ')' expected
Sequence ss0 = new Sequence( new Statement[2] { msg1, new Assign("b", seven)}); ^

F:\Java\JCreator\MyAssembler\Program.java:40: ')' expected
l1 = new Loop( new GreaterThan(rb, zero), new Sequence( new Statement[2]{ a3, a2}));
^
F:\Java\JCreator\MyAssembler\Program.java:40: ')' expected
l1 = new Loop( new GreaterThan(rb, zero), new Sequence( new Statement[2]{ a3, a2}));
^
F:\Java\JCreator\MyAssembler\Program.java:42: ')' expected
Sequence ss1 = new Sequence( new Statement[6]{ new Assign("b", new Constant(-1)), s1, d2, a1, l1, new ^ PrintExpression(new ReadVariable("ab"))});

4 errors

Process completed.

17-05-2006 15:52
Click Here to See the Profile for soak Click here to Send soak a Private Message Find more posts by soak Add soak to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
soak
.precettore.

User info:
Registered: Nov 2005
Posts: 85 (0.01 al dì)
Location: Mantova
Corso: Comunicazione Digitale
Anno: 1 Bis
Time Online: 14:24:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

F:\Java\JCreator\MyAssembler\Program.java:32: ')' expected
Sequence ss0 = new Sequence( new Statement[2] { msg1, new Assign("b", seven)});
^

17-05-2006 15:53
Click Here to See the Profile for soak Click here to Send soak a Private Message Find more posts by soak Add soak to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zyx
.consigliere.

User info:
Registered: Nov 2005
Posts: 127 (0.02 al dì)
Location: Ceriano Laghetto
Corso: comunicazione digitale
Anno: 2° anno
Time Online: 1 Day, 14:12:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma che c**** hanno combinato cos'è quella roba qua adesso come facciamo?????

17-05-2006 17:37
Click Here to See the Profile for zyx Click here to Send zyx a Private Message Find more posts by zyx Add zyx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Reaper
Maestro Jedi

User info:
Registered: Oct 2005
Posts: 362 (0.05 al dì)
Location: Patagonia
Corso: ComDig
Anno: MOoooLto InDieTRO...
Time Online: 1 Day, 16:04:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:sbocco:

17-05-2006 18:15
Click Here to See the Profile for Reaper Click here to Send Reaper a Private Message Find more posts by Reaper Add Reaper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zyx
.consigliere.

User info:
Registered: Nov 2005
Posts: 127 (0.02 al dì)
Location: Ceriano Laghetto
Corso: comunicazione digitale
Anno: 2° anno
Time Online: 1 Day, 14:12:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma a qualcuno funziona il tutto? Almeno l'ultimo run senza contatre la stampa a video???

17-05-2006 18:52
Click Here to See the Profile for zyx Click here to Send zyx a Private Message Find more posts by zyx Add zyx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Skioda86
.precettore.

User info:
Registered: Jun 2005
Posts: 90 (0.01 al dì)
Location: Borno (BS)
Corso: Comunicazione Digitale
Anno: 1
Time Online: 21:00:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:D:D:D:D

Allora....


Sequence ss0 = new Sequence( new Statement[2] { msg1, new Assign("b", seven)});

l1 = new Loop( new GreaterThan(rb, zero), new Sequence( new Statement[2]{ a3, a2}));

l1 = new Loop( new GreaterThan(rb, zero), new Sequence( new Statement[2]{ a3, a2}));

Sequence ss1 = new Sequence( new Statement[6]{ new Assign("b", new Constant(-1)), s1, d2, a1, l1, new ^ PrintExpression(new ReadVariable("ab"))});




Strippandomi sul mio caro lettino, guardando il soffitto e sonnecchiando un pò...:cool:Mi sono letteralmente accorto di essere difronte ad una cosa che non avevo mai visto fino ad ora.

Mi sono accorto che non fa altro che indicare il contenuto dell'array come abbiamo sempre fatto:

int array[] = {1,2,3,4,5}


E lui in questo caso, DA COME HO CAPITO IO, ovviamente, non fa altro che spiegare cosa contiene l'array.

Sequence ss0 = new Sequence( new Statement[2] { msg1, new Assign("b", seven)});

In questo caso dice che creeiamo un array di 2 Statement e lo riempiamo nella cella 1 con un msg, e nella cella 2 con un assegnamento a b.


SEMPLICE
Premetto che ho svolto il progetto con la jdk 5, ma anche a me, come a voi da lo stesso errore..!!
Diciamo che il progetto l'ho fatto, ma....Il programma.java del profe non mi funge perchè mi dà gli stessi errori di soak.

Ora che ho dato un pò di mio agli altri vediamo se qualcuno (magari ancora il sottoscritto...) trova la soluzione per aggirare o correggere l'errore.
:D

GOOD WORK A TUTTI

__________________
- - {[( KEVIN HIGHT FLY)]} - -

17-05-2006 19:18
Click Here to See the Profile for Skioda86 Click here to Send Skioda86 a Private Message Visit Skioda86's homepage! Find more posts by Skioda86 Add Skioda86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zyx
.consigliere.

User info:
Registered: Nov 2005
Posts: 127 (0.02 al dì)
Location: Ceriano Laghetto
Corso: comunicazione digitale
Anno: 2° anno
Time Online: 1 Day, 14:12:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma guarda io la storia degli array l'ho modificata e l'ho costruita come ce l'ahnno insegnata anoi

17-05-2006 19:42
Click Here to See the Profile for zyx Click here to Send zyx a Private Message Find more posts by zyx Add zyx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
soak
.precettore.

User info:
Registered: Nov 2005
Posts: 85 (0.01 al dì)
Location: Mantova
Corso: Comunicazione Digitale
Anno: 1 Bis
Time Online: 14:24:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

come hai risolto? ..elargisci un po' di codice

17-05-2006 21:01
Click Here to See the Profile for soak Click here to Send soak a Private Message Find more posts by soak Add soak to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zyx
.consigliere.

User info:
Registered: Nov 2005
Posts: 127 (0.02 al dì)
Location: Ceriano Laghetto
Corso: comunicazione digitale
Anno: 2° anno
Time Online: 1 Day, 14:12:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma niente ho fatto così guarda:
Statement[] stat=new Statement[2];
stat[0]=msg1;
stat[1]=new Assign("b",seven);
Sequence sso=new Sequence(stat);

e così anche per gli altri e funziona ma nonso se il prof lo accetta...

18-05-2006 10:54
Click Here to See the Profile for zyx Click here to Send zyx a Private Message Find more posts by zyx Add zyx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zyx
.consigliere.

User info:
Registered: Nov 2005
Posts: 127 (0.02 al dì)
Location: Ceriano Laghetto
Corso: comunicazione digitale
Anno: 2° anno
Time Online: 1 Day, 14:12:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma poi se in quest codice assembler che dobbiamo fare se posso utilizzare solo l'operando presente sul top dello stack come faccio a fare la somma tra l'operando sul top dello stack e il suo successivo??????????????????????????????????

18-05-2006 13:34
Click Here to See the Profile for zyx Click here to Send zyx a Private Message Find more posts by zyx Add zyx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
tyrdrummer
dsy moderator

User info:
Registered: Jun 2005
Posts: 487 (0.07 al dì)
Location: Milan
Corso: Com.Dig
Anno:
Time Online: 5 Days, 3:55:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io sono solo.. c'è qualche anima che lo vuole fare con me?? Tu Drowne??

18-05-2006 15:23
Click Here to See the Profile for tyrdrummer Click here to Send tyrdrummer a Private Message Find more posts by tyrdrummer Add tyrdrummer to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
hchiaf
.novellino.

User info:
Registered: Oct 2005
Posts: 2 (0.00 al dì)
Location: Milano
Corso: Comunicazione digitale
Anno: 2005-2006
Time Online: 1:59:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Project Assembler

Se vuoi facciamo il progetto insieme! ancj'io sono da solo !

19-05-2006 13:47
Click Here to See the Profile for hchiaf Click here to Send hchiaf a Private Message Find more posts by hchiaf Add hchiaf to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zyx
.consigliere.

User info:
Registered: Nov 2005
Posts: 127 (0.02 al dì)
Location: Ceriano Laghetto
Corso: comunicazione digitale
Anno: 2° anno
Time Online: 1 Day, 14:12:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma qual'è il risultato del vostro programma??

19-05-2006 16:08
Click Here to See the Profile for zyx Click here to Send zyx a Private Message Find more posts by zyx Add zyx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Reaper
Maestro Jedi

User info:
Registered: Oct 2005
Posts: 362 (0.05 al dì)
Location: Patagonia
Corso: ComDig
Anno: MOoooLto InDieTRO...
Time Online: 1 Day, 16:04:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: Project Assembler

Originally posted by hchiaf
Se vuoi facciamo il progetto insieme! ancj'io sono da solo !



pure io! :(

19-05-2006 16:55
Click Here to See the Profile for Reaper Click here to Send Reaper a Private Message Find more posts by Reaper Add Reaper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 21:21.    Post New Thread    Post A Reply
Pages (25): « 1 [2] 3 4 5 6 » ... 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.108 seconds (38.87% PHP - 61.13% MySQL) con 23 query.