Click here to Skip to main content
15,880,469 members
Articles / Desktop Programming / MFC

2-3 tree implementation in C++

Rate me:
Please Sign up or sign in to vote.
4.85/5 (13 votes)
1 Oct 2013CPOL6 min read 81.7K   5.5K   34  
2-3 tree implementation in c++
#include "stdafx.h"
#include "Movie.h"
#include <iostream>

CMovie::CMovie(void)
{
   m_sTitle[0] = '\0';
   m_iReleaseYear = 0;
}

CMovie::CMovie(char *sTitle)
{
    strcpy_s(m_sTitle,sTitle);
    m_iReleaseYear = 0;
}

CMovie::CMovie(char *sTitle, int iReleaseYear)
{
    strcpy_s(m_sTitle,sTitle);
	m_iReleaseYear = iReleaseYear;
}

CMovie::~CMovie(void)
{
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Netherlands Netherlands
Mohamed Kalmoua is a Microsoft Certified Solutions Developer (MCSD) with over a decade of programming experience. He creates software for the Windows platform using C#, WPF, ASP.NET Core, SQL and C++. Mohamed also loves to build websites using Wordpress and Google analytics.

Comments and Discussions