Search:
Type: Posts; User: josh26757
Search:
Search took 0.07 seconds.
-
February 26th, 2013, 02:19 AM
Here is an example I found here:
http://login2win.blogspot.com/2011/06/merge-sort.html
I had to change it around a bit to get it to compile, but it is now a working example.
#include...
-
December 5th, 2011, 04:29 PM
Thanks, I had already visited the reference and understand why even a professional would choose to use this. Type errors just happen and create bugs so this tested template makes since. Thanks for...
-
December 5th, 2011, 03:59 PM
I guess I should be patient because my next semester is algorithms and data structures.
-
December 5th, 2011, 03:57 PM
Bug free is obviously the goal. I don't think I am that far from the program working though. It seems like the solution would be easy for a experienced programmer. If you feel the solution would be...
-
December 5th, 2011, 03:38 PM
Here is the function called "IN" the current function:
Event *SetEvent()
{
string event = "", location = "", date = "", time = "", note = "";
Event *New = new Event;
...
-
December 5th, 2011, 03:23 PM
this is very true! But being a beginner I am trying to fully understand the basics and learn from problems like this. Any suggestions or is more code needed? I feel like I am missing some rule here.
-
December 5th, 2011, 02:54 PM
I am building a program for my brother to edit a few things on his website that I do not want to be bothered with. The one I am working on now is the EVENTS page. What is going on is that I am...
-
July 15th, 2011, 05:11 PM
Perfect!!!
Thank you, that looks much better. I was unsure what the proper indention should be. You explained and showed it perfectly. I will definitely use that from now on.
-
July 15th, 2011, 12:08 PM
Like This?
#include <cstdlib>
#include <iostream>
#define year 12
using namespace std;
-
July 15th, 2011, 09:42 AM
Ok-Other than the total being a couple dollars different than BankRate.com Everything seems to be working well with the new code. I double checked my numbers against their
((months x...
-
July 14th, 2011, 10:00 PM
Thanks! that is a great explanation. I will try and figure it out and change my code. That should fix the problem. The double is causing the problem here. Thank you.
-
July 14th, 2011, 04:33 PM
Not really using a book. More like watching lectures. I understand c++ is all about object or classes. I do need to do this and will be a lot more comfortable with it after I start working on java. I...
-
July 14th, 2011, 04:29 PM
Oh I see what I did wrong. I need to add all the interest together or
ex:
day[1] =571;
day[2]=579;
ect.....
for(int i = 0; i<day.size();i++){total=total+day[i];}
AverageDailyBalance =...
-
July 14th, 2011, 04:18 PM
While I have so many peoples attention can I ask what would benefit me the most to study? My main concentration is going to be Java in my associates degree then it moves to c++ introduction at the...
-
July 14th, 2011, 04:00 PM
lol!!!
I am happy today and thinking positive :)
Helps ease the pain!!!
I know that is a lame way to recreate the days in a particular month and I need to write a function to correct it, but on...
-
July 14th, 2011, 03:50 PM
I will work on changing over the code tonight. I can see there needs to be exception handling going on just in case the user tries to enter cents(157.03). I know I also need to add exception handlers...
-
July 14th, 2011, 03:44 PM
I am entering 5000 for the bill, 18 for the interest and minimum payment for the selection. This is the example in my Personal Finance class.
-
July 14th, 2011, 03:42 PM
I understand what you are saying just how do you implement it? Better than wasting your time, can you give me a link that explains this? I am fairly new so I need a basic explanation.
-
July 14th, 2011, 03:39 PM
To recreate it put
Payment=Total*MinInterest;
at the end of the loop in calculate.
The reason for this is to reset the minimum payment for each month. If you also add
cout<<Payment<<"...
-
July 14th, 2011, 03:24 PM
Does this fix it?
#include <cstdlib>
#include <iostream>
#include "math.h"
#define year 12
#define MinInterest .03
#define DaysInCycle 30
-
July 14th, 2011, 03:23 PM
Interesting,
If you do not mind give me an example of using integer math. I may be misunderstanding you but how do I get cents with an integer( I am such a noob).
-
July 14th, 2011, 03:10 PM
I am not getting any warnings?
TotalPaid is initialized at the beginning of calculate() What line is showing the error?
-
July 14th, 2011, 02:57 PM
BTW-Let me know what looks wrong in my programming grammar. Is my code formatted OK? What should I be working on?
I am currently working on Algorithms and data logic when I have time.
-
July 14th, 2011, 02:54 PM
The compound interest is not there is why it will come out as 5100$ Just go to the main loop in Calculate and add
Payment=Total*MinInterest;
I added
cout<<Payment<<" "<<month<<endl;
-
July 14th, 2011, 02:47 PM
ooops :)
I had made a change while testing. It is fixed now. Thanks for the quick response!
|
Click Here to Expand Forum to Full Width
|