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

Search:

Type: Posts; User: JimJohnson12345

Search: Search took 0.02 seconds.

  1. destructor. friend, and copy constructor

    I am working on a program and need to make a friend, deconstructor, and copy constructor.....


    I was given this formula for the destructor and completely confused...

    cout << value1 << value2
    ...
  2. Replies
    12
    Views
    1,571

    Re: C++ test program

    while not relating to this program if anyone knows a good rule of thumb to follow when I should and should not use the class...also this is not that big of a deal but I am just wanting to make sure...
  3. Replies
    12
    Views
    1,571

    Re: C++ test program

    This compiled successfully but I am not able to see if it linked correctly...can someone with visual studio test this out for me and see if it came back successful or not...



    #include<iostream>...
  4. Replies
    12
    Views
    1,571

    Re: C++ test program

    I am kind of new to these member functions and was wondering (this does not have to be from my program) if someone could give me an example of what I am supposed to do
  5. Replies
    12
    Views
    1,571

    Re: C++ test program

    I found a test compiler and these are the errors I get...

    "ComeauTest.c", line 56: error: identifier "Add" is undefined
    Add(num1, num2);
    ^

    "ComeauTest.c", line 57: error: identifier...
  6. Replies
    12
    Views
    1,571

    Re: C++ test program

    //Assignment: In class assignment

    this is just a comment
  7. Replies
    12
    Views
    1,571

    Re: C++ test program

    how does this look




    //Programmed by: Jim Johnson
    //Date: 3-23-2009
    //Assignment: In class assignment

    #include<iostream>
  8. Replies
    12
    Views
    1,571

    C++ test program

    I am at work and did this program on notepad and not sure if this is correct or not. Can someone that has the visual studio compiler test this and let me know if it works. If it does no could you...
  9. Replies
    2
    Views
    3,583

    Re: zip code program

    Made a few changes and still not returning and values.....




    #include <iostream>
    #include <string>

    using namespace std;
  10. Replies
    2
    Views
    3,583

    zip code program

    I am testing a program that I am trying to run and having some difficulties with it. If you run this program I am able to compille it fine but will not return anything and stalls on me...Here are...
  11. Replies
    6
    Views
    866

    Re: c++ II program

    I think I made some positive changes. For one I changed the string of the arithmetic to a number instead. I think this will be easier to follow. I also had a question with getting the rest of this...
  12. Replies
    6
    Views
    866

    Re: c++ II program

    I am getting these errors all with the same function...i think I have it right but obviously something is wrong...Ill give the errors I am getting as well...

    Error 1 error C2473: 'operation' :...
  13. Replies
    6
    Views
    866

    c++ II program

    Ok I am having an issue with a program. I am in C++ II but my issue is I have not taken C++ I in over a year so I am at a disadvantage...we are working on a program and this is the information we...
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured