Daily learning on github

The study is divided into two parts, one is the understanding of a few nouns, the other part is a preliminary study using vs2019

First, the understanding of the term

1. Object: object

In the first I understand, for example, define a character

Char a;

This is a an object.
Definition video books and learning are: the system used to describe an entity objective things.

2, class

According to study, I have come to class is, for a lot of objects, I (programmer) abstract summed up their common attributes and behaviors, which formed a class.

3, the package

If I remember correctly, that's a different point C and other languages
according to the study, I think a very interesting example of the teacher,
such as a television, we have to use it must be operating outside its enclosure a few buttons instead unpack the TV is used (which is not to be understood as debugging ??). Therefore Similarly, for a program, be sure to package them to use, so you can be safe and easy to use!

4, inheritance

Obviously, inheritance is the transformation and expansion of existing classes, the formation of a new class. This can reduce a lot of time! !

5, polymorphic

Refers, for the same message, different objects can cause different behavior.

Two, vs2019 use

1, the establishment of a project "Console Application", I named "Experiment 1"

2, the software is the default hello world code

3, the interface appears something that can be learned

F5 debugging
Ctrl + f5 is started

4, also learned to use on cout ', to remember how to use it a point

First, there is the statement

#include<iostream>
Using namespace std;

5, how to set a breakpoint

Point in the gray box to the left of the number of digital lines in it, on it, and then tap is canceled.

6, generates release version (not quite understand why you want to delete a file something like middle)

First, intermediate and output files prior to removal. (Operation: Click the Build menu bar, then click Clean Solution)

Then, click Generate, and then click Build Solution.

Guess you like

Origin www.cnblogs.com/zouzou-1/p/12240440.html