Golang 快速學習自我挑戰 Day14
Section14: Methods: OOP with Go Methods:Enhance types with additional behavior Methods Value Receivers Pointer Receivers Non-Struct Methods Interface Type Assertion Type Switch Empty Interface
Section14: Methods: OOP with Go Methods:Enhance types with additional behavior Methods Value Receivers Pointer Receivers Non-Struct Methods Interface Type Assertion Type Switch Empty Interface
Section 24: C++ 11 Auto auto can detect the data type, so you don’t need to declare the data type by yourself. decltype can capture the data type and use it on the other variables. 1234567891011121
Section 22: I/O Streams Streams Stream is a flow of data or flow of characters. Streams are used for accessing the data from outside program. Here are the types of stream. istream: cin >> os
Section 19: Template Functions and Classes Template Functions and Classes Template is used for multiple data types. Here is an example. 1234567891011121314151617181920212223242526272829303132333435