Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
News

Top 10 How-To’s: C++

top 10 how tos c 2

Delphi integrates with multiple languages. InterBase is compatible with at least a dozen other databases. Delphi’s recent addition of Python libraries has allowed the two languages to work well together, but C++ is the closest language to Delphi. Because C++Builder has been an integral part of the RAD Studio offering for the past 25 years.

C++Builder allows you to do a lot because it opens the door to new platforms, operating systems, and possibilities. Let’s take a look at the top ten things you should know when working with C++ and C++Builder.

1. Everything You Need For A Chat Bot C++ App, Breakpoints, Const_cast, And More

Top 10 C++ How To's 1

 

 

 

 

In this blog post, you will learn how to build a simple and modern chatbot C++ app. In another post, we will teach more details about using breakpoints. Still, if you don’t know the difference between the #include <>​and, we explain the difference in another great post. In C++, a cast operator is a Unary Operator which forces one data type to be converted into another data we explain how to use const_cast this ​in C++. If you still don’t know how to download and use the C++ programming language, we explain how to download a modern C++ compiler for Windows 10 and Windows 11.

Read More

 

2. 13 Things About C++ Software You May Not Know

c-102

 

 

 

 

C++ is an incredibly versatile, powerful, multi-purpose programming language. There is quite literally nothing that cannot be done with C++ whether it be a low-level, close to metal system application which pulls out the maximum amount of power from the computer to the most modern applications with the very latest innovations in user interface design and hardware integrations. A truly great C++ IDE includes features to allow the developer to develop even highly complex C++ software easily and with the maximum possible productivity. There is a huge treasure trove of tips, tricks, tutorials and example videos available to get you up and running with C++ too. Here’s a just a small sampling of just a few of them.

Read More

 

3. This Is How To Develop C++ iOS Apps On Windows 11 Today

c-103

 

 

 

 

Do you know that you can develop C++ iOS Apps with Windows 11 application development tools? There is a great IDE and compiler running on Windows that supports multi-device applications for different platforms including iOS and you can develop native ARM applications like M1 CPUs too. So, your application’s program code can be recompiled so that it runs on everything from the latest Windows 11 version as well as on Apple ‘desktop’ devices such as the MacBook laptops, Mac Minis and iMacs using either Intel processors or the new M1 ‘Silicon’ CPUs. Yet that same program code can almost entirely be reused with little or no changes so it may be compiled for iOS where your apps can run on the very latest iPhone devices. Everywhere your users are, your C++ and Delphi apps can be.

Read More

 

4. The Best C++ Compiler for Windows 10 And 11

c-104

 

 

 

 

If you are on the hunt for the best C/C++ compilers available today, this article lists the top C/C++ compilers for Windows with their features. It’s very hard to identify which C++ compiler is the best for you, as this is mostly about what you want to achieve with your code. If you want to implement small projects for analysis and calculations without GUIs and many other features, most small compilers will do just fine. If you want to migrate from building simple exe files to complex professional applications, we highly recommend using a professional C++ compiler with an advanced IDE from the start.

Read More

 

5. The 5 Best C++ Build Tools For Windows App Development

c-105

 

 

 

 

The C++ Compiler and C++ IDE features really evolved from the early and auspicious beginnings of Turbo C, C++ and Borland C++. Today we have a wide array of capabilities supporting a rich and diverse amount of OS platforms running on many thousands of types of devices encompassing everything from cell phones, watches, cars to a broad collection of IoT (internet of things) specialized hardware. If we look, the C and C++ programming languages have more than 33 percent share in programming language choices overall. Together C and C++ are still the most popular programming languages worldwide by a quite significant margin. It is really amazing to see the ways in which humanity is benefitting from the advances in technology that have accompanied the evolution of our beloved programming language.

Read More

 

6. How To Make Splash Screens, Icons, Bind Data And More In C++

c-106

 

 

 

 

Professional applications have great Icons and Splash Screens. They catch the user’s eye and help add to an overall impression of quality and attention to detail. Today we link to a couple of really great articles on how to create and add icons and splash screens to give that extra polish to your work. Static libraries are a good way to develop and distribute professional functionality for developers, teams or team groups. You can manage your developer teams to develop different static libraries for your main app so you can spread the workload to different groups. When it’s time to build the main app you pull together the different libraries and methods or functions contained in them. Libraries make code more testable and help isolate functionality to avoid unwanted dependencies.

Read More

 

7. What You Need For C++ Artificial Intelligence Step By Step

c-107

 

 

 

 

C++ Software is capable to develop high-end native AI applications on different operating systems including High DPI UI elements, multi-threaded applications can be integrated with camera and other sensors like peripherals of the device of that operating system, they can be supported with the faster 2D and 3D visualization methods. If you are new to C++ Builder and/or RAD Studio, we think these posts may help you as much as a rapid introduction to AI programming in C++. For those who are perhaps wanting to expand their knowledge with the most up-to-date features, routines, and methodologies this is a great little boost (pun intended) to your C++ knowledge. The new RAD Studio 11C++ Builder 11, Delphi 11 are released with great new features and we are developing and testing new examples for you with the latest RADS 11 that means.LearnCPlusPlus.org examples are working well with the latest C++ Builder.

Read More

 

8. How To Migrate Legacy C++ Apps To Unicode

c-108

 

 

 

 

This brief article focuses on helping you migrate your legacy C++ IDE applications to Unicode. Based on information from the Embarcadero consultants here you will find tips, tricks, and techniques to migrate legacy C++ Builder apps to a newer version. We will look at working with Unicode in C++ Builder. For example you may know for the string datatype C++ Builder offers several choices. Your code can utilize C-style characters and strings or C++ string objects for VCL string objects and each of these has its own set of Unicode variations. Moreover, the Windows API provides both ANSI and Unicode variants of various functions and methods.

Read More

 

9. How To Use A C++ DLL In Any Delphi Program

c-109

 

 

 

 

There is a glorious wealth of useful C++ libraries available on the internet. We have featured many great uses of C++ here on this blog too. C++ is typically extremely high performance. If we can have the source code of the C++ library, we can create a package that will then allow us to use C++ in our Delphi programs. Often, though, the source code of the C++ library is not available. In commercial C++ libraries, it is common to get only a few C++ headers and the static library file (.lib) without any of the accompanying .cpp source files. So, in this case, when we want to use those C++ libraries in our Delphi application, we can use a Proxy DLL to make it possible.

Read More

 

10. You Need To Protect Your C++ Programs From Hackers

c-110

 

 

 

 

Nowadays, malicious programmers are utilizing modern technologies to bypass licensing and anti-copying mechanisms which can hit your revenue. It’s also common for hackers to try to breach steps you might have taken to protect and encrypt sensitive user data to steal it, possibly for nefarious purposes such as identity theft or blackmail. Breaches such as these can cause major financial damage to development teams and companies. If you are a C++ developer, one method to help protect your C++ applications built with C++ software is to use a technique known as code obfuscation. In the event that malicious programmers attempt to reverse engineer your code, it can make your code very difficult for them to understand. In this post, you will find all the details.

Read More

 

BONUS: Day 3 – Learn to Code Summer Camp 2021 – Now with More C++!

c-111

 

 

 

 

In keeping with our Build your own Summer Camp theme, today we are focusing on C++Builder. The following 13 video playlist walks you through some C++ Fundamentals. Once you’ve completed the basics, here are 36 more interesting C++Builder videos that get into building visual applications, working with databases, etc. Thanks to Željko Kovačević, who also provided the source code to accompany the videos.

Read More


What's Coming in Delphi, C++Builder, and RAD Studio 11.2 Alexandria

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES