<html><body bgcolor="#FFFFFF"><div>No creo que existan videotutoriales, tal vez hablas del curso de C++ con Clase. Los ejercicios vienen de los capítulos 10 en adelante si mal no recuerdo.</div><div><br class="webkit-block-placeholder"></div><div>Los videotutoriales son videos de tutoriales y al menos yo no he visto ningún video. Corríjanme si me equivoco.</div><div><br><div><br></div></div><div><br>El 07/07/2008, a las 04:48 PM, <<a href="mailto:hufer@cimex.com.cu">hufer@cimex.com.cu</a>> escribió:<br><br></div><div></div><blockquote type="cite"><div>

<div class="Section1">

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Amigo, yo he visto los videtutoriales de
conclase son como 32 o mas, ahora, donde estan las actividades propuestas, en
que lugar o en cual videotutorial<o:p></o:p></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Saludos <o:p></o:p></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">alex<o:p></o:p></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center" tabindex="-1">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">De:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:cconclase-bounces@listas.conclase.net">cconclase-bounces@listas.conclase.net</a>
[<a href="mailto:cconclase-bounces@listas.conclase.net">mailto:cconclase-bounces@listas.conclase.net</a>] <b><span style="font-weight:
bold">En nombre de </span></b>Armando B. VERA<br>
<b><span style="font-weight:bold">Enviado el:</span></b> jueves, 03 de julio de
2008 18:52<br>
<b><span style="font-weight:bold">Para:</span></b> Lista de correo sobre C y C++<br>
<b><span style="font-weight:bold">Asunto:</span></b> [C con Clase] sobre
interpretación de actividad 4</span></font><o:p></o:p></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p> </o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Hola Muchachos</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Estoy tratando de realizar las
actividades propuestas en el curso</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">"cursocpp" de conclase. </span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">He culminado el 3 y no alcanso a
interpretar el 4.</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">------------------------------------------------------------</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Hacer un programa que contenga una
función con el prototipo bool</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Incrementa(char numero[10]);. La función
debe incrementar el</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">número pasado como parámetro en una
cadena de caracteres de 9 dígitos. Si la</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">cadena no contiene un número, debe
devolver false, en caso contrario debe</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">devolver true, y la cadena debe contener
el número incrementado.</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Si el número es "999999999",
debe devolver "0". Cadenas con números de menos</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">de 9 dígitos pueden contener ceros
iniciales o no, por ejemplo, la función debe ser</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">capaz de incrementar tanto la cadena
"3423", como "00002323".</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">La función "main" llamará a la
función Incrementar con diferentes cadenas.</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">--------------------------------------------------------------------</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Lo que interpreto es que se debe crear
un array tipo char de nueve caracteres (1 para el \'0' de fin de cadena), pero
esos caracteres son dígitos. </span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Con estos caracteres debo poder realizar
una suma, es decir, supongamos que el entero pasado como parámetro es int
parametro=234 y que la cadena char numero[10]={'0','5','7','0','2','8',<b><span style="font-weight:bold">'0','9','2',</span></b>'\0'}, el resultado de la suma
debe ser: numero[10]+parametro={'0','5','7','0','2','8',<b><span style="font-weight:bold">'3','2','6'</span></b>,'\0'}</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">¿Es esta interpretación correcta? ¿O el
parámetro debe ser también char?.</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Si los supuestos son correctos entonces
se debe convertir cada digito de parametro dividiendo por las potencias de 10 y
estraer el entero, luego convertir cada digito de la cadena a entero para
realizar la suma y luego </span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">realizar la asignación a numero[10].</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Bueno, espero no haberles liado más de
lo que estoy yo. Gracias.</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black">Armando B. VERA</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

<p><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New";color:black"><a href="mailto:abvera@arnet.com.ar">abvera@arnet.com.ar</a></span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></font></p>

</div>




</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Lista de correo Cconclase <a href="mailto:Cconclase@listas.conclase.net"><a href="mailto:Cconclase@listas.conclase.net">Cconclase@listas.conclase.net</a></a></span><br><span><a href="http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net">http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net</a></span><br><span>Bajas: <a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ"><a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ">http://listas.conclase.net/index.php?gid=2&mnu=FAQ</a></a></span></div></blockquote></body></html>