si mi sono sbagliato..
era
codice:
for (cont=1 ; vmax=6 ; cont++) {
testo.getline(frase, 300)}
ma comunque io sto usando dev c++ e mi da questo errore come mai?
codice:
main.cpp: In function `int main()':
main.cpp:13: error: `getline' undeclared (first use this function)
main.cpp:13: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:15: error: `close' has not been declared
main.cpp:15: error: request for member of non-aggregate type before '(' token
main.cpp:18: error: expected `;' before '}' token
make.exe: *** [main.o] Error 1
Esecuzione terminata
Grazie tante per il tuo interessamento!!