Hello,
I got a problem while making a new program.
I am trying to make an interactive menu from which
people can choose the type of the table they want.
So the source (I won't release all of it just the part I got the problem)
box[20][75]={ "__________________________________________________________________________",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"|________________________________________________________________________|"};
/*about here is the menu which adds value 1 for 1st selection value 2 for second and 3for 3rd*/
int counter=1;
while(counter!=20)
{
if(select==2)
{
box[counter][60]='|';
box[0][50]=8;
box[20][50]=8; //these values are just for a demonstration they
//might not be accurate to the box above.
}
counter++;
}
The demical 8 is linked to backspace, but when I compile and run the source instead of removing 20 "_" it removes only 1. I dunno why so thats why I ask. Compiler I am using DevC++