Platform independence is one of the key benefits of Java. We need to understand what platform dependency is, hence, we also need to know what compulsion is. In this post, I will talk about how java programs run from scratch, back to how computers read codes from a high-level view…

It has been a while since my previous Mediu update. It was super busy and I was re-thinking which direction should I focus on for the next coming 6 months. Maybe I will write another post later on (around August) to talk about my career pathway before I graduate from…

In order to stand strong in software engineering, it is important to know about the mechanics of the domain knowledge of the industry. …

I have mentioned a few important concepts in my previous post, it is good to go back and read it before directly jump into this post that talks about the issue of using a copy constructor.

There will be a problem when we use a (shallow) copy constructor to allocate…

Before we dig deep into what is a constructor, it is very important to talk about some basic terminology what are their differences. In the post, I will talk about property functions in a class and why do we want to use a constructor.

Have you ever think about what is the difference between an object and a class?

Difference between a Class and an Object

A Class is talking about the…

You are overloading your brain capacity.

I finished reading the Input since my previous post, as well as starting with the new book called Atomic Habits. Before creating any technical post, I think it is interesting to show some critical points of what I found. During the long journey of studying and practicing computer science knowledge…

When I dig deep into the std::map class, I found there are many areas that I need to talk about such as the Deep copy, the Shallow Copy, Time Complexity of the map class. …

I have been using vectors for leet coding all the time. However, I still think that vector is worth talking about and its memory management in C++. Let us talk about the vector template class in C++ and its memory behind it.

Basics

The vector class in C++ is like a…

I spent quite a time to read deeply on the topic of how to use pragma and the reason why to use a pragma when we write binary files. It seems we dig deep enough to a point that reaching C-level preprocessor. …

C++ is not really designed to handle text parsing. It is not the ideal language to manipulate any data input in some aspect. Let us look at the stock price example below, assume we somehow get some stock data from Nasdaq's stock, Facebook, Apple, and Amazon as below.

Kevin Cheung

An ordinary developer record his life and learning progress

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store