[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
CppBuilderClxHelloWorld

(C++ Builder) Hello World program, CLX

  1. Do 'File | Close All'
  2. Do 'File | New | CLX Application'
  3. 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.
  4. Doubleclick this Button. You will be taken to the code editor and the the text:
void __fastcall TForm1::Button1Click(TObject *Sender)
{
}
//---------------------------------------------------------------------------
  1. Between the accolades, add the text
  ShowMessage("Hello World");
  1. Press F9 to run your program
  2. Press the Button.

'Hello world' links



last edited (December 1, 2006) by bilderbikkel, Number of views: 12357, Current Rev: 7 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Site Management by Lars Hagelin at Kontantkort.se.