tri
under PROFECT -> OPTIONS -> COMPILER TABE -> the botton
RELEASE jest befor you last compile. This will compile
in you OBJECTS. (any AtviceX will need to have there OCX
or DLL sent with install).
gary russell
tri this
/*
Gary Russell
ghrussel@swbell.net
ISSW
http://www.angelfire.com/planet/issw/
Deletes all files in the current directory over 14 days old.
*/
#include <conio.h>
#include <io.h>
#include <dos.h>
#include <stdio.h>
#include <stdlib.h>
#include <dir.h>...
void __fastcall TForm1::Edit1Click(TObject *Sender)
{
char c[] = "hello";
char* c2= c;
ShowMessage(c2);
}
In this example I droped the TEdit control on a form and used
the event OnClick. And the char pointer worked fine.
How can adress of "c" be the same as c[0] and c in the first image...
I have borland c++ 5.02, c++ builder 4. And I use 16 bit code and componits all the time. I also wright DOS programs in
c++ 5.02 and Builder. So, I think you may be wrong about "C++ Builders that use the compiler) is 32-bit only."
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.