Allright, thanks a bunch, I got it to work, i was having a complete brain fart haha
here it is:
#include <iostream>
#include <string>
using namespace std;
int main()
{
Type: Posts; User: thekautz
Allright, thanks a bunch, I got it to work, i was having a complete brain fart haha
here it is:
#include <iostream>
#include <string>
using namespace std;
int main()
{
Hey,
I am writing a do-while loop program that will ask a user for a number then print "I love programming" that number of times. For example, if the user types in 3, then it would read "I love...
Ok, thank you all very much, sorry for the trouble!
I got it to work and it is great!
Thanks once again!
I apologize, I am a bit confused right now.
Do I have to go somewhere to find the answer or suggestion to my problem, or does someone just post it here if they notice it?
Thanks for all of your...
uh, but what would that be?
That's what I am wanting to find out.
Hello,
I am working on a program where the user enters the 3 dimensions of a solid (any solid) and the program calculates the volume of the figure!
I have tried it and i have a list of errors, but...
Here is the code for my program:
It is supposed to ask for 3 dimensions of a solid to find the volume of the figure.
//Description: This program asks for the 3 dimensions of a solid to...
Wow, that slipped my eye, thanks a lot
I know that that doesnt have anything to do with square roots, but it was in the area, so, i dont know!
Haha thanks a lot.
Oops, sorry.
Line 140 is somewhere in this area. I have a couple lines because I may have counted one or two off :)
if (x < 0)
{
...
I should be a bit more clear, I am trying to make the square root function not allow negative numbers, for if the user enters a negative number, then they are told not to do so, and they are allowed...
Hello,
I have written a program that allows the user to choose a calculator function, then enter numbers and then it gives the answer.
All is working, except for the square roots function.
Below...
Wow, Thank you all so much for the excellent help.
I am very grateful that there are people out there to help me with this, rather than just give up on it.
I used what you all said, and it works....
Hello,
I am working on a program that asks the user to input an integer value. It then raises X to all the powers from 0 up to 5, using the user entered value.
For example, if the user entered 5...
What do you mean?
Where would I put "B" and "C" instead?
I don't understand what you're saying.
Hello,
I am writing a C++ program that displays a multiple choice question, and then asks the user for the answer. I am posting this because I have a couple questions regarding errors I receive....
Yes!
I remember that now.
Now it is working!
Thank you nucleon!
Hello,
The errors are at the bottom of the post, and they are about the error: non-lvalue.
I am writing a program which allows the user to choose a beverage, sandwich and side order from a menu....
Hello,
Here is what I am writing a program for. I have my code at the bottom of the page, along with the listed errors I receive when executing the program. It would be greatly appreciated if anyone...
Well, I tried ending with a curly bracket and sure enough, that was it!
Thank you so much everyone, you saved me so much time!
Hello, I am working on a program to calculate the letter grade for a user once they put in their grade as a decimal.
When I try to use the program, the following messages appear:
grade.cpp: In...
Hello,
I am having a difficulties with a C++ program involving "if" statements.
I recieve a syntax error that reads the following:
grade.cpp: In function `int main()':
grade.cpp:21: syntax error...