Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.c++ > #4728
| From | "news@tin.it" <news@tin.it.NO> |
|---|---|
| Newsgroups | it.comp.lang.c++ |
| Subject | [OT]Cancellare riga da file |
| Date | 2019-09-11 10:20 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <qlaapa$abu$1@gioia.aioe.org> (permalink) |
Salve a tutti Mi sapete dire come e possibile in C, cancellare una riga o più righe presenti in un file.txt. Spiego. Ho una file con delle stringhe alfanumeriche da 20caratteri poi altri campi più piccoli. Con uno scanf %s %d ... prelevo i relativi dati, controllo che nella prima riga nel primo campo nella stringa alfanumerica, se alla posizione x o y o tutti e due xy, se e presente un certo tipo di carattere/i devo cancellare tale riga. Come posso fare in C? Grazie Ciao a tutti
Back to it.comp.lang.c++ | Previous | Next — Next in thread | Find similar
[OT]Cancellare riga da file "news@tin.it" <news@tin.it.NO> - 2019-09-11 10:20 +0200
Re: [OT]Cancellare riga da file fmassei@gmail.com - 2019-09-11 07:33 -0700
Re: [OT]Cancellare riga da file "news@tin.it" <news@tin.it.NO> - 2019-09-16 15:57 +0200
csiph-web