<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hola que tal.</DIV>
<DIV> </DIV>
<DIV>Estoy ampliando mi primer programa, me está dando problemas las cadenas de 
caracteres, que he empezado a trabajar con ellas haciendo esto:</DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New">char concepto1[];</FONT></DIV>
<DIV><FONT face="Courier New">char concepto2[];</FONT></DIV>
<DIV><FONT face="Courier New">char concepto3[];</FONT></DIV>
<DIV> </DIV>
<DIV>luego en esta función :</DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New">void gastos::establecerg()</FONT></DIV>
<DIV><FONT face="Courier New">{</FONT></DIV>
<DIV><FONT 
face="Courier New">                
cout << "Establece un valor (1/10 max.): ";</FONT></DIV>
<DIV><FONT 
face="Courier New">                
cin >> concepto1;</FONT></DIV>
<DIV><FONT 
face="Courier New">                
cout << endl;</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT 
face="Courier New">                
cout << "Establece otro valor (2/10 max.): ";</FONT></DIV>
<DIV><FONT 
face="Courier New">                
cin >> concepto2;</FONT></DIV>
<DIV><FONT 
face="Courier New">                
cout << endl;</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT 
face="Courier New">                
cout << "Establece otro valor (3/10 max.): ";</FONT></DIV>
<DIV><FONT 
face="Courier New">                
cin >> concepto3;</FONT></DIV>
<DIV><FONT 
face="Courier New">                
cout << endl;</FONT></DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<META name=GENERATOR content="LibreOffice 3.4  (Win32)">
<META name=CREATED content=20111024;9105492>
<META name=CHANGED content=20111024;9124326>
<STYLE type=text/css>
        <!--
                @page { margin: 2cm }
                p { margin-bottom: 0.21cm }
        -->
        </STYLE>

<P style="MARGIN-BOTTOM: 0cm"><FONT 
face="Courier New">                
cout << concepto1;<BR>}</FONT></P>
<P style="MARGIN-BOTTOM: 0cm">Cuando entra en juego el último cout de la función 
me muestra en contenido de las tres cadenas (concepto1concepto2concepto3) así, 
¿cómo puedo resolver esto?</P>
<P style="MARGIN-BOTTOM: 0cm">Muchas gracias y un saludo.</P>
<P style="MARGIN-BOTTOM: 0cm"><BR><FONT color=#548dd4><FONT 
face="Arial, sans-serif"><FONT 
size=2><I><B>Oscar</B></I></FONT></FONT></FONT><BR><FONT color=#e36c09><FONT 
face="Tahoma, sans-serif"><FONT size=2>Administrador de sistemas 
Linux.</FONT></FONT></FONT></P></DIV></DIV></DIV></BODY></HTML>