Search:

Type: Posts; User: rrum

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,134

    Hold on, I may have it.

    Hold on, I may have it.
  2. Replies
    7
    Views
    2,134

    I dont think anything is supposed to be passed to...

    I dont think anything is supposed to be passed to initialize actually. Does anyone know how I can access the data members without passing Fin in the initialize function?
  3. Replies
    7
    Views
    2,134

    Hmm, when I change void initialize() in the Fin...

    Hmm, when I change void initialize() in the Fin class to void initialize(const Fin&) it seems to take care of the error, but then creates a few more....



    Compiling...
    HW14.cpp
    c:\Documents...
  4. Replies
    7
    Views
    2,134

    I'm not sure I understand. I pass Fin& F to...

    I'm not sure I understand. I pass Fin& F to initialize, and use F.GridArray... and such. What exactly do I have to change?
  5. Replies
    7
    Views
    2,134

    One error left! Plz help, me=noob

    I don't get how to rid my program of this error:


    c:\Documents and Settings\Kevin\My Documents\Visual Studio Projects\HW14\HW14.h(88) : error C2511: 'void Fin::initialize(const Fin &)' :...
  6. Nevermind, I got it. Thanks for the tip earlier,...

    Nevermind, I got it. Thanks for the tip earlier, Daved.
  7. I'm getting these errors: c:\Documents and...

    I'm getting these errors:



    c:\Documents and Settings\Kevin\My Documents\Visual Studio Projects\HW12\hw12.h(26) : warning C4520: 'Matrix' : multiple default constructors specified
    c:\Documents...
  8. I've seprated the int main into it's own cpp...

    I've seprated the int main into it's own cpp file, and it look just like my first post. Now this is what I have for my header file:



    #include <string>
    using namespace std;

    const int...
  9. Here's something I can modify and use: ...

    Here's something I can modify and use:



    #include <iostream>
    #include <fstream>
    #include <iomanip>
    #include <string>
    using namespace std;
  10. Raising a matrix to a power using arrays and member function operator ^

    As the topic says, I need to write a program that raises a matrix to a user selected power. And do it by using a class Matrix and defining a function operator (^). Here's what I have so far to...
  11. DONE AND DONE! THANK GOD. And by God I mean you...

    DONE AND DONE! THANK GOD. And by God I mean you ;)

    Stayed up all night, and now I gotta statics test tonight to study for! Yay!
  12. Ok, here's what I have now: #include...

    Ok, here's what I have now:


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

    class Fraction
    {
  13. aha: #include #include ...

    aha:


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

    class Fraction
    {
    public:
  14. In my istream operator I get "binary 'operator...

    In my istream operator I get "binary 'operator >>' has too many parameters" And then I get an error where I try to cin fract_1 and 2 in the main: "binary '>>' : no operator found which takes a...
  15. Reduce Fractions Program (identifier not found)

    Part of our assignment is to reduce two user inputted fractions so they are in their simplest form. The error messages I get mostly have to do with my "num" and "denom" for numerator and denomenator...
Results 1 to 15 of 15