|
-
Apr 5th, 2002, 05:39 PM
#1
Borland - Console app needs vcl50.bpl?
//---------------------------------------------------------------------------
#include <stdio.h>
#include <conio.h>
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma argsused
int main(int argc, char* argv[])
{
char cChar[1];
start:
clrscr();
printf("How ya doin?\nI'm doin fine.\n");
printf("Press Q or q to exit: ");
gets(cChar);
goto end;
end:
if(*cChar == 'Q' || *cChar == 'q')
{
return 0;
}
else
{
String cPress = "You Pressed ";
ShowMessage(cPress + *cChar);
goto start;
}
}
//---------------------------------------------------------------------------
Thats my code, really really basic stuff. I gave it to someone, and it said missing the .bpl file? Did I compile it wrong? Thanks...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|