[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Forumosky • Leggi argomento - [PERL] Aiutino su programmello

[PERL] Aiutino su programmello

L'Informatica riguarda i computer tanto quanto l'Astronomia riguarda i telescopi

Moderatore: albertao

[PERL] Aiutino su programmello

Messaggioda Niloxar » ven nov 17, 2006 2:37 pm

Ciao a tutti.
Ogni tanto mi presento con un problemino che a voi sembrerà banale.
Ho un file .dat con dentro una serie di numerini.

010121462000110000000000000000000000000000068
0101214620002100000000000000000000000000000170
1217123480001100000000000000000000000000000kg 90
12171234800021000000000000000000000000000001,72 cm
1217123481001100000000000000000000000000000kg 90
12171234810021000000000000000000000000000001,62cm
1217123482001100000000000000000000000000000kg 106
12171234820021000000000000000000000000000001,77 cm
1217123483001100000000000000000000000000000kg 67
131113388100110000000000000000000000000000083
1311133881002100000000000000000000000000000164
131113388200110000000000000000000000000000075
1311133882002100000000000000000000000000000180
131113388300110000000000000000000000000000064

Praticamente il programma dovrebbe aprire il file, leggerlo, copiare paro paro i numerini dalla posizione 0 alla posizione 13... saltare tutti gli zero successivi e riscrivere i numerini che vi ho messo in grassetto senza virgole o lettere... cioè solo i numeri.

Non è che riuscireste ad aiutarmi? :oops: :oops: :oops:
Niloxar
pisquello
 
Messaggi: 19
Iscritto il: ven giu 10, 2005 11:48 am

Messaggioda Tucana » ven nov 17, 2006 2:50 pm

Tucana
Tucana
novizio
 
Messaggi: 38
Iscritto il: mer gen 25, 2006 2:56 am
Località: Roma

Messaggioda Niloxar » ven nov 17, 2006 3:07 pm

Niloxar
pisquello
 
Messaggi: 19
Iscritto il: ven giu 10, 2005 11:48 am

Messaggioda Niloxar » ven nov 17, 2006 3:12 pm

Niloxar
pisquello
 
Messaggi: 19
Iscritto il: ven giu 10, 2005 11:48 am

Messaggioda Tucana » ven nov 17, 2006 4:32 pm

Tucana
Tucana
novizio
 
Messaggi: 38
Iscritto il: mer gen 25, 2006 2:56 am
Località: Roma

Messaggioda Niloxar » dom nov 19, 2006 12:04 pm

Ultima modifica di Niloxar il dom nov 19, 2006 1:25 pm, modificato 1 volta in totale.
Niloxar
pisquello
 
Messaggi: 19
Iscritto il: ven giu 10, 2005 11:48 am

Messaggioda albertao » dom nov 19, 2006 12:17 pm

Read what I mean, not what I write.
Avatar utente
albertao
Entità suprema
 
Messaggi: 220
Iscritto il: ven feb 04, 2005 1:38 am
Località: Caprino Veronese (VR)

Messaggioda Niloxar » dom nov 19, 2006 12:21 pm

Niloxar
pisquello
 
Messaggi: 19
Iscritto il: ven giu 10, 2005 11:48 am

Messaggioda dariosky » dom nov 19, 2006 2:28 pm

Avatar utente
dariosky
Perditempo DOC
 
Messaggi: 510
Iscritto il: gio feb 03, 2005 4:41 pm
Località: Padova

Messaggioda albertao » dom nov 19, 2006 2:44 pm

Read what I mean, not what I write.
Avatar utente
albertao
Entità suprema
 
Messaggi: 220
Iscritto il: ven feb 04, 2005 1:38 am
Località: Caprino Veronese (VR)

Messaggioda Niloxar » dom nov 19, 2006 2:54 pm

Niloxar
pisquello
 
Messaggi: 19
Iscritto il: ven giu 10, 2005 11:48 am


Torna a Algoritmica e programmazione

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

cron