<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
gracias lo voy a probar<BR><BR>
<DIV>
<P align=center><FONT face="Times New Roman, Times, Serif" color=#3366cc size=4><EM>Cristhian Angarita.</EM></FONT></P>
<P align=center><FONT face="Times New Roman" color=#3366cc size=4><FONT face=Tahoma color=#333333 size=2><A href="http://cm85.spaces.live.com/" target=_blank>http://cm85.spaces.live.com/</A></FONT></FONT></P></DIV><BR><BR>
<BLOCKQUOTE>
<HR>
From: lrodriguez_iua@yahoo.com.ar<BR>To: cconclase@listas.conclase.net<BR>Date: Sat, 18 Aug 2007 20:08:26 -0300<BR>Subject: Re: [C con Clase] Manejo de Clases en C++<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass EC_BODY.hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>

<DIV><FONT face=Arial>Buenas noches Cristian,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Por ej. se podria agrera la siguiente función para la carga:</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV>--------------------------------------------------------------------------------------------<BR><FONT face=Arial># include<iostream.h><BR># include<string.h><BR>class pelicula {<BR>private:<BR>char nombre[64];<BR>char actor_principal[64];<BR>char actor_secundario[64];<BR>public:</FONT></DIV>
<DIV><FONT face=Arial><FONT color=#008000><STRONG>void carga();</STRONG></FONT><BR>void mostrar_pelicula (void);<BR>pelicula (char *nombre, char *actor_principal, char *actor_secundario);<BR><BR>pelicula::~pelicula(void)<BR>{cout<<"Entra el Destructor para la Pelicula "<<nombre<<endl;}<BR>};<BR></FONT>
<DIV><FONT face=Arial color=#008000><STRONG>pelicula::cargar()<BR>{   cout<<"\n Ingrese el nnombre de la pelicula  : " ;<BR>    cin>>nombre;<BR>    cout<<"\n Ingrese el Actor principal : ";<BR>    cin>>actor_principal;<BR>    cout<<"\n Ingrese el Actor secundario : ";<BR>    cin>>actor_secundario;<BR>    cout<<"\n---------------------------------------------------------";</STRONG></FONT></DIV>
<DIV><FONT face=Arial><STRONG><FONT color=#008000>}<BR></FONT></STRONG>void pelicula :: mostrar_pelicula (void)<BR>{<BR>cout<<"____________________________________________________"<<endl<<endl;<BR>cout<<"EL NOMBRE DE LA PELICULA ES : "<<nombre<<endl;<BR>cout<<"ESTELARIZADA POR            : "<<actor_principal<<" Y "<<actor_secundario<<endl;<BR>cout<<endl<<"____________________________________________________"<<endl<<endl;;<BR>}<BR><BR>pelicula::pelicula (char *nombre, char *actor_principal,char *actor_secundario)<BR>{<BR> strcpy (pelicula::nombre, nombre);<BR> strcpy (pelicula::actor_principal, actor_principal);<BR> strcpy (pelicula::actor_secundario, actor_secundario);<BR>}<BR>void main (void)<BR>{<BR> pelicula fugitivo("El fugitivo", "Harrison Ford", "Tommy Lee Jones");<BR> pelicula sintonia("Sintonia de amor", "Tom Hanks", "Meg Ryan");<BR>//Cargas datos</FONT></DIV>
<DIV><FONT face=Arial color=#008000><STRONG>fugitivo.carga();</STRONG></FONT></DIV>
<DIV><FONT face=Arial>fugitivo.mostrar_pelicula();<BR> sintonia.mostrar_pelicula();<BR>}<BR></FONT></DIV></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Espero que te sea util.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Salu2,</FONT></DIV>
<DIV><FONT face=Arial>Luciano</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=thiancriss85@hotmail.com href="mailto:thiancriss85@hotmail.com">CRISTHIAN ANGARITA</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cconclase@listas.conclase.net href="mailto:cconclase@listas.conclase.net">cconclase@listas.conclase.net</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, August 17, 2007 6:13 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [C con Clase] Manejo de Clases en C++</DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT><BR></DIV> <BR>Hola a todos,<BR> <BR> <BR>tengo el siguiente problema, resulta que estoy comenzando a menejar clases en c++ y tewngo un programa que me muestra el manejo de las clases, pero quiero medificarlo para que le pida sierta informacion al usuario - pero no he podido  -   le agradeceria aquien me pueda colaborar.<BR> <BR>Hay les dejo el codigo:<BR> <BR>--------------------------------------------------------------------------------------------<BR># include<iostream.h><BR># include<string.h><BR>class pelicula {<BR>private:<BR>char nombre[64];<BR>char actor_principal[64];<BR>char actor_secundario[64];<BR>public:<BR>void mostrar_pelicula (void);<BR>pelicula (char *nombre, char *actor_principal, char *actor_secundario);<BR><BR>pelicula::~pelicula(void)<BR>{<BR>cout<<"Entra el Destructor para la Pelicula "<<nombre<<endl;<BR>}<BR>};<BR> <BR> <BR>void pelicula :: mostrar_pelicula (void)<BR>{<BR>cout<<"____________________________________________________"<<endl<<endl;<BR>cout<<"EL NOMBRE DE LA PELICULA ES : "<<nombre<<endl;<BR>cout<<"ESTELARIZADA POR            : "<<actor_principal<<" Y "<<actor_secundario<<endl;<BR>cout<<endl<<"____________________________________________________"<<endl<<endl;;<BR>}<BR><BR>pelicula::pelicula (char *nombre, char *actor_principal,char *actor_secundario)<BR>{<BR> strcpy (pelicula::nombre, nombre);<BR> strcpy (pelicula::actor_principal, actor_principal);<BR> strcpy (pelicula::actor_secundario, actor_secundario);<BR>}<BR>void main (void)<BR>{<BR> pelicula fugitivo("El fugitivo", "Harrison Ford", "Tommy Lee Jones");<BR> pelicula sintonia("Sintonia de amor", "Tom Hanks", "Meg Ryan");<BR> fugitivo.mostrar_pelicula();<BR> sintonia.mostrar_pelicula();<BR>}<BR>--------------------------------------------------------------------------------------------<BR><BR><BR>
<DIV>
<P align=center><FONT face="Times New Roman, Times, Serif" color=#3366cc size=4><EM>Cristhian Angarita.</EM></FONT></P>
<P align=center><FONT face="Times New Roman" color=#3366cc size=4><FONT face=Tahoma color=#333333 size=2><A href="http://cm85.spaces.live.com/" target=_blank>http://cm85.spaces.live.com/</A></FONT></FONT></P></DIV><BR>
<HR>
Discover the new Windows Vista <A href="http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE" target=_blank>Learn more!</A> 

<HR>

<P><BR>_______________________________________________<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 

<HR>

<P><BR>No virus found in this incoming message.<BR>Checked by AVG Free Edition. <BR>Version: 7.5.467 / Virus Database: 269.11.19/956 - Release Date: 16/08/2007 09:48 a.m.<BR></BLOCKQUOTE></BLOCKQUOTE><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>