Implementing backspace using outtextxy in graphics.h in c

Posted by vinit on Stack Overflow See other posts from Stack Overflow or by vinit
Published on 2010-04-17T15:41:23Z Indexed on 2010/04/17 15:43 UTC
Read the original article Hit count: 275

Filed under:
|

Yersterday I was trying to create a text editor in c. but i am facing a problem with the backspace character. and when i am trying to print this with outtextxy a strange character is appearing. i tried following code for this backspace:

str[2]="\b ";

outtextxy(x,y,str);

This is working fine under textmode but not working under graphics mode. If you r having any solution please help me I hav to submit my program on monday.

And Thanks in advance

© Stack Overflow or respective owner

Related posts about c

    Related posts about graphics