C++

Try condition_variable using C++Builder(C++11).

Author: h.mohri std::condition_variable is a class for waiting for thread execution until the condition is satisfied.Used in combination with std::mutex. I tried the wait() function in std::condition_variable.This is combined withstd::unique_lock<std::mutex>. I thought of the following specifications.As shown in the figure, create multiple threads.All threads are in Wait state.Then let…
Read more
News

CAD with C++Builder, episode#1

Author: Seva Leonov Learning tasks and motivation When teaching programming skills, especially with C++, one of the main issue is the selection of right examples and tasks. C++ is not that easy both in syntax, and concepts, and sostudents are demotivated just by the…
News

CAD with C++Builder, episode#0

Author: Seva Leonov Where Last year I had a course in programming with C++. They were 2nd year students, and they already got C# and Python. Then their dean called me and ask: “Look, Seva, I want to get them programming, not writing code. Can you?” That was a real challenge, so I gave the students a doubled course in C++ with a couple of last lectures on C++ and RAD principles. The…
Read more
C++

How to use Android Service(TAndroidService) in C++Builder

Author: h.mohri [Make a new project for Android service.] File→New→Other NewItems→Delphi Project→Android Service. After making the above selection, click OK. Select a “Local Service” and click OK. TDM class that inherits TAndroidService will be created. Place the TNotificationCenter. Create an OnStartCommand event and write the code. //// function…
Read more
News

What's New in C++Builder 10.2: Part 1 - The Linker

RAD Studio 10.2 Tokyo will be out very soon, and I’d like to let you know some of what you can expect to see new on the C++Builder side. While the majority of work is for Linux, which will be available for C++ in 10.2.1, we’ve worked on three key areas: Improved linking Improved code generation Improved debugging Today I want to discuss what’s new in the linker. The Win32…
Read more