I want to make this rogram which ,on inserting a string from keyboard substitute a backsace with /b.Here the difficulty I am facing that backsace is not read by comiler even after using getch function and scanf function
Code to output backspaces as '\b' chars
Collapse
X
-
Tags: None
-
You'll need to capture keyboard interrupts and there are no standard C/C++ libraries which can do this as it's platform-dependent. There are third-party libraries which can help you with this, you might like to check out the Allegro API for example.Comment
Comment