Tag: when
When to use virtual functions in C++?
When we want a Derived Class to override a member function of Base class, then we should make that member function in Base class virtual. So that if someone uses the Derived class object using Base class’s pointer or reference to call the overridden member function, then function of derived class should be called. Suppose draw() is …
map vs unordered_map | When to choose one over another ?
In this article we will compare std::map and std::unordered_map and will also discuss when to choose one over another. Both std::map & std::unordered_map store elements in key value pair & provide member functions to efficiently insert, search & delete key value pairs. Advertisements But they are different in following areas, Internal Implementation Memory Usage Time …
map vs unordered_map | When to choose one over another ?Read More
Exclude a directory when using “find” command in Linux
While managing the linux servers we need to use the find command for finding files and directories based on our use case. In this article we want to learn about how to exclude a directory or multiple directories while using find command. Table Of Contents Using the prune option in find command Using “! -path” …
Exclude a directory when using “find” command in LinuxRead More
When to wrap quotes around a shell variable in Linux?
Most of the programmers who are new to shell scripting and dealing with string variables, have a doubt regarding when they have to wrapquotes around a shell variable. In this article, we are going to perform some tests and try to understand when and where quotes around ashell variable are required. Table of Contents List …
When to wrap quotes around a shell variable in Linux?Read More
9 Mistakes to Avoid When Applying to Study Abroad 2023
Many international students dream of studying abroad for undergraduate or postgraduate studies in developed tier-one countries like the UK, Canada, USA, Germany, etc. But the problem with these ambitions is that most students repeatedly make the same common mistakes. They end up hindering their chances of travelling abroad for their studies. I am writing this …
9 Mistakes to Avoid When Applying to Study Abroad 2023Read More
When is Outer Banks Season 3 Coming Out on Netflix in 2023?
When is Outer Banks Season 3 Coming Out? Outer Banks, the action-packed Netflix series, has built a huge following of loyal fans since its debut in 2019. With the teenagers’ ongoing conflicts and John B’s search for answers about his father, the show has left us with plenty of mysteries to solve. In this article, …
When is Outer Banks Season 3 Coming Out on Netflix in 2023?Read More
What happens when a bank folds up?
A bank is a financial institution that accepts deposits from customers and uses the collected deposits to offer loans and investments to other institutions or high-net-worth individuals. Banks play a crucial role in the economy, providing credit and financing to businesses, governments, and individuals. However, like any business, banks can fail. When a bank fails, it can …
5 ways to invest when you have money
You may have spent your entire life struggling and trying to build your wealth, and suddenly you became lucky and had a bit of a windfall. Now with cash, comes the responsibility. Regardless of whether you got it from a sudden heritage, the sale of a house, a lawful settlement, or you’ve won the lottery …
Annual Returns: Meaning, contents, when needed & more
The Corporate Affairs Commission (CAC) mandates all registered organizations, from incorporated trustees to business names and companies to file annual returns with it. The essence of filing annual returns is to keep track of the activities of the organization as well as to check if the organization is still in operation (a going concern). There …
Annual Returns: Meaning, contents, when needed & moreRead More
How do you decide when to save and when to spend?
Across the globe, many people find it difficult to decide when to save or spend. It’s like standing between the devil and the red-blue sea. Without a doubt, saving is paramount. We need to be diligent to save and not spend out of budget to prepare for future occurrences. People save for different reasons: for …