C++ Builder

What Is The Best Tool To Use To Develop C++ On Windows?

The C++ Programming language is one of the most broadly used software programming languages. It can be downloaded from a wide range of locations with versions suitable for almost every possible operating system. This means users can easily develop applications for all sorts of different platforms. It’s very hard to specifically identify which C++ IDE 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 might do just fine. Honestly though, trying to do everything with a simple text editor and a command line compiler really is “doing it the hard way“! However, if you want to migrate from building simple executable code to complex professional applications, we highly recommend starting with Community Editions which are often free to use so you can benefit from an advanced IDE right from the start and then progress to the full Pro or Enterprise editions when you’re ready to take things to the next level. If you are looking to best IDE for UI Design and if you want to migrate from building simple executable code to complex professional applications, we highly recommend using C++ Builder for professionals and C++ Builder Community Edition so you can benefit from an advanced IDE right from the start. In this post we will explain why C++ Builder Editions are the best C++ IDE for UI Design. Maybe I should say that, for me, the best of the best is the C++ Builder Enterprise edition which has all features in feature matrix. Table of Contents Embarcadero C++ Builder 11 is the Best C++ Tool and IDE that comes with the CLANG Compiler What is new in RAD Studio 11.1 IDE and editor? 1. General IDE Improvements 2. IDE High DPI quality 3. Welcome Page 4. ToolsAPI support! 5. GetIt Dialog Improvements 6. Both Delphi and C++ Compilers and Toolchains Improvements 7. LSP Improvements (Delphi and C++) 8. Libraries Improvements 9. Database Improvements 10. Other Internet Related Improvements Why use RAD Studio 11? Where To Download? See What’s New in RAD Studio 11 Download RAD Studio 11 Now Embarcadero C++ Builder 11 is the Best C++ Tool and IDE that comes with the CLANG Compiler This year, C++ Builder is celebrating its 25th anniversary. You can read more about the product history, on this great blog post by C++Builder PM David Millington on “Celebrating 25 Years of C++Builder” There is another very interesting blog post by David I on “The C++Builder 25th Anniversary: Visual Development, the Power of the C++ Language and 2.5 decades of Continuing Excellence“. C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. C++ Builder comes with Rapid Application Development Studio, also known as RAD Studio, and C++ Builder is one of the most professional IDEs that work under RAD Studio. It is the oldest IDE (it began as Borland TurboC in 1990 and was later renamed Borland C++ Builder). Under the Embarcadero brand, it comes with new versions, features, updates, and support. RAD Studio’s C++ Builder version comes with the award-winning VCL framework for high-performance native […]

Read More

Learn To Develop C and C++ Apps in 2023

Hello everyone. If you want to learn C++ programming or you want to improve your skills, then perhaps 2023 is a good year to start learning C++. Every week we have a round-up of recent interesting posts on C++ and C topics from the LearnCPlusPlus website including very simple examples that can be created in any C++ Code Editor and built with a C++ compiler. In the coming next weeks, we plan to focus on some more in-depth C++ and C programming topics accompanied by longer examples. We will still try to answer all beginner-level questions so please ask in the comments section below if you would like to see us cover any specific C++ subjects. We want to post a mix of beginner-level posts for those just starting out on the path to becoming proficient in the C++ and C languages. Along with that we also want to create some articles for software developers who are more experienced, covering new techniques, features, and ideas – either way, if you have a specific language feature or technique you’d like us to cover, why not get in touch in the comments below? Did you know where to learn to develop C and C++ apps? At LearnCPlusPlus.org, we have new introduction-level posts that may help and motivate you to start with developing small games, maybe your friends and family, or your students to develop amazing games on Windows, Linux, iOS, or on IoT systems in 2023. In our round-up post today we have 5 more introduction-level posts on how to develop C and C++ apps with a free or professional C++ IDE and Compiler. In another post, we teach how to use integer numbers in C and C++, along with information on their types and their ranges. In another post we discuss floating point numbers and how to use them. We also answer the question “what does C stand for in programming” because, weirdly, a lot of people seem to search for that phrase! Here are the topics of this week, How To Build A C++ Program What Is Int In C Programming? What Is A Float In C Programming? What Is Int In C++ Programming? What Does C Stand For In Programming? Before all that, let’s brief you on what is new in C++. Learn what’s new in RAD Studio “Malawi” and 11.2 to build C and C++ apps Embarcadero recently announced a new RAD Studio “Malawi” Premium Beta. As Marco Cantu mentioned there, to participate in the “Malawi” beta, a RAD Studio customer on Premium Update Subscription needed to provide their name and the email address associated with their product license, i.e., the EDN account used to register the product. Unfortunately, the deadline has passed now but I’m pleased to say we received a huge response. Embarcadero previously announced the release of RAD Studio 11.2 with Delphi 11.2 and C++Builder 11.2. Some of the main new features and enhancements in RAD 11.2 have been listed in this post below: Announcing the Availability of RAD Studio 11.2 Alexandria Learn to develop C and C++ apps in 2023 LearnCPlusPlus.org has been around for 2 years now and is packed full of educational posts about C and C++. We mainly focus on new developers. These posts are designed to inform you and to be easy […]

