Search:

Type: Posts; User: Rex Imperator

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    546

    Nested Classes and Structs

    Hello, I'm working on a project involving nested classes and structs like this:


    class A
    {
    public:
    class B
    {
    public:
  2. Replies
    24
    Views
    2,757

    Linked List Class Implementation

    Hello, I was wondering if I could get any suggestions to improve the code below. The assignment is to create a circular doubly-linked list with a dummy node. We had to create the constructor, copy...
  3. Thank you. =]. I fixed the swap function on my...

    Thank you. =]. I fixed the swap function on my main project as well as the other suggested fixes.
  4. Thanks for all the help everyone. I got it to...

    Thanks for all the help everyone. I got it to work on my actual project,which is a bit different than the example I posted here). These are the basic changes I made. Hopefully, I didn't forget...
  5. Copy Constructors/Destructors, Dynamic Arrays, & Assignment

    Hello, I'm trying to create a copy constructor, destructor, and a swap function for a class that creates a dynamic array like:


    class A
    {
    public:
    A(....)
    {

    dArray = new int [size];
  6. Ah, it worked! Thank you both, =]! I think I...

    Ah, it worked! Thank you both, =]!

    I think I need to study up on pointers. Lol.
  7. Help On Objects, Classes, and separate Compilation.

    I'm hoping someone here can help me with this situation:



    class A
    {
    public:
    A(int a, int b);

    };
Results 1 to 7 of 7