C + + virtual functions and polymorphism

one   virtual function         one point one   definition   The member function decorated with virtual is called   virtual function         one point two   Impact on class memory                 An empty class (there is no data member ...

Posted by elgordo1960 on Sat, 04 Dec 2021 20:04:53 -0800

Python learning notes - Tkinter_ 04 entry (single line input box)

1, Properties of the Entry field   About verification details reference resources: https://blog.csdn.net/qq_41556318/article/details/85108328 Because I have checked a lot of materials, many of them are not explained clearly here, so they are listed separately and explained in detail. The Entry component supports the verification of the l ...

Posted by RobinTibbs on Fri, 03 Dec 2021 00:52:16 -0800

The secret of rotating strings

      Recently, Zhang children's shoes are very interested in string rotation, flipping and other issues. I watched some videos and did some topics. Now I have some new ideas and follow-up learning goals and plans to share with you   catalog: 1: Introduce two methods to rotate the string as a whole 2: Rotate a single ch ...

Posted by faraway on Tue, 30 Nov 2021 21:23:54 -0800

Linq and Lambda's GroupBy method

Group is often used in SQL. It is usually used to group one or more fields to find their sum, mean, etc. The Groupby method in Linq also has this function. See the code for specific implementation: Suppose there is a data set as follows: public class StudentScore { public int ID { set; get; } public string Name { set; get; } public string Co ...

Posted by mlschutz on Sun, 03 Oct 2021 17:31:13 -0700