<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hola que tal, nuevamente tengo una duda a raíz de un error en una aplicación que estoy haciendo. ¿Por qué al compilar el proyecto me sale el mensaje de error: "Los candidatos son : MiClase::MiClase(int)"? No lo entiendo, ya que está todo bien, observen:<br><b><br>Prueba.h :</b><br><br>class MiClase<br>{ // Aquí me marca un mensaje que pone: "MiClase::MiClase(const MiClase&)" eh!?¿<br>...<br>...<br>public: <br>    MiClase(int); // Error aquí (?¿?) el mensaje en cuestión<br>...<br>...<br><br><b>Prueba.cpp :</b><br>...<br>...<br>MiClase::MiClase(int x) // incluso poniéndolo "inline"<br>{<br>...<br>...<br><br><b>OtraClase.cpp :</b><br><br>...<br>#include "Prueba.h"<br>...<br><br>OtraClase::OtraClase(int y,int x)<br>{<br>   MiClase Mc(x); // No da error aquí, pero si omito ésta línea, entonces compila bien ?¿?<br>...<br>...<br><br>No lo entiendo, la verdad (Uso g++ v4.3/ Eclipse)... agradecimientos anticipados y resaludos<br><br>Pedro<br><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>