Read More

5 Simple Things To Start C and C++ Programming

Hello developers. If you want to learn C and C++ programming, then the LearnCPlusPlus website is the right place with very simple examples that can be compiled by any C++ Compiler. if you want to improve your C/C++ skills then perhaps 2023 is a good year to start reading new posts! Every week we have round posts, and the topics in this article are recent C++ and C topics from the LearnCPlusPlus.org website. In the next few weeks, we will plan to cover some more in-depth and advanced topics. We have some C-related posts too thanks to the shared history of C and C++. We try to answer all beginner-level questions you might have so please ask in the comments section below if you would like to see any specific topics covered. We want to post a mix of beginner-level posts for those just starting out on the path to becoming proficient in the C++ and C languages. Along with that we also want to create some articles for software developers who are more experienced, covering new techniques, features, and ideas to make LearnCPlusPlus.org a truly useful reference site for C and C++ programmers. Did you know where to start C and C++ programming ? In our round-up post today we have 5 more introduction-level posts on how to develop C/C++ programs. What C programming is used for and how we can write functions in C programming. In another post we explain how to build a C++ program and how we can run a C++ program in a terminal window. In the final post of this round-up, we explain how to terminate a C++ program. Here are the topics of this week, How To Write A Function In C Programming What C Programming Is Used For How To Build A C++ Program? How To Run C++ Program in Terminal How To Terminate A C++ Program Before all that, let’s brief you on what is new in C++. Learn what’s new in RAD Studio “Malawi” and 11.2 to start C and C++ programming! Embarcadero recently announced that there is a new RAD Studio “Malawi” Premium Beta which is expected to be version 11.3. As Marco Cantu mentioned there, to participate in the “Malawi” beta, a RAD Studio customer on Premium Update Subscription needed to provide their name and the email address associated with their product license, i.e., the EDN account used to register the product, using this form (by Wednesday, December 21st, 2022, so unfortunately the deadline has passed now). They previously announced the release of RAD Studio 11.2 with Delphi 11.2 and C++Builder 11.2. Some of the main new features and enhancements in RAD 11.2 has been listed in this post below: Announcing the Availability of RAD Studio 11.2 Alexandria Learn to start C and C++ programming in 2023 LearnCPlusPlus.org has been around for 2 years now and is packed full of educational posts about C and C++. Here’s a few recent, simple posts designed to teach you a single basic skill or feature of C or C++ in a nice bite-sized chunk of knowledge. How To Write A Function In C Programming What C Programming Is Used For How To Build A C++ Program? How To Run C++ Program in Terminal How To Terminate C++ Program You motivate us so much with your likes […]

Read More

C++ Builder Is The Choice For The Award-Winning FileOptimizer

