That sounds like a good idea Sean, but I'm not sure how to do that.
Type: Posts; User: CompWiz84
That sounds like a good idea Sean, but I'm not sure how to do that.
Thank you, Salem. I have this great idea all of the sudden to use a while loop. It just kinda came to me while i was reading your reply. :)
I am making a program that calculates 2 numbers. You input the operator by typing "add", "subtract", "multiply", or "divide". If the user inputs something besides one of these words, the program...
I put the goto there so that if the user inputs anything besides "add", "subtract", "multiply", or "divide" for the operation type that it will ask them to input it correctly, i.e. if they put...
What is your favorite Simpsons quote
Homer: Please press any key. Where's the Any key?
I was working on a calculator type program in which you type the operation you want, along with two numbers to perform the operation on. The problem is that I put this line:
else
{...
You do all know that you do not need a petition for an all-comics newspaper, don't you? All you have to do is start your own paper. As long as you have the comic writer's permission, or create your...
Changing the iomanip.h to iomanip did not do anything but make "setw" an undefined variable, along with "right". I have tried to place the right in other places, and I also opened the iomanip.h file...
I included the iomanip.h file, but it still won't let me align with "right", saying that it is an undeclared variable here is my code, i am sure it is something simple, but i am pretty new at C++. ...
I tried both ways. The first one, /t, worked fine. I could not get the setw() way to work, it said that "right" and "setw" were undeclared identifiers. If you know what I did wrong, i would...
Thanks, Mario.
I was wondering if it was possible to have "tabs" inserted to line up text in your program. I would appreciate any help that someone can give me. Thank you.