Home > Back-end >  Beginning programmers. Who can help me to explain it in detail the following program. Thank you very
Beginning programmers. Who can help me to explain it in detail the following program. Thank you very

Time:10-18

# include Include the header file is what meaning, what do you mean the iostream, each program has a say seemingly, why,
Using nanmespace STD. STD is very mean,
Class CMyclass CMyclass is what meaning, to the following statement is this the CMyclass explanation,
{
Public:
Int x; Why don't public variables there will be a lot of space, from input,
Int y; If there is no space will have influence,
Int z; ; Don't mean the end,
Public:
What's the use of CMyclass () the ()? Whether can also add a lot of other things inside,
{{} is what meaning,
X=2;
Y=100;
Z=x + y;
};
~ ~ CMyclass () is what meaning,
{define constructor is what meaning, it is empty, you can add some other?
};
Void the output () what is the output, you must have or what the reason is,
{
cout}; {} must be lined up,
};
Int main (int arg c, char * argy [])
{
CMyclass cM; CM is what meaning, when yo need capital when lowercase,
The cM. The output ();
return 0;
}

CodePudding user response:

You'd better is to find the most basic first take a look at the book,

CodePudding user response:

I am looking at,,, but didn't write a lot of books, is not very understand, hope to be able to explain this to me, thank you very much,

CodePudding user response:

This is to begin at the beginning, you want to read the book, some basic c + +, you can see & lt; It is introduced in detail.

CodePudding user response:

Well, ah, so, it can help me and explain this,,,,

CodePudding user response:

Can't explain, the questions listed any a c/c + + book is 100% with specifications, if it weren't for you didn't read the book, if it weren't for understanding ability is too weak,
If the former suggests hard points, if the latter suggestion to change professions,

Reading to see & lt; Good point, this ratio & lt; A more basic point

CodePudding user response:

CSDN on Google

CodePudding user response:

Learn C and C + +, you are college students now?

CodePudding user response:

If college students should have a lot of time to study

CodePudding user response:

Which have what time, college students have to find a wife, must dota and have dinner party wine innings

CodePudding user response:

Have idea is a good thing, think more, read more, practice more,

CodePudding user response:

refer to 7th floor sunxingzhesun response:
to learn C and C + +, you are college students now?
junior high school students,,,

CodePudding user response:

Junior high school students or in the entrance examination for secondary school or college is given priority to, can learn the language when interest, you can learn the basis of C language

CodePudding user response:

To learn mathematics well, don't learn a computer language,

CodePudding user response:

That's right, don't high school don't learn mathematics, later to back to learn mathematics, programming can be proficient in, see mathematical ability completely,

CodePudding user response:

The
reference 13 floor cankoo reply:
to learn mathematics well, don't learn a computer language,
well,,, mathematics is good,

CodePudding user response:


Still to learn basic first, a little bit,

CodePudding user response:

Junior high school students learned c + +, big eat 1 catty, certain cow B in the future

CodePudding user response:

Lz asked too basic, buy this 21 days to learn c + + look, very basic tutorial, very suitable for beginners

CodePudding user response:

refer to 17th floor beslow response:
junior high school students learn c + +, big eat 1 catty, future certainly cattle B
thanks ~

CodePudding user response:

refer to the 18th floor j_enjoy response:
lz asked too basis, buy this 21 days to learn c + + look, very basic tutorial, very suitable for beginners
ok,,

CodePudding user response:

Lz really need an introductory book
  • Related