Today’s article is from C++ developer Javier Gutiérrez Chamorro. Javier is a very enthusiastic long-term C++ Builder developer who has won multiple awards for his FileOptimizer C++ app. Here he tells us why he continues to choose C++ Builder as his C++ IDE and the story behind his success. Table of Contents Who is Javier Gutiérrez Chamorro and what is FileOptimizer? What was the development process behind FileOptimizer? What operating system do you use? Have you always used C++ Builder, if so, why? Was C++ Builder a good choice? Why do you use C++ for FileOptimizer? What lessons have you learned from the success of FileOptimizer? Who is Javier Gutiérrez Chamorro and what is FileOptimizer? Javier Gutiérrez Chamorro here, the founder and main developer of the award-winning FileOptimizer tool. This is not something I say but supported by third party entities such as Sourceforge who awarded it for several times as project of the week and the month, and of course, Embarcadero, who recognized it in the “Building Good with C++ Builder Contest 2021”. In order to understand the context, first things first. I am a professionally involved in technology since almost 25 years ago, but not Delphi nor C++ Builder related for almost a decade. I am in the industry of Javascript, HTML, PHP, and the tons of libraries, frameworks and tool chains. As it happens usually, during my workdays I have a need, a program that allowed me to easily optimize the images that would be loaded in websites and iOS applications in order to reduce its size, and thus improve the loading and rendering speed. FileOptimizer is essentially a GUI (Graphics User Interface) frontend to powerful, but hard to use command line tools that perform the hard job, the lossless compression of files. No matter if you are referring to a PNG image, MP4 video, PDF leaflet or a Word document, FileOptimizer will recognize it and pass the action to the appropriate plugin in order to optimize it. What is the point? Well, you will get files that look exactly the same as the original, that use exactly the same format and can be opened by same original tools, but they will be smaller. What was the development process behind FileOptimizer? Small files were a key point back in the 1980s when memory and disk storage was scares. Nowadays with gigabytes of RAM and terabytes of disk it could sound as something of the past, but it is not. Lots of devices have limited hardware capabilities (smartphones, tablets, …) and you want to extract the most of them; and in other cases, bandwidth is a constraint. Bandwidth is expensive, and I am sure all of you will prefer to place a 100 K image on your website as opposite to the same image weighting 1000 K. I know you have modern formats reduce file size as we compare them to existing ones, just take a look at H265 for videos or WebP for images. Unfortunately those new formats require new tools too. New programs to edit or convert them, new apps to view them… So the need of reducing the size of a file, but keeping the original format is still there. What operating system do you use? I have been always based in Windows platform, well […]

Read More

Ce puteți obține cu Delphi, C++Builder și RAD Studio Enterprise and Architect doar în luna August!

