Ready to create your first app? Most introduction to programming classes will start with the quintessential “Hello World!” program that outputs that greeting phrase to the console and it looks like this:
While generations of programmers have gotten a thrill from seeing these words, that’s not a very exciting program, is it? Let’s skip that and head straight to creating a Windows app for our first program instead.
Using C++ Builder, it’s easy to create your first Windows app with the form designer and components. It takes less than 10 minutes to complete, and you'll end up with a Windows application that allows a user to click a button, select an image from their files, and display that image. The image will automatically resize to fit your app window too!
It will look like this:
What you’ll learn in this tutorial:
Click Here to Watch the tutorial.
Build your first #Delphi VCL app for Windows - a form that allows user input and adds their entries to a displayed list.
The Delphi tutorial introduces using Windows forms, buttons, getting user input, and more. Like the C++ tutorial, it's also a good refresher on where to find different controls, attributes and panels in the IDE. Give it a try!
Click Here to Watch the Delphi tutorial.
If you feel like you've missed out by skipping the “Hello, World!” program and you want to complete that task for nostalgia’s sake, here’s how to do it in C++:
What did we add to the code above?
With very little code, we've created two different Windows apps in two languages. Although these two apps are not very sophisticated, creating both of these applications would have taken quite a bit of time if we wrote it all in the code editor instead of using the visual Form Designer.
If you're an experienced programmer, feel free to use these resources to help a new programmer get started. If you're looking for advanced challenges, create a Stress Ball Game for the desktop by clicking here to watch the CodeRage 2018 replay.