CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: RememberToBreathe

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Thread: Help

    by RememberToBreathe
    Replies
    5
    Views
    14,037

    Re: Help

    I fixed that problem thanks for all the help
  2. Thread: Help

    by RememberToBreathe
    Replies
    5
    Views
    14,037

    Re: Help

    I entered that as futurevalue (present, power, months) I end up with the value being returned to me. If I put in 100 I get 100 back.
  3. Thread: Help

    by RememberToBreathe
    Replies
    5
    Views
    14,037

    Re: Help

    How exactly is that accomplished. If I put futureValue = ((presentValue * pow(power, months)))

    I'll get an error saying presentValue isn't declared which would mean I have the program structured...
  4. Thread: Help

    by RememberToBreathe
    Replies
    5
    Views
    14,037

    Help

    Getting this program to run I get the value of 1 returned no matter what I input


    #include <iostream>
    #include <iomanip>
    #include <cmath>
    #include <cstdlib>

    using namespace std;
  5. Replies
    13
    Views
    1,693

    Re: Need some help with some code

    Alright here I have it. I'll now take this simple structure and make it a bit more elaborate and work on my indentation. If nothing else with a couple of added features this will get me a passing...
  6. Replies
    13
    Views
    1,693

    Re: Need some help with some code

    5,5,5 gives me 33,380 or something like that the formula it tells me to use in the book is F = P x (1 +I)^t do you know how to express it as a percentage brb
  7. Replies
    13
    Views
    1,693

    Re: Need some help with some code

    Getting some crazy values on my numbers now?


    #include <cstdlib>
    #include <iostream>
    #include <cmath>
    #include <iomanip>
    using namespace std;

    int main()
  8. Replies
    13
    Views
    1,693

    Re: Need some help with some code

    I simplified it still need ; before ) token can't figure that out


    #include <cstdlib>
    #include <iostream>
    #include <cmath>
    #include <iomanip>
    using namespace std;

    int main()
  9. Replies
    13
    Views
    1,693

    Re: Need some help with some code

    Is it still not easy to read to you? taking that out gives me a futurevalue does not name a type error - I'ma about to scrap the whole lot of it.
  10. Replies
    13
    Views
    1,693

    Re: Need some help with some code

    Took it out. Still getting the other errors towards the end. I'll find out why I put that in there when I get the application to run.
  11. Replies
    13
    Views
    1,693

    Re: Need some help with some code

    Still have some errors: invalid pure specifier (only '= 0' is allowed) before ';' token; function 'double futureValue(double, double, double)' is initialized like a variable; expected declaration...
  12. Replies
    13
    Views
    1,693

    Need some help with some code

    Need help with my code. Keep getting these errors when I compile the code: a function-definition is not allowed here before '{' token for double futurevalue and futurevalue
    ; expected declaration...
  13. Replies
    4
    Views
    1,109

    Re: Continuation of Sum Program

    Thank you and my teacher made no mention of whether I should or not.
  14. Replies
    4
    Views
    1,109

    Continuation of Sum Program

    Need some help on this: srand coming up not declared, rand is not declared and system is not declared.



    #include<iostream>
    #include<iomanip>
    #include<ctime>

    using namespace std;
  15. Re: Not getting the sum or a program correct

    Thanks thought that might be it - hadn't checked yet - I'm learning and I'm kind of proud of my progress wrote two of the programs free of any compiling errors first try this wasn't one of course.
    ...
  16. Re: Not getting the sum or a program correct

    I always get 4284318
  17. Not getting the sum or a program correct

    I've asked a question before on here and I thought I had learned a fair amount of info since the last time I asked a question but I can't get the sum of two randomly generated numbers - I don't...
  18. Replies
    12
    Views
    1,888

    Re: Help With This Program

    It compiled now all I have to do is add some spaces and such I'll fix that when I come back - I wouldn't have figured that out probably - thanks.
  19. Replies
    12
    Views
    1,888

    Re: Help With This Program

    Added same error produced
  20. Replies
    12
    Views
    1,888

    Re: Help With This Program

    // An Individual's Info
    #include <iostream>

    using namespace std;

    int main()
    {
    string name = "Lucas Williams";
    string address = "4100 Colonial Ave.";
    string city = "Rockport";
  21. Replies
    12
    Views
    1,888

    Re: Help With This Program

    I fixed that problem now I get the error:

    In function 'int main()'::

    5 expected primary-expression before '<<' token
    5 expected primary-expression before '<<' token

    which refers to where...
  22. Replies
    12
    Views
    1,888

    Re: Help With This Program

    From what I gather the primary expression should be a semi-colon but that only gives me a different error
  23. Replies
    12
    Views
    1,888

    Re: Help With This Program

    Still leaves me with an error on line 5 and 6 and this as well:

    In function 'int main()'::
  24. Replies
    12
    Views
    1,888

    Re: Help With This Program

    Going out to volunteer for a couple of hours will be back have to 11:59 to figure this out - tried using the internet only to fix one thing for another error to spring up - I know the errors are...
  25. Replies
    12
    Views
    1,888

    Help With This Program

    I'm really new to this any help you could give would be greatly appreciated it

    // An Individual's Info
    #include <iostream>

    using namespace std;

    int main()
    {
    string name = "Lucas...
Results 1 to 25 of 27
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured