procedure TForm1.Button2Click(Sender: TObject);
begin
Query1.Active:=False;
Query1.SQL.Add('UPDATE UYELER SET UyeAdi='''+Edit2.Text+''' WHERE UyeKodu='''+Edit1.Text+'''');
Query1.Open;
end;
end.
when i run this procedure it gives an error like: "Invalid use token: UPDATE" why? also...
void FileWrite(const char* filename,int no)
{
base::FileWrite(filename,no);
}
derobj call derived class's FileWrite() so 'this' is derobj's address
in this program when we enter base::FileWrite(filename,no);
line this shows derobj->a,derobj->b but not derobj->c it is...
thx xwb and cpjust ...
lso if there are someone wondering we can use dos instructions with 'system' instead of this
for example system("cls") for clrscr();
see ya
Hi everyone in microsoft visual studio 2003 ; when i create a console application console functions like clrscr(),textbackground() doesnt works... please help me...
hi everyone i hav a porgram and it is uses streams and files also inheritances....
//////////////////////
.
.
.
class base{
protected:
int a;
int b;
public:
void getdata()
{}
void FileWrite(const char* filename,int no)
{
ofstream...
hi everyone in my computer's (tested in many files) c++ builder console projects; it is compiled true but when i built it it gave a error: "a file name expected" why?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.