[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppBuilderClxHelloWorld
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppBuilderClxHelloWorld
(C++ Builder) Hello World program, CLX
- Do 'File | Close All'
- Do 'File | New | CLX Application'
- In the Component Palette, click on the icon of a Button, then click on the Form. A Button should now appear, with 'Button1' as a caption.
- Doubleclick this Button. You will be taken to the code editor and the the text:
void __fastcall TForm1::Button1Click(TObject *Sender)
{
}
//---------------------------------------------------------------------------
- Between the accolades, add the text
ShowMessage("Hello World");
- Press F9 to run your program
- Press the Button.
'Hello world' links
- C
- C++
- C++ Builder, console
- C++ Builder, VCL
- C++ Builder, CLX
- C++ BuilderX, console
- C++ BuilderX, Win32 API
- C#
- PHP
- Prolog
- Turbo C++
- Visual Prolog
- Win32 API
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
