Hi guys help with the parts commentated i'm coming from
c / c++ using a borland compiler.
#include <vcl\vcl.h>
#pragma hdrstop
#include<iostream.h>
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
int number;
Memo1->Text="Input a number >"; /* How do I get a cursor at the end ready */
/* for input */
cin>>number; /* Is cin ok for gui */
}
/* How do I output my input in a gui */
Thanks (leaner wanting to be a master)