<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
holas <BR>
<BR>
nose cual es el problema por que el programa no complila me tira errores , por favor quisiera saber si pueden encotrar la falla <FONT color=#ff0000>scout was not declared in this scope </FONT><FONT color=#000000>y tambien </FONT><FONT color=#ff0000>argument of type ' int (Archivito ::) ()' does not mach 'int' </FONT><BR>
<BR> #include <iostream><BR>#include <string><BR>
using namespace std;<BR>
class Archivito{<BR> private :<BR> string nombre;<BR> int cantElementos;<BR>
public :<BR> Archivito ();<BR> void setnombre (string nombres){<BR> nombre = nombres;}<BR>
<BR> void setcantElementos ( int elements){<BR> cantElementos = elements;}<BR><BR>
string getnombre (){<BR> return nombre;}<BR>
int getcantElementos (){<BR> return cantElementos;}<BR>};<BR>
<BR>
int main()<BR>{<BR> Archivito arch ;<BR> arch.setnombre ("zully");<BR> arch.setcantElementos (10);<BR> string unNombre;<BR> unNombre = arch.getnombre;<BR> int cant = arch.getcantElementos;<BR>
scout << " Resultados del Directorio/s es/son :"<<endl;<BR> cout << "\n\n";<BR> cout << " NONBRE CANTIDAD de Sub-ELEMENTOS " << endl;<BR> cout << "\n\n";<BR> cout << unNombre << " " << cant;<BR> cout << "\n\n";<BR>
<BR>
return 0;<BR>}<BR><BR>
<BR>
MUCHAS GRACIAS POR SU RESPUESTA <BR>
<BR>
SALUDOS !!<BR>
<BR>
Zully <BR> <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>