#include
#include
#include
using namespace std;
The class M
{
Public:
M ()
{
A1=1;
Fc=9.6;
B=250;
B1=1210;
Ho=510;
Fy=360;
}
Double count (double x)
{
M=x;
Cout & lt;
Cout & lt;
Temp=SQRT (1-2 * as);
T=1 - temp;
Cout & lt; <"T=" & lt; <1 - temp & lt;
Cout & lt;
};
Error 2 error LNK1120: one cannot resolve the external command
Error 1 error LNK2019: cannot resolve the external symbol of "public: __thiscall n1: : n1 (void)" (?????? 0 n1 @ @ QAE @ XZ), the symbol referenced in the function _main
CodePudding user response:
The class n1: public M{
Public:
N1 ();
Double count1 (double x)
{
M=x;
As1=m * (1000000)/(a1 * fc * b1 * * ho ho);
Temp1=SQRT (1-2 * as1);
T1=1 - temp1;
As1=T1 * b1 * ho * * fc/a1 fy;
Cout & lt; <"As1=" & lt;
};
Seems that there is a problem,
Is wrong?