Archive: 2021/12

0

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

0

C++ Learning Journey Day12

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

0

C++ Learning Journey Day11

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

0

C++ Learning Journey Day10

Section 19: Template Functions and Classes Template Functions and Classes Template is used for multiple data types. Here is an example. 1234567891011121314151617181920212223242526272829303132333435