first I want to get done with this, and after that will move to the
Visual C++...
well, if you asked the code, the part that refers to my problem is:
#include <conio.h>
#include <graphics.h>
void main()
{
int gd=DETECT, gm;
initgraph(&gd, &gm, "C:\\Borlandc\\Bgi");
char key, name1[25];
setfillstyle(INTERLEAVE_FILL,LIGHTBLUE);
bar(0,0,getmaxx(),getmaxy());
outtextxy(100,100,"Type in your name:");
/*from here I'm in trouble, if there is a good method to make
this work, please help me out with the code, and (!) I'd like to
make it so that the characters are also displayed in graphics mode*/
while(key!=13)//enter
{
key=getch();
gets(name1);
outtextxy(200,100,"key");/* <-this line I only put in to see
if the character I type is captured*/
}
closegraph();
}
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/