Hello, I'm working on a project involving nested classes and structs like this:
class A
{
public:
class B
{
public:
Type: Posts; User: Rex Imperator
Hello, I'm working on a project involving nested classes and structs like this:
class A
{
public:
class B
{
public:
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...
Thank you. =]. I fixed the swap function on my main project as well as the other suggested fixes.
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...
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];
Ah, it worked! Thank you both, =]!
I think I need to study up on pointers. Lol.
I'm hoping someone here can help me with this situation:
class A
{
public:
A(int a, int b);
};