No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey guys working on an assignment called monkey business and here is my code im getting an error on these two things. Error: [CODE] cout << "Monkey number " << [COLOR="Green"](monkey + 1)[/COLOR] << " ate the least amount of food,\n" << leastFood << " pounds, on day " << … |
|
Hey guys so I'm having an issue with my program. Some information about my program it stores a const char* str converts it to int which is in ascii then it runs a test on the number and converts it back to a string. Then it will also add these … |
|
So I need a little help on this, What this program is supposed to do is have the user input there checkbook.txt into the program which looks like this deposit:July 7:-:300 416:July 8:Albertsons:15.85 417:7/9:Checker Auto:19.95 418:7/10:Super Target:47.50 419:Dec 5:Home Depot:47.89 Once the users enters there data into the program it … |
|
So my program is running just fine and doing what it should beside one little thing. That thing is when I run the formula on the for loop. What it does is when I put in 5 and select the for loop operation it gives me the right answer. But … |
|
Hi guys I got a question about how to reversethe little endian. My questions is how do I do it. Say the user inputs hex 4423, how do I get it to reverse in the program to read as 2344? and help would be greatly appreciated. I need this because … |
|
So my program is supposed to ask the user for a hex and decode the Mpeg for the Version, Layer Description, and sampling rate. So My problem is getting the smapling rate any suggestions? TITLE CS2650 Assembler Assignment #3 Template ; Student Name: Cody Squadroni ; Assignment Due Date: 11/25/2012 … |
|
Hey guys I'm having some trouble figuring out what is going on I'd appreciate if anyone could help here is the instructions. 5. The SalesEmployee constructor a. uses a_commission and a_sales arguments to initialize the commission and sales member variables respectively b. calls the SalariedEmployee constructor and passes to it … |
|
What I'm trying to so is have calc grab the add, mult, sub, div from the fraction.cpp and do that one thing I curious and can't figure out it the how to do the formula in the function and return the value to add the fractions. Can anyone give me … |
|
Hey guys I'm having a minor issue here, I'm having an issue with my sterling.cpp in the add functions sterling add(sterling s1, sterling s2) my question is how do I get it to realize when my shillings is > 20 to goto pounds and when my pence is > 12 … |
|
Hey guys I'm running into an error. I've got the tree and the base working. But now that I'm to the trunk it'll only center the first one and the rest are to the left. any suggestions? #include <iostream> using namespace std; double height; int main() { cout <<"This program … |
|
Hey guys I'm new to programing and I made a program to solve quadratic formula but it doesn't work with imaginary numbers when the number is negative I get something like this -1.#IND. What can I add or adjust in my code to help get the program to show imaginary … |