No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm making a calculator, and I want the question(text) to shift the left when the textbox is full. So as you type, it shifts to the left(only when the textbox is full) to make the newly typed question visible. In a normal textbox the text shifts to the right making … |
|
I know headers should be sent to the browser before anything is sent, so does that mean headers can only be sent ONCE?. |
|
I'm writing a program that generates random arithmetic questions, the user has 10 lifelines, I want my program to display the lifelines (no of chances left) at the rightmost corner of the console window without it being scrollable i.e. It doesn't move neither up nor down when scrolled. I dont … |
|
I wrote a program that allow users input a double value, if I input a string or a char value, it turns out to be a logical error. I've tried this: [code=c++]bool h; float value; do{ cout<<"enter a value"<<endl; cin>>value; if(cin.fail()){ cout<<"error, enter a value!"<<endl; cin.clear(); cin.ignore(); h=true;} else h=false; … |