Acum puteți face mult mai multe cu noi instrumente și licențe RAD Studio. Pentru luna august 2022, cu fiecare licență Enterprise sau Architect a Delphi, C++Builder sau RAD Studio, veți primi, de asemenea, o licență  UltraEdit și licențe InterBase Server pentru până la 50 (!) utilizatori prin promoția RAD Studio UltraEdit. De fapt, Architect Edition vine acum cu UltraEdit All-Access , care este o colecție incredibilă de instrumente de gestionare a fișierelor, care vă poate crește mult productivitatea.  Ce este UltraEdit și ce pot face licențele InterBase Server pentru afacerea dvs. prin promoția RAD Studio UltraEdit? Să le privim mai detaliat. Faceți cunoștință cu Ultra Edit Cu peste patru milioane de utilizatori din întreaga lume, UltraEdit este un editor de text, cod și hexadecimal pe disc premiat pentru Windows, Mac și Linux. Poate edita HTML, PHP, JavaScript, Perl, C/C++, Python și, practic, orice alt limbaj de programare. Dezvoltatorii RAD Studio includ Ultra Edit în centura lor de instrumente de dezvoltare pentru a simplifica lucrul pe parcursul ciclului de viață al dezvoltării și pentru a scurta timpul de lansare pe piață. Un utilizator numește UltraEdit „ Bugatti al editorilor de text într-o lume inundată de Ford și Dacia. Face totul bine și face multe din toate. Există dezvoltatori care înghesuie cât mai multe funcții în software-ul lor și ajung să obțină rezultate pe jumătate (și greșite). UltraEdit este bogat în funcții și totul este bine făcut ”. Cunoscut pentru gestionarea rapidă și corectă a fișierelor foarte mari. Gestionarea fișierelor UltraEdit este concepută pentru a împiedica utilizarea întregii memorie disponibile, ceea ce ar opri rularea altor aplicații. Aceasta înseamnă că UltaEdit nu are o limită reală în ceea ce privește dimensiunea fișierului – și poate deschide, edita și salva cu ușurință fișiere text mari de peste 4 GB! UltraEdit acceptă gestionarea fișierelor pe 64 de biți atât pe platformele Windows pe 32 de biți, cât și pe 64 de biți (Windows 7 și versiuni ulterioare). Iată ce are de spus CNET/Download.com despre UltraEdit: „Cu aspectul său clar și caracteristicile puternice pentru proiect și spațiu de lucru, poate gestiona proiecte complexe și sofisticate de dezvoltare de software. Dar, în ciuda gamei sale vaste de funcții, UltraEdit nu se simte niciodată copleșitor. Este flexibil și ușor de personalizat, iar interfața de utilizator rafinată oferă acces ușor la cele mai importante opțiuni…” Caracteristici remarcabile Putere, performanță, viteza de pornire și încărcare de fișiere de neegalat Teme personalizabile, configurabile, frumoase Integrarea sistemului de operare (linie de comandă, extensie shell) Căutare / înlocuire și căutare rapidă în fișiere / înlocuire în fișiere Comparare fișier complet integrată. Operații de diferențiere instantanee Browser nativ FTP/SFTP, consolă SSH/telnet Un tip puternic de fișier / selecție Gestionarea fișierelor mari demnă de un lider pe piață: peste 10 GB și mai mult Editare hexagonală. Editare coloană / blocare Suport special XML și JSON. Analizați și reformatați rapid XML/JSON UltraEdit Standard include UltraCompare Professional GRATUIT! UltraEdit include UltraCompare Professional. UC Pro oferă compararea și îmbinarea fișierelor în 2 și 3 căi, compararea și sincronizarea folderelor, compararea hex, compararea tabelului/Excel, sincronizarea locală/la distanță și integrarea Git. O licență UltraEdit personală poate fi instalată pe până la 3 mașini pe orice combinație de platforme. Architect Edition vine cu UltraEdit All-Access: Ce este All-Access? UltraEdit All-Access este o colecție de instrumente de gestionare a fișierelor. Pe lângă UltraEdit, colecția include: UE Studio : Integrare nativă a tuturor ramurilor dvs. Git. Clonează, verifică, actualizează, commit și push/pull, direct din UEStudio pentru a-ți gestiona depozitele Git UltraCompare : comparați 2 sau 3 fișiere din […]

Read More

How To Add A Sepia Image Effect In Your Apps With No Code in C++ Builder IDE

What is a sepia effect in a C++ app? Is there an easy way to add sepia effects to components? How can I add a sepia effect to alpha images in my applications? How can I use the TSepiaEffect component in C++ Builder? What are the visual tips to add a sepia effect in the development of C++ applications? Let’s answer these questions. C++ Builder IDE is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. One of the greatest features of VCL and FMX UI frameworks are the effects on UI elements. There are many UI effects that can be used on most of the visual elements supported officially by the Embarcadero. There are many good effects that we can use: Sepia Effect, Reflection Effects, Shadow Effects, Emboss Effects, Glow Effects, etc. Let’s see how we can apply a sepia effect to our images in C++ Builder IDE. What is a Sepia Effect? The sepia effect is a tonal editing technique that adds a warmer tone to a given image, so it appears to have a vintage or archival quality. Generally, Sepia effects have good results when used on photos. If you want to add some warmer style to your composition, the sepia effect works exceptionally well with black and white images. With C++ Builder IDE, you can add a sepia effect to your color images by using TSepiaEffect. Let’s see how we can use TSepiaEffect. How to use TSepiaEffect in C++ Builder IDE? TSepiaEffect is a class to create sepia effects for visible objects like images, shapes and similar items. TSepiaEffects affect the texture of visual objects. For further information, go to TImageFXEffect and FireMonkey Image Effects. Using these components, you can apply a sepia effect to screen elements and images with NO CODE at all! The intensity of the sepia color applied over the texture can be set through the Amount property. The following table shows the result of the TSepiaEffect effect on a .png picture, placed on a form (using a TImage object). The default value (Amount=0.5) is used to set the sepia amount. Create a new Multi-Device C++ Builder Project, save all project files in a folder Drag a TImage component from Palette onto the Form, Load an Image by using its MultiResBitmap property Copy and paste this TImage (Image1), position the new one (Image2) to the left Now we have two same Images. Let’s add SepiaEffect to the right one. Drag TSepiaEffect from Palette to the new TImage (i.e.Image2). If you do this it will automatically add Sepia Effect on the new Image with the 0.5 amount which is the default. You can modify the Amount (0 to 1.0) of Sepia Effect from the Object Inspector if you want. Lower values add the lighter amount of sepia effect, higher values have much. The maximum is 1.0. 8. Finally, you can run the application by pressing F9 or Run button, Here is the result. What are some additional tips on adding sepia effects to images at design or run time? You don’t need to use the sepia effect if it is not needed, the simple UI is the best!  User images are a good candidate on which to apply the sepia effect, do not use on other components and visual […]

