<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hola Ringo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>tendrás que consultar este enlace,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A 
href="http://www.conclase.net/c/librerias/funcion.php?fun=fopen">http://www.conclase.net/c/librerias/funcion.php?fun=fopen</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>y verás que necesitas especificar en modo 
"a+".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Un saludo,</FONT></DIV>
<DIV><FONT face=Arial size=2>Juan Antonio.</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=aydabella@yahoo.com.ar href="mailto:aydabella@yahoo.com.ar">Ringo</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=cconclase@listas.conclase.net 
  href="mailto:cconclase@listas.conclase.net">C Con Clase</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 23, 2007 9:55 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [C con Clase] Falla al abrir 
  archivo</DIV>
  <DIV><BR></DIV>
  <DIV>Hola a todos,</DIV>
  <DIV>porque en la siguiente declaración me muestra error, cuando el archivo no 
  existe:</DIV>
  <DIV>if ((InputFile = fopen(InputFileName, "r+")) != NULL) </DIV>
  <DIV>{........</DIV>
  <DIV>}</DIV>
  <DIV>else ........</DIV>
  <DIV>Gracias por toda respuesta.</DIV>
  <DIV>Abel</DIV>
  <P>
  <HR SIZE=1>
  <B>Preguntá. Respondé. Descubrí.</B><BR>Todo lo que querías saber, y lo que ni 
  imaginabas,<BR>está en <B>Yahoo! Respuestas</B> (Beta).<BR><B><A 
  href="http://ar.answers.yahoo.com">Probalo ya!</A></B> 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Lista de correo 
  Cconclase 
  Cconclase@listas.conclase.net<BR>http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net<BR>Bajas: 
  http://listas.conclase.net/index.php?gid=2&mnu=FAQ</BLOCKQUOTE></BODY></HTML>