when i am trying to run following code
#include
using namespace std;
class Rectangle
{
public:
int x,y;
Rectangle(int a,int b)
{
x=a;
y=b;
}
int area()
{
return x*y;
}
};
int main()
{
Rectangle a(3,4);
cout<
return 0;
}
i am getting this error
1>------ Build started: Project: project_class, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
please helped me to clarify reason of this error
No comments:
Post a Comment