Read More

How Do I Program Fun Games?

Hello Everyone, C++ Builder Developers, and Delphi Developers, Last weeks, we started to release “Introduction to C++” series in our LearnCPlusPlus.org web site, we will continue to release basics of C++ in the next weeks.   If you are new a beginner, new to C++ or if you are a Delphi developer and want to learn or remember basics of C++, these posts are good to improve your programming skills. This is why we call everyone ! We keep adding new C++ blogs for C++ Builder, Dev-C++ and also most are compatible with other C++ compilers. We have another great new C++ Builder post picks from the last week.  If you are a beginner or want to jump into C++ Builder please visit our LearnCPlusPlus.org website for the great posts from basics to professional examples, full codes, snippets, etc.  Are you the next great games programmer? Do you want to develop a game like Minecraft without using 3D engines in C++ ? Want to develop a very simple text game ? We explain how to  develop a Guessing Game in C++. Dynamic Polymorphism and other very long words Do you want to learn structure of C++ programming language ? Do you want to learn how to use comments,  variables, Booleans.  Want learn Dynamic Polymorphism in C++ by the CppCon video? Discount până la 30% pentru C++ Builder RAD Studio C++ Builder is a great environment for learning to use C++ and is also powerful enough for all your development needs.  Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.Design. Code. Compile. Deploy.

Read More

Submit Your Own Amazing Projects To The Embarcadero Showcase

The Embarcadero Showcase features a number of different amazing software solutions created by our customers. We are adding new showcases all the time. The purpose of the showcase is to highlight the successes our customers are enjoying by using our tools and solutions such as RAD Studio, Delphi, C++Builder, InterBase, and RAD Server. You can submit your own showcase and we might feature it if all of the necessary media is available. Submitting a new showcase is easy. Simply visit the Showcase Submission Form and enter the required information and media. A short app description describing how and why the software solution uses Delphi is optimal. In order to be evaluated for a Showcase the submission needs to include access to 1080p resolution screenshots or a public download (like a free trial) so that high resolution screenshots can be created. Additionally, they need to be taken with the latest version of Windows. For mobile apps please provide the App Store URLs in the description and any extra screenshots you may have. You can also submit a YouTube URL featuring your software solution and it may be included in the Showcase. Here are a few existing Showcases you can check out below. Award Winning Native Windows SFTP Client Built With C++Builder And Downloaded 143+ Million Times WinSCP is a popular award winning native SFTP client, FTP client, and file manager for Microsoft Windows. It has been download over 143 million times and is available in many languages. WinSCP is built with a number of programming languages but C++Builder is the main tool powering it’s graphical user interface. It is a great example of leveraging C++Builder’s fast UI development… Rise of Legions Multiplayer RPG Windows Game Built In Delphi Broken Games is a small, ambitious independent game development company based in Berlin, Germany. Their flagship game, Rise of Legions, is a multiplayer RPG available for the Windows platform. Co-founders Tobias and Martin focus on bringing people together through game… Comprehensive Music Theory and Ear Training App Built In Delphi With almost 3,000 lessons created by music teachers for beginners to professional musicians playing any instrument, EarMaster is a comprehensive, consumer-grade app with extraordinary functionality that uses a variety of different technologies. Despite the app’s technologically advanced backend, the EarMaster team worked hard make it as simple and intuitive as possible to use. EarMaster features… Ready to submit your own Showcase? Head over to the Showcase Submission Form and let us know about your amazing project!

