Home > Back-end >  Basic knowledge of understanding does not reach the designated position, will not solve the problem,
Basic knowledge of understanding does not reach the designated position, will not solve the problem,

Time:09-22

I tried a lot of methods, the guidance of the great god still fail, still can not correctly understand and write a reasonable process, pray that god will reply,
Note: : : if you can't write process, Smith said, only that you don't talk, I will not give you points, only write all process [on the basis of the original code to write the correct code, easy to understand], and the program can run, [this difficult to understand the basic knowledge is poor, need to hold] I don't waste your time, you also don't waste my points, can teach me, thank you!!!!! Not quite understand, or don't want to write a detailed process, please bypass!!!!!!

# include "stdafx. H"
#include
# include "Person. H"
Using namespace STD.

Int _tmain (int arg c, _TCHAR * argv [])
{
Int iResult=1;
CPerson p;
IResult=p. etlndex (25);
If (iResult>=0)
Cout<& lt;" M_shAge is: "& lt; & lt; P.g etAge () & lt; & lt; Endl;

IResult=p. etlndex (0);
If (iResult>=0)
Cout<& lt;" M_ilndex is: "& lt; & lt; P.g etlndex () & lt; & lt; Endl;

Char bufTemp []="Mary".
IResult=p. etName (bufTemp);
If (iResult>=0)
Cout<& lt;" M_cName is: "& lt; & lt; P.g etName () & lt; & lt; Endl;

IResult=p. etSalary (1700.25);
If (iResult>=0)
Cout<& lt;" M_dSalary is: "& lt; & lt; P.g etSalary () & lt; & lt; Endl;



Return 0;
}

CodePudding user response:

Study of sincerity and there is some momentum, a great god will help her to you all!
BTW, the effect of learning what is unknown,

CodePudding user response:

No one (Person) to do,

CodePudding user response:

@ leeky, yes, no one can solve, can you? The lack of some data code, you can swallow?

CodePudding user response:

According to the original post, lack what member function (_tmain, call to the Person. H and Person. The CPP no declaration and implementation, add the function it is ok to write a complete,

CodePudding user response:

@ ooolinux: light said don't write, I also will, you write, I will know where is the problem, please get written. б о л ь ш о е с п а с и б о

CodePudding user response:

Try to do what matter,

CodePudding user response:

# DelphiGuy: don't help me, don't talk,

CodePudding user response:

refer to 6th floor weixin_36747231 response:
@ ooolinux: light said don't write, I also will, you write, I will know where is the problem, please get written. б о л ь ш о е с п а с и б о


Where are your post code? Don't write their own, you just have someone else's code compiled into a computer to run?
  • Related