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 > [aiuto] Esercizio CentraNomi
Pages (2): [1] 2 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
sONk
BANNED

User info:
Registered: Aug 2003
Posts: 194 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 23:33:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[aiuto] Esercizio CentraNomi

Eh si.. stò finendo adesso di fare i vecchi esercizi ^^ ma non ho avuto tempo...
Cmq.. questo programmino l'ho fatto subito con 1 solo nome.. anche perchè è molto semplice.. ma quando devo inserirne 2 mi sballava la cornice.. perchè non sapevo come far capire al programma qual'era il più lungo.
Poi ci sono riuscito con un ciclo.. ma sicuramente c'è una maniera più rapida e stupida che mi sfugge... qualcuno l'ha fatto?

__________________
...banned...

13-11-2003 16:06
Click Here to See the Profile for sONk Click here to Send sONk a Private Message Visit sONk's homepage! Find more posts by sONk Add sONk to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda ke ill programma deve già contenere nel codice il tuo eventuale nome e cognome, non bisogna fare l'inserimento da tastiera, il programma deve solo stampare

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

13-11-2003 16:19
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:birrozza:

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

13-11-2003 16:21
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

hai capito?

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

13-11-2003 16:22
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sONk
BANNED

User info:
Registered: Aug 2003
Posts: 194 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 23:33:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma sei sicuro? Possibile che sia solo uno stupido esercizio di output o_O
Lol cmq ok ^^

__________________
...banned...

13-11-2003 16:23
Click Here to See the Profile for sONk Click here to Send sONk a Private Message Visit sONk's homepage! Find more posts by sONk Add sONk to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

è semplicissimo, basta mandare in stampa su video una stringa che comprende l'intera cornice e i due nomi usando adeguatamente il "\n" per poter mandare a capo la stringa e avere così il tutto incorniciato


:ola:

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

13-11-2003 16:25
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sONk
BANNED

User info:
Registered: Aug 2003
Posts: 194 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 23:33:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ehm... lo so che così è semplice -.-' ma ero convinto fosse da fare con l'inserimento dei nomi da tastiera :P

__________________
...banned...

13-11-2003 16:28
Click Here to See the Profile for sONk Click here to Send sONk a Private Message Visit sONk's homepage! Find more posts by sONk Add sONk to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sONk
BANNED

User info:
Registered: Aug 2003
Posts: 194 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 23:33:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

"\n" o_O ??

__________________
...banned...

13-11-2003 16:30
Click Here to See the Profile for sONk Click here to Send sONk a Private Message Visit sONk's homepage! Find more posts by sONk Add sONk to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ankio lo kredevo, poi settimana scorsa l'ho kiesto personalmente a mereghetti e lui mi ha spiegato ke è da fare senza inserimento da tastiera:-)

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

13-11-2003 16:31
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il \n serve per mandare a capo la stampa su video di una stringa, come in c++, presente?prova quello ke ti ho postato e capirai

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

13-11-2003 16:32
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sONk
BANNED

User info:
Registered: Aug 2003
Posts: 194 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 23:33:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

dove va inserito \n ?

__________________
...banned...

13-11-2003 16:38
Click Here to See the Profile for sONk Click here to Send sONk a Private Message Visit sONk's homepage! Find more posts by sONk Add sONk to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sONk
BANNED

User info:
Registered: Aug 2003
Posts: 194 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 23:33:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusa \n non c'entra con le variabili di tipo char?
boh..

__________________
...banned...

13-11-2003 17:15
Click Here to See the Profile for sONk Click here to Send sONk a Private Message Visit sONk's homepage! Find more posts by sONk Add sONk to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sONk
BANNED

User info:
Registered: Aug 2003
Posts: 194 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1
Time Online: 23:33:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Cioè.. faccio una stringa tipo chiamate nome = "tuttalacornice+ilnome" e per mandarla a capo dovrei utilizzare il "\n" ma se lo utilizzo mi va solo a capo e nn visualizza il resto non so perchè

__________________
...banned...

13-11-2003 18:02
Click Here to See the Profile for sONk Click here to Send sONk a Private Message Visit sONk's homepage! Find more posts by sONk Add sONk to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.05 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

???? non ho capito scrivi il pezzo di codice con lo \n che ti spiego

__________________
giO

15-11-2003 11:29
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il \n serve per mandare a capo durante la stampa di una stringa
per esempio: video.print("ciao"+"\ncome va?");

la stampa a video sarà:
ciao
come va?

cioè stampa la stessa stringa su più righe,basta suddividere la stringa in una concatenazione e quando si vuole andare a capo basta aggiungere all'inizio \n.
sul libro è a pag 571 nella tabella \n sta per linefeedLF, cioè andare a capo!!!!
ok

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

15-11-2003 11:52
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 14:22.    Post New Thread    Post A Reply
Pages (2): [1] 2 »   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.047 seconds (86.63% PHP - 13.37% MySQL) con 26 query.