Read More

Ultra-Fast Way To Wrap Delphi Objects To Python Objects With Python4Delphi Sample App

import spam   class MyPoint(spam.Point):   def Foo(Self, v):     Self.OffsetBy(v, v)   p = spam.Point(2, 5) print (p, type(p)) p.OffsetBy( 3, 3 ) print (p.x, p.y) print (“Name =”, p.Name) p.Name = ‘Hello world!’ print (“Name =”, p.Name)   p = spam.Point(2, 5) print (p, type(p)) p.OffsetBy( 3, 3 ) print (p.x, p.y)   # create a subtype instance p = MyPoint(2, 5) print (p, type(p)) p.OffsetBy( 3, 3 ) print (p.x, p.y) p.Foo( 4 ) print (p.x, p.y) print (dir(spam)) print (spam.Point) print (“p = “, p, ”  –> “,) if type(p) is spam.Point:   print (“p is a Point”) else:   print (“p is not a point”) p = 2 print (“p = “, p, ”  –> “,) if type(p) is spam.Point:   print (“p is a Point”) else:   print (“p is not a point”)   # You can raise errors from a Python script too ! print (“——————————————————————“) print (“Errors in a Python script”) try:   raise spam.EBadPoint(“this is a test !”) except:   pass   try:   err = spam.EBadPoint()   err.a = 1   err.b = 2   err.c = 3   raise err except spam.PointError as what: # this shows that you can intercept a parent class   print (“Caught an error derived from PointError”)   print (“Error class = “, what.__class__, ”     a =”, what.a, ”   b =”, what.b, ”   c =”, what.c)   if p == spam.Point(2, 5):   print (“Equal”) else:   print (“Not equal”)

Read More

Learn How To Use C++ Raw String Literals For Windows Apps In C++ Builder

There are escape characters in C++ like “n” or “t”. When we try to print the escape characters, it will not display on the output. To show the escape characters on the output screen we use a raw string literal by using R”(String with escape characters)”. After using R in the front of the string the escape character will be displayed on the output. From C++ 11, basically a raw string literal is a string in which the escape characters (like n t or ” ) of C++ are not processed. A raw string literal starts with R”( and ends in )”, let’s see an in an example the difference between a normal string and a raw string in C++: #include #include using namespace std; int main() { string normal_str=”First line.nSecond line.nEnd of message.n”; string raw_str=R”(First line.nSecond line.nEnd of message.n)”; cout #include #include    using namespace std; int main() {     string normal_str=“First line.nSecond line.nEnd of message.n”;     string raw_str=R“(First line.nSecond line.nEnd of message.n)”;     cout<<normal_str<<endl;     cout<<raw_str<<endl;     return(0); } The variable normal_str will be processed at compilation time so you will see three lines of text and an empty line. In the case of the variable raw_str which is a raw string literal, the compiler will not process the escape characters, so you will see a single line of text with a content identical with what you have in the C++ source code. A first application of the concept of a raw string is in simplifying the syntax of the regular expressions. Take as an example the regular expression used in the regex tutorial for checking if the user input is an integer number. Without raw strings this is how the code should look: regex integer(“(+|-)?[[:digit:]]+”); regex integer(“(+|-)?[[:digit:]]+”); Using a raw string we can simplify the above piece of code, we can get rid of the escaping characters: regex integer(R”((+|-)?[[:digit:]]+)”); regex integer(R“((+|-)?[[:digit:]]+)”); Head over and get more information about C++ raw string literals in the Embarcadero DocWiki.

Read More