Thanks for your help all, I got it all figured out. Yesterday I was just too tired and sloppy but I got it all cleared up in about 5min this morning.
Type: Posts; User: cdn_bacon
Thanks for your help all, I got it all figured out. Yesterday I was just too tired and sloppy but I got it all cleared up in about 5min this morning.
without the loop though how do I get the user input from c to Roll?
Thanks for the tips with the breaks I totally missed that.
Thanks for the help with all my sloppy mistakes....after reading your post I realized how tires I am. Sorry for waisting your time with all the silly errors but thank you very much for pointing them...
Hey all, I am trying to compile a simple program that uses the basics on enumeration types and I am having no luck. The program basically has an enumeration called Die with characteristics of the...
awesome, thanks laserlight!
I just have a quick question, is there a way to display the line numbers in the area where you write your code in Visual C++ 2005? When there is an error after I compile it gives you the line number...
Ok, thanks! That helped out huge. I guess all the indents that are on the C code sample I was given are messed up and that is why I was placing the code in the loop. It looked like it should be...
I guess you are right. If I had to get the program working what would you suggest I edit. I just cant wrap my head around this problem even though it should be so simple.
Here is the new code I am working on now. I changed the name of lowcom since it technically is not the lowest common denominator.
#include <iostream>
using namespace std;
int main()
{...
Thanks for your help all. I almost have it working. It seems to never want to run the bold text. Can you see anything wrong with the code? If I include the break that was in the C code it always...
So if I call the individual ones that I am using ex 'using std::cout;' then if I named a variable 'min' and it doesn't have a 'using ' statement associated with it I can use that variable name?
lol nice find, i noticed that right away as well and fixed it.
Thanks :D
What do you mean by that?
the ? was the tricky one for me. Thanks for the link!
this is the line I am having trouble with now
if(((a%d)++0)&&((b%d)==0))break;
Thanks for that tip I changed the variable name
Thats what I was given so I am not sure if it is a typo or not
I am working on an assignment in a C++ class where I have to convert a C program to C++. I don't have a background in C and I am having some trouble with a calculation and an if statement...