Can I use fgets function without problems?
my source code is:
while(fgets(linea, MAXLINEA, stdin)!=NULL)
{
if (strncmp(linea,"#",1)==0)
cont++;
strcat(larga, linea);
}
Search found 2 matches
- Fri May 30, 2008 12:41 pm
- Forum: C++
- Topic: Runtimeerror in STL sort
- Replies: 3
- Views: 3425
Re: Runtimeerror in STL sort
whats kind of error is runtime error 307?