Author Archives: Michael Haephrati מיכאל האפרתי

Unknown's avatar

About Michael Haephrati מיכאל האפרתי

Michael Haephrati is a music composer, an inventor and an expert specializes in software development and information security, who has built a unique perspective which combines technology and the end user experience. Author of Learning C++ https://www.manning.com/books/learning-c-plus-plus

Making files and folders invisible

Do you know there are ways to hide files and folders and make them invisible? Normally you have the option to check or uncheck the “hidden items” checkbox in the Explorer, as shown in the screenshot below: Nevertheless, when a … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , | Leave a comment

Final code exercise

We already shared with you Brain Train, our final exercise, brought to you in Chapter 18 of our book. Happy to share a Mac demonstration of the same multiplatform source code.

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Going over editorial comments

We have developed our own software (in C++ of course) that uses Office Automation and sqlite3 to maintain a database of all editorial comments we receive from Technical Editors about our book‘s chapters. For example, there is an option to … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | 2 Comments

Measuring User’s Activity level

In 2017, during a meeting with a client, a government agency, we discussed a project we developed and offered them, (in C++, obviously…), they asked us if it was possible to add log entries about a PC user’s activity level. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

A Slot Machine using ASCII Art

As explained in Chapter 12 of our book, Learning C++, the idea of this exercise is to develop a Las Vegas-style slot machine game. Slot machines allow the player to press a button and get 3 or more images. The … Continue reading

Posted in Code Snippets | Tagged , , , , , , , , | Leave a comment

Our YouTube channel

We have created a new YouTube channel where we intend to publish clips showing code listings from the book and how the programs actually look and feel. Our amazing maze program is shown in this video. Our final exercise, Brain-Train … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

About our book

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

How to print UNICODE text in Console applications

In chapter 7 in our book, Learning C++, (which is on sale – 45% discount only on May 13th), we demonstrate how to display UNICODE text in Console applications. It was challanging for several reasons: As explained in my Stackoverflow … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Exploring Different Ways to Generate Random Numbers in C++: Coroutines and Concurrency

C++ is a versatile and powerful programming language that offers a variety of ways to solve problems. In the more advanced chapters of our book, Learning C++, we explore two different approaches to generating random numbers using C++20 coroutines and … Continue reading

Posted in Uncategorized | Leave a comment

Ranges in C++

Our book, Learning C++, has aWhen ranges are used, it makes coding easier and simper to develop and to understand, even though any code that uses range, can be also coded with an old style for..loop. Here is an example: … Continue reading

Posted in Uncategorized | Leave a comment