I have started to use C++Builder to build some programs.
But I'm having startproblems.

I have made a button, and when it is pushed I has to write out
some text, but nothing happens, as you can see in the code
I'm trying some diffenrent things.
calc() is a C funktion. It's only making a calc, and writing som text too.
What can I do to make this work ??

Tx

G



//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop

#include "minicalcmain.h"
#include "minicalc.cpp"
//EXTERN minicalc.cpp
//extern int calc();
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------


void __fastcall TForm1::Button1Click(TObject *Sender)
{
// if (Button1->Execute())
// {

printf("HELLO");
AnsiString("AGAIN HELLO");
calc();

// }
}
//---