diff --git a/LinkedList/LinkedList.cpp b/LinkedList/LinkedList.cpp
deleted file mode 100644
index 69753aa..0000000
--- a/LinkedList/LinkedList.cpp
+++ /dev/null
@@ -1,86 +0,0 @@
-// LinkedList.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-
-struct Node
-{
- int iData;
- struct Node *pNext;
- Node()
- {
- iData= 0;
- pNext = NULL;
- }
-};
-
-static Node* pHead= NULL;
-
-bool AddNode(Node** pHead,int iData)
-{
- Node *pNode = new Node;
- pNode->iData = iData;
-
- if(pHead && *pHead == NULL)
- {
- *pHead = pNode;
- return true;
- }
- else if (pHead)
- {
- Node *pTempNode = *pHead;
- while(pTempNode && pTempNode->pNext)
- {
- pTempNode = pTempNode->pNext;
- }
-
- pTempNode->pNext = pNode;
- return true;
- }
- else
- {
- //assert(false);
- }
- return false;
-}
-void DisplayList(Node* pHead)
-{
- printf("\nList : ");
- while(pHead)
- {
- printf(" %2d -> ",pHead->iData);
- pHead = pHead->pNext;
- }
- if(!pHead)
- printf("NULL");
-}
-
-Node *ReverseList(Node* pHead)
-{
- Node *pNode = pHead;
- Node *pPrev = NULL;
-
- while(pNode)
- {
- Node *pTemp = pNode->pNext;
- pNode->pNext = pPrev;
- pPrev = pNode;
- pNode = pTemp;
- }
- return pPrev;
-}
-
-int _tmain(int argc, _TCHAR* argv[])
-{
- AddNode(&pHead, 10);
- AddNode(&pHead, 20);
- AddNode(&pHead, 30);
- AddNode(&pHead, 40);
- AddNode(&pHead, 50);
-
- DisplayList(pHead);
-
- DisplayList(ReverseList(pHead));
- return 0;
-}
-
diff --git a/LinkedList/LinkedList.vcproj b/LinkedList/LinkedList.vcproj
deleted file mode 100644
index e9244b5..0000000
--- a/LinkedList/LinkedList.vcproj
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/LinkedList/stdafx.cpp b/LinkedList/stdafx.cpp
deleted file mode 100644
index 906bf63..0000000
--- a/LinkedList/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// LinkedList.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/LinkedList/stdafx.h b/LinkedList/stdafx.h
deleted file mode 100644
index 47a0d02..0000000
--- a/LinkedList/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-
-
-
-// TODO: reference additional headers your program requires here
diff --git a/LinkedList/targetver.h b/LinkedList/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/LinkedList/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest.sln b/MultiThreading/EventAndThreadTest/ThreadTest.sln
deleted file mode 100644
index 54fdfce..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ThreadTest", "ThreadTest\ThreadTest.vcproj", "{ED5BB36F-61FB-4269-81AC-F4F36FA34C91}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ED5BB36F-61FB-4269-81AC-F4F36FA34C91}.Debug|Win32.ActiveCfg = Debug|Win32
- {ED5BB36F-61FB-4269-81AC-F4F36FA34C91}.Debug|Win32.Build.0 = Debug|Win32
- {ED5BB36F-61FB-4269-81AC-F4F36FA34C91}.Release|Win32.ActiveCfg = Release|Win32
- {ED5BB36F-61FB-4269-81AC-F4F36FA34C91}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/ReadMe.txt b/MultiThreading/EventAndThreadTest/ThreadTest/ReadMe.txt
deleted file mode 100644
index 28b2146..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/ReadMe.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-========================================================================
- CONSOLE APPLICATION : ThreadTest Project Overview
-========================================================================
-
-AppWizard has created this ThreadTest application for you.
-
-This file contains a summary of what you will find in each of the files that
-make up your ThreadTest application.
-
-
-ThreadTest.vcproj
- This is the main project file for VC++ projects generated using an Application Wizard.
- It contains information about the version of Visual C++ that generated the file, and
- information about the platforms, configurations, and project features selected with the
- Application Wizard.
-
-ThreadTest.cpp
- This is the main application source file.
-
-/////////////////////////////////////////////////////////////////////////////
-Other standard files:
-
-StdAfx.h, StdAfx.cpp
- These files are used to build a precompiled header (PCH) file
- named ThreadTest.pch and a precompiled types file named StdAfx.obj.
-
-/////////////////////////////////////////////////////////////////////////////
-Other notes:
-
-AppWizard uses "TODO:" comments to indicate parts of the source code you
-should add to or customize.
-
-/////////////////////////////////////////////////////////////////////////////
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/ThreadTest.cpp b/MultiThreading/EventAndThreadTest/ThreadTest/ThreadTest.cpp
deleted file mode 100644
index 861a2f1..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/ThreadTest.cpp
+++ /dev/null
@@ -1,72 +0,0 @@
-// ThreadTest.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-#include "WaitThread.h"
-
-extern HANDLE hGlobalEvent;
-
-const int iThreadCount = 1000;
-
-void TestEventPerThread()
-{
- int iSleepTime = 100;
- int iIterations = 10;
-
- CWaitThread objThread[iThreadCount];
-
- for(int iCounter=0;iCounter < iThreadCount;iCounter++)
- {
- objThread[iCounter].m_hThread = CreateThread(NULL,0,CWaitThread::ThreadFunc,&objThread[iCounter],0,&objThread[iCounter].m_dwThreadID);
- }
-
- while (iIterations>0)
- {
- for(int iCounter=0;iCounter < iThreadCount;iCounter++)
- {
- SetEvent(objThread[iCounter].m_hEvent);
- }
- iIterations--;
- Sleep(iSleepTime);
- }
-
- Sleep(5000); //Give chance to Threads
-
- for(int iCounter=0;iCounter < iThreadCount;iCounter++)
- {
- printf("\nThread %2d : Event Triggered %2d times",iCounter,objThread[iCounter].m_lEventCount);
- }
-}
-
-void TestOneEventForMultipleThreads()
-{
- CWaitThread objThread[iThreadCount];
-
- for(int iCounter=0;iCounter < iThreadCount;iCounter++)
- {
- objThread[iCounter].m_hThread = CreateThread(NULL,0,CWaitThread::SingleEventThreadFunc,&objThread[iCounter],0,&objThread[iCounter].m_dwThreadID);
- }
-
- SetEvent(hGlobalEvent);
-
- Sleep(3000); //Give chance to Threads
-
- for(int iCounter=0;iCounter < iThreadCount;iCounter++)
- {
- printf("\nThread %2d : Event Triggered %2d times",iCounter,objThread[iCounter].m_lEventCount);
- }
-
-}
-
-int _tmain(int argc, _TCHAR* argv[])
-{
-
- TestEventPerThread();
-
- //TestOneEventForMultipleThreads();
-
-
- return 0;
-
-}
-
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/ThreadTest.vcproj b/MultiThreading/EventAndThreadTest/ThreadTest/ThreadTest.vcproj
deleted file mode 100644
index 8ca0835..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/ThreadTest.vcproj
+++ /dev/null
@@ -1,233 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/WaitThread.cpp b/MultiThreading/EventAndThreadTest/ThreadTest/WaitThread.cpp
deleted file mode 100644
index 1c485a7..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/WaitThread.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-#include "StdAfx.h"
-#include "WaitThread.h"
-
-volatile long lSwitchCounter =0;
-HANDLE hGlobalEvent = CreateEvent(NULL,TRUE,FALSE,NULL);
-
-CWaitThread::CWaitThread(void)
-{
- m_hEvent = CreateEvent(NULL,FALSE,FALSE,NULL);
- m_lEventCount =0;
- m_hThread = NULL;
- m_dwThreadID= 0;
-}
-
-CWaitThread::~CWaitThread(void)
-{
- CloseHandle(m_hEvent);
-}
-
-DWORD WINAPI CWaitThread::ThreadFunc(LPVOID pParam)
-{
- CWaitThread *pThis = (CWaitThread *)pParam;
-
- while(!WaitForSingleObject(pThis->m_hEvent,INFINITE))
- {
- pThis->m_lEventCount ++;
- //break;
- }
-
- return 1;
-}
-
-
-DWORD WINAPI CWaitThread::SingleEventThreadFunc(LPVOID pParam)
-{
- CWaitThread *pThis = (CWaitThread *)pParam;
-
- while(!WaitForSingleObject(hGlobalEvent,INFINITE))
- {
- ++lSwitchCounter;
-
-//nothing should happen if Event reseted multiple times ..same as SetEvent set only once ..right ?
- //if(!lSwitchCounter++)
- ResetEvent(hGlobalEvent);
-
-
- pThis->m_lEventCount ++;
- printf("lSwitchCounter = %ld",lSwitchCounter);
- //break;
- }
- //printf(" lSwitchCounter = %ld",lSwitchCounter);
-
- return 1;
-}
\ No newline at end of file
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/WaitThread.h b/MultiThreading/EventAndThreadTest/ThreadTest/WaitThread.h
deleted file mode 100644
index b29d473..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/WaitThread.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-
-class CWaitThread
-{
-public:
- CWaitThread(void);
- ~CWaitThread(void);
-
- static DWORD WINAPI ThreadFunc(LPVOID pParam);
- static DWORD WINAPI SingleEventThreadFunc(LPVOID pParam);
-
-public:
- HANDLE m_hEvent;
- HANDLE m_hThread;
- DWORD m_dwThreadID;
- LONG m_lEventCount;
-};
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/stdafx.cpp b/MultiThreading/EventAndThreadTest/ThreadTest/stdafx.cpp
deleted file mode 100644
index 02c391d..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/stdafx.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// ThreadTest.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/stdafx.h b/MultiThreading/EventAndThreadTest/ThreadTest/stdafx.h
deleted file mode 100644
index 9b36b39..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-#include "windows.h"
-
-
-// TODO: reference additional headers your program requires here
diff --git a/MultiThreading/EventAndThreadTest/ThreadTest/targetver.h b/MultiThreading/EventAndThreadTest/ThreadTest/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/MultiThreading/EventAndThreadTest/ThreadTest/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/MultiThreading/mutex&semaphore/Debug/mutex.exe b/MultiThreading/mutex&semaphore/Debug/mutex.exe
deleted file mode 100644
index 612604f..0000000
Binary files a/MultiThreading/mutex&semaphore/Debug/mutex.exe and /dev/null differ
diff --git a/MultiThreading/mutex&semaphore/Debug/mutex.ilk b/MultiThreading/mutex&semaphore/Debug/mutex.ilk
deleted file mode 100644
index 7ad5f2c..0000000
Binary files a/MultiThreading/mutex&semaphore/Debug/mutex.ilk and /dev/null differ
diff --git a/MultiThreading/mutex&semaphore/Debug/mutex.pdb b/MultiThreading/mutex&semaphore/Debug/mutex.pdb
deleted file mode 100644
index 2d6d1dd..0000000
Binary files a/MultiThreading/mutex&semaphore/Debug/mutex.pdb and /dev/null differ
diff --git a/MultiThreading/mutex&semaphore/mutex.sln b/MultiThreading/mutex&semaphore/mutex.sln
deleted file mode 100644
index 14193c2..0000000
--- a/MultiThreading/mutex&semaphore/mutex.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mutex", "mutex\mutex.vcproj", "{C40E9360-5BE7-4F6C-B4B9-17930680391D}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C40E9360-5BE7-4F6C-B4B9-17930680391D}.Debug|Win32.ActiveCfg = Debug|Win32
- {C40E9360-5BE7-4F6C-B4B9-17930680391D}.Debug|Win32.Build.0 = Debug|Win32
- {C40E9360-5BE7-4F6C-B4B9-17930680391D}.Release|Win32.ActiveCfg = Release|Win32
- {C40E9360-5BE7-4F6C-B4B9-17930680391D}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/MultiThreading/mutex&semaphore/mutex.suo b/MultiThreading/mutex&semaphore/mutex.suo
deleted file mode 100644
index 259c291..0000000
Binary files a/MultiThreading/mutex&semaphore/mutex.suo and /dev/null differ
diff --git a/MultiThreading/mutex&semaphore/mutex/ReadMe.txt b/MultiThreading/mutex&semaphore/mutex/ReadMe.txt
deleted file mode 100644
index 4b89a0a..0000000
--- a/MultiThreading/mutex&semaphore/mutex/ReadMe.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-========================================================================
- CONSOLE APPLICATION : mutex Project Overview
-========================================================================
-
-AppWizard has created this mutex application for you.
-
-This file contains a summary of what you will find in each of the files that
-make up your mutex application.
-
-
-mutex.vcproj
- This is the main project file for VC++ projects generated using an Application Wizard.
- It contains information about the version of Visual C++ that generated the file, and
- information about the platforms, configurations, and project features selected with the
- Application Wizard.
-
-mutex.cpp
- This is the main application source file.
-
-/////////////////////////////////////////////////////////////////////////////
-Other standard files:
-
-StdAfx.h, StdAfx.cpp
- These files are used to build a precompiled header (PCH) file
- named mutex.pch and a precompiled types file named StdAfx.obj.
-
-/////////////////////////////////////////////////////////////////////////////
-Other notes:
-
-AppWizard uses "TODO:" comments to indicate parts of the source code you
-should add to or customize.
-
-/////////////////////////////////////////////////////////////////////////////
diff --git a/MultiThreading/mutex&semaphore/mutex/mutex.cpp b/MultiThreading/mutex&semaphore/mutex/mutex.cpp
deleted file mode 100644
index 65f657c..0000000
--- a/MultiThreading/mutex&semaphore/mutex/mutex.cpp
+++ /dev/null
@@ -1,180 +0,0 @@
-// mutex.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-#include
-#include
-
-using namespace std;
-
-class thread
-{
-private:
- HANDLE m_hThread;
- DWORD m_dwThreadId;
-public:
- virtual int run() = 0;
-
- int start()
- {
- m_hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)ThreadFunction, this, 0, &m_dwThreadId);
- return 1;
- }
-
- static int ThreadFunction(void* pArg)
- {
- thread* pThread = (thread*)pArg;
-
- if(!pThread->run())
- {
- return 0;
- }
-
- return 1;
- }
-};
-
-
-HANDLE g_synMutex;
-
-HANDLE g_synSemA;
-HANDLE g_synSemB;
-HANDLE g_synSemC;
-
-
-class PrintA : public thread
-{
-public:
- int run()
- {
-
- while(1)
- {
- //DWORD lData = WaitForSingleObject(g_mutexA, INFINITE);
- DWORD lData = WaitForSingleObject(g_synSemA, INFINITE);
-
- //long nRet = ReleaseMutex(g_mutexA);
- cout<<"A"< 4)
- {
- cout<<"In else : "<>nRet;
- return 0;
-}
-
diff --git a/MultiThreading/mutex&semaphore/mutex/mutex.vcproj b/MultiThreading/mutex&semaphore/mutex/mutex.vcproj
deleted file mode 100644
index 96bbf01..0000000
--- a/MultiThreading/mutex&semaphore/mutex/mutex.vcproj
+++ /dev/null
@@ -1,209 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MultiThreading/mutex&semaphore/mutex/mutex.vcproj.AMIT-PC.Tu.user b/MultiThreading/mutex&semaphore/mutex/mutex.vcproj.AMIT-PC.Tu.user
deleted file mode 100644
index 33a22d7..0000000
--- a/MultiThreading/mutex&semaphore/mutex/mutex.vcproj.AMIT-PC.Tu.user
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MultiThreading/mutex&semaphore/mutex/stdafx.cpp b/MultiThreading/mutex&semaphore/mutex/stdafx.cpp
deleted file mode 100644
index f0055b2..0000000
--- a/MultiThreading/mutex&semaphore/mutex/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// mutex.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/MultiThreading/mutex&semaphore/mutex/stdafx.h b/MultiThreading/mutex&semaphore/mutex/stdafx.h
deleted file mode 100644
index 47a0d02..0000000
--- a/MultiThreading/mutex&semaphore/mutex/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-
-
-
-// TODO: reference additional headers your program requires here
diff --git a/MultiThreading/mutex&semaphore/mutex/targetver.h b/MultiThreading/mutex&semaphore/mutex/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/MultiThreading/mutex&semaphore/mutex/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/ProjectHome.md b/ProjectHome.md
new file mode 100644
index 0000000..f252b60
--- /dev/null
+++ b/ProjectHome.md
@@ -0,0 +1 @@
+Test programs
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index a99f021..0000000
--- a/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# cpp-concepts
-personal repo for testing cpp concepts
diff --git a/Test-MFC/DialogBox/DialogBox.cpp b/Test-MFC/DialogBox/DialogBox.cpp
deleted file mode 100644
index 15e543e..0000000
--- a/Test-MFC/DialogBox/DialogBox.cpp
+++ /dev/null
@@ -1,132 +0,0 @@
-
-// DialogBox.cpp : Defines the class behaviors for the application.
-//
-
-#include "stdafx.h"
-#include "afxwinappex.h"
-#include "DialogBox.h"
-#include "MainFrm.h"
-
-#include "DialogBoxDoc.h"
-#include "DialogBoxView.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-
-// CDialogBoxApp
-
-BEGIN_MESSAGE_MAP(CDialogBoxApp, CWinApp)
- ON_COMMAND(ID_APP_ABOUT, &CDialogBoxApp::OnAppAbout)
- // Standard file based document commands
- ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew)
- ON_COMMAND(ID_FILE_OPEN, &CWinApp::OnFileOpen)
- // Standard print setup command
- ON_COMMAND(ID_FILE_PRINT_SETUP, &CWinApp::OnFilePrintSetup)
-END_MESSAGE_MAP()
-
-
-// CDialogBoxApp construction
-
-CDialogBoxApp::CDialogBoxApp()
-{
-
- // TODO: add construction code here,
- // Place all significant initialization in InitInstance
-}
-
-// The one and only CDialogBoxApp object
-
-CDialogBoxApp theApp;
-
-
-// CDialogBoxApp initialization
-
-BOOL CDialogBoxApp::InitInstance()
-{
- // InitCommonControlsEx() is required on Windows XP if an application
- // manifest specifies use of ComCtl32.dll version 6 or later to enable
- // visual styles. Otherwise, any window creation will fail.
- INITCOMMONCONTROLSEX InitCtrls;
- InitCtrls.dwSize = sizeof(InitCtrls);
- // Set this to include all the common control classes you want to use
- // in your application.
- InitCtrls.dwICC = ICC_WIN95_CLASSES;
- InitCommonControlsEx(&InitCtrls);
-
- CWinApp::InitInstance();
-
- // Initialize OLE libraries
- if (!AfxOleInit())
- {
- AfxMessageBox(IDP_OLE_INIT_FAILED);
- return FALSE;
- }
- AfxEnableControlContainer();
- // Standard initialization
- // If you are not using these features and wish to reduce the size
- // of your final executable, you should remove from the following
- // the specific initialization routines you do not need
- // Change the registry key under which our settings are stored
- // TODO: You should modify this string to be something appropriate
- // such as the name of your company or organization
- SetRegistryKey(_T("Local AppWizard-Generated Applications"));
- LoadStdProfileSettings(0); // Load standard INI file options (including MRU)
-
- // Register the application's document templates. Document templates
- // serve as the connection between documents, frame windows and views
- CSingleDocTemplate* pDocTemplate;
- pDocTemplate = new CSingleDocTemplate(
- IDR_MAINFRAME,
- RUNTIME_CLASS(CDialogBoxDoc),
- RUNTIME_CLASS(CMainFrame), // main SDI frame window
- RUNTIME_CLASS(CDialogBoxView));
- if (!pDocTemplate)
- return FALSE;
- AddDocTemplate(pDocTemplate);
-
-
-
- // Parse command line for standard shell commands, DDE, file open
- CCommandLineInfo cmdInfo;
- ParseCommandLine(cmdInfo);
-
-
- // Dispatch commands specified on the command line. Will return FALSE if
- // app was launched with /RegServer, /Register, /Unregserver or /Unregister.
- if (!ProcessShellCommand(cmdInfo))
- return FALSE;
-
- // The one and only window has been initialized, so show and update it
- m_pMainWnd->ShowWindow(SW_SHOW);
- m_pMainWnd->UpdateWindow();
- // call DragAcceptFiles only if there's a suffix
- // In an SDI app, this should occur after ProcessShellCommand
- return TRUE;
-}
-
-
-CAboutDlg::CAboutDlg(CWnd *pParent) : CDialog(CAboutDlg::IDD,pParent)
-{
-}
-
-void CAboutDlg::DoDataExchange(CDataExchange* pDX)
-{
- CDialog::DoDataExchange(pDX);
-}
-
-BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
-END_MESSAGE_MAP()
-
-// App command to run the dialog
-void CDialogBoxApp::OnAppAbout()
-{
- CAboutDlg aboutDlg;
- aboutDlg.DoModal();
-}
-
-// CDialogBoxApp message handlers
-
-
-
diff --git a/Test-MFC/DialogBox/DialogBox.h b/Test-MFC/DialogBox/DialogBox.h
deleted file mode 100644
index 08a5913..0000000
--- a/Test-MFC/DialogBox/DialogBox.h
+++ /dev/null
@@ -1,51 +0,0 @@
-
-// DialogBox.h : main header file for the DialogBox application
-//
-#pragma once
-
-#ifndef __AFXWIN_H__
- #error "include 'stdafx.h' before including this file for PCH"
-#endif
-
-#include "resource.h" // main symbols
-
-
-// CDialogBoxApp:
-// See DialogBox.cpp for the implementation of this class
-//
-
-class CDialogBoxApp : public CWinApp
-{
-public:
- CDialogBoxApp();
-
-
-// Overrides
-public:
- virtual BOOL InitInstance();
-
-// Implementation
- afx_msg void OnAppAbout();
- DECLARE_MESSAGE_MAP()
-};
-
-extern CDialogBoxApp theApp;
-
-
-// CAboutDlg dialog used for App About
-
-class CAboutDlg : public CDialog
-{
-public:
- CAboutDlg(CWnd *pParent=NULL);
-
-// Dialog Data
- enum { IDD = IDD_ABOUTBOX };
-
-protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
-
-// Implementation
-protected:
- DECLARE_MESSAGE_MAP()
-};
diff --git a/Test-MFC/DialogBox/DialogBox.rc b/Test-MFC/DialogBox/DialogBox.rc
deleted file mode 100644
index d778546..0000000
--- a/Test-MFC/DialogBox/DialogBox.rc
+++ /dev/null
@@ -1,368 +0,0 @@
-// Microsoft Visual C++ generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#ifndef APSTUDIO_INVOKED
-#include "targetver.h"
-#endif
-#include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#ifndef APSTUDIO_INVOKED\r\n"
- "#include ""targetver.h""\r\n"
- "#endif\r\n"
- "#include ""afxres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "#define _AFX_NO_OLE_RESOURCES\r\n"
- "#define _AFX_NO_TRACKER_RESOURCES\r\n"
- "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
- "\r\n"
- "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
- "LANGUAGE 9, 1\r\n"
- "#pragma code_page(1252)\r\n"
- "#include ""res\\DialogBox.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
- "#include ""afxres.rc"" // Standard components\r\n"
- "#include ""afxprint.rc"" // printing/print preview resources\r\n"
- "#endif\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDR_MAINFRAME ICON "res\\DialogBox.ico"
-IDR_DialogBoxTYPE ICON "res\\DialogBoxDoc.ico"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Menu
-//
-
-IDR_MAINFRAME MENU
-BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&New\tCtrl+N", ID_FILE_NEW
- MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
- MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
- MENUITEM "Save &As...", ID_FILE_SAVE_AS
- MENUITEM SEPARATOR
- MENUITEM "&Print...\tCtrl+P", ID_FILE_PRINT
- MENUITEM "Print Pre&view", ID_FILE_PRINT_PREVIEW
- MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
- MENUITEM SEPARATOR
- MENUITEM "E&xit", ID_APP_EXIT
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
- MENUITEM SEPARATOR
- MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
- MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
- MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
- END
- POPUP "&View"
- BEGIN
- MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&About DialogBox...", ID_APP_ABOUT
- END
- POPUP "Thread"
- BEGIN
- MENUITEM "Start", ID_THREAD_START
- MENUITEM "SendMessage", ID_THREAD_SENDMESSAGE
- MENUITEM "Stop", ID_THREAD_STOP
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Accelerator
-//
-
-IDR_MAINFRAME ACCELERATORS
-BEGIN
- "N", ID_FILE_NEW, VIRTKEY, CONTROL
- "O", ID_FILE_OPEN, VIRTKEY, CONTROL
- "S", ID_FILE_SAVE, VIRTKEY, CONTROL
- "P", ID_FILE_PRINT, VIRTKEY, CONTROL
- "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
- "X", ID_EDIT_CUT, VIRTKEY, CONTROL
- "C", ID_EDIT_COPY, VIRTKEY, CONTROL
- "V", ID_EDIT_PASTE, VIRTKEY, CONTROL
- VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT
- VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT
- VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL
- VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT
- VK_F6, ID_NEXT_PANE, VIRTKEY
- VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
-STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "About DialogBox"
-FONT 8, "MS Shell Dlg", 0, 0, 0x1
-BEGIN
- ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
- LTEXT "DialogBox, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
- LTEXT "Copyright (C) 2013",IDC_STATIC,42,26,114,8
- DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,0,0,1
- PRODUCTVERSION 1,0,0,1
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x4L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904e4"
- BEGIN
- VALUE "CompanyName", "TODO: "
- VALUE "FileDescription", "TODO: "
- VALUE "FileVersion", "1.0.0.1"
- VALUE "InternalName", "DialogBox.exe"
- VALUE "LegalCopyright", "TODO: (c) . All rights reserved."
- VALUE "OriginalFilename", "DialogBox.exe"
- VALUE "ProductName", "TODO: "
- VALUE "ProductVersion", "1.0.0.1"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1252
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
-BEGIN
- IDD_ABOUTBOX, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 163
- TOPMARGIN, 7
- BOTTOMMARGIN, 55
- END
-END
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE
-BEGIN
- IDP_OLE_INIT_FAILED "OLE initialization failed. Make sure that the OLE libraries are the correct version."
-END
-
-STRINGTABLE
-BEGIN
- IDR_MAINFRAME "DialogBox\n\nDialogBox\n\n\nDialogBox.Document\nDialogBox.Document"
-END
-
-STRINGTABLE
-BEGIN
- AFX_IDS_APP_TITLE "DialogBox"
- AFX_IDS_IDLEMESSAGE "Ready"
-END
-
-STRINGTABLE
-BEGIN
- ID_INDICATOR_EXT "EXT"
- ID_INDICATOR_CAPS "CAP"
- ID_INDICATOR_NUM "NUM"
- ID_INDICATOR_SCRL "SCRL"
- ID_INDICATOR_OVR "OVR"
- ID_INDICATOR_REC "REC"
-END
-
-STRINGTABLE
-BEGIN
- ID_FILE_NEW "Create a new document\nNew"
- ID_FILE_OPEN "Open an existing document\nOpen"
- ID_FILE_CLOSE "Close the active document\nClose"
- ID_FILE_SAVE "Save the active document\nSave"
- ID_FILE_SAVE_AS "Save the active document with a new name\nSave As"
- ID_FILE_PAGE_SETUP "Change the printing options\nPage Setup"
- ID_FILE_PRINT_SETUP "Change the printer and printing options\nPrint Setup"
- ID_FILE_PRINT "Print the active document\nPrint"
- ID_FILE_PRINT_DIRECT "Print the active document using current options\nQuick Print"
- ID_FILE_PRINT_PREVIEW "Display full pages\nPrint Preview"
-END
-
-STRINGTABLE
-BEGIN
- ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
- ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
-END
-
-STRINGTABLE
-BEGIN
- ID_FILE_MRU_FILE1 "Open this document"
- ID_FILE_MRU_FILE2 "Open this document"
- ID_FILE_MRU_FILE3 "Open this document"
- ID_FILE_MRU_FILE4 "Open this document"
- ID_FILE_MRU_FILE5 "Open this document"
- ID_FILE_MRU_FILE6 "Open this document"
- ID_FILE_MRU_FILE7 "Open this document"
- ID_FILE_MRU_FILE8 "Open this document"
- ID_FILE_MRU_FILE9 "Open this document"
- ID_FILE_MRU_FILE10 "Open this document"
- ID_FILE_MRU_FILE11 "Open this document"
- ID_FILE_MRU_FILE12 "Open this document"
- ID_FILE_MRU_FILE13 "Open this document"
- ID_FILE_MRU_FILE14 "Open this document"
- ID_FILE_MRU_FILE15 "Open this document"
- ID_FILE_MRU_FILE16 "Open this document"
-END
-
-STRINGTABLE
-BEGIN
- ID_NEXT_PANE "Switch to the next window pane\nNext Pane"
- ID_PREV_PANE "Switch back to the previous window pane\nPrevious Pane"
-END
-
-STRINGTABLE
-BEGIN
- ID_WINDOW_SPLIT "Split the active window into panes\nSplit"
-END
-
-STRINGTABLE
-BEGIN
- ID_EDIT_CLEAR "Erase the selection\nErase"
- ID_EDIT_CLEAR_ALL "Erase everything\nErase All"
- ID_EDIT_COPY "Copy the selection and put it on the Clipboard\nCopy"
- ID_EDIT_CUT "Cut the selection and put it on the Clipboard\nCut"
- ID_EDIT_FIND "Find the specified text\nFind"
- ID_EDIT_PASTE "Insert Clipboard contents\nPaste"
- ID_EDIT_REPEAT "Repeat the last action\nRepeat"
- ID_EDIT_REPLACE "Replace specific text with different text\nReplace"
- ID_EDIT_SELECT_ALL "Select the entire document\nSelect All"
- ID_EDIT_UNDO "Undo the last action\nUndo"
- ID_EDIT_REDO "Redo the previously undone action\nRedo"
-END
-
-STRINGTABLE
-BEGIN
- ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle Status Bar"
-END
-
-STRINGTABLE
-BEGIN
- AFX_IDS_SCSIZE "Change the window size"
- AFX_IDS_SCMOVE "Change the window position"
- AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
- AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
- AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
- AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
- AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
-END
-
-STRINGTABLE
-BEGIN
- AFX_IDS_SCRESTORE "Restore the window to normal size"
- AFX_IDS_SCTASKLIST "Activate Task List"
-END
-
-STRINGTABLE
-BEGIN
- AFX_IDS_PREVIEW_CLOSE "Close print preview mode\nCancel Preview"
-END
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-#define _AFX_NO_OLE_RESOURCES
-#define _AFX_NO_TRACKER_RESOURCES
-#define _AFX_NO_PROPERTY_RESOURCES
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-LANGUAGE 9, 1
-#pragma code_page(1252)
-#include "res\DialogBox.rc2" // non-Microsoft Visual C++ edited resources
-#include "afxres.rc" // Standard components
-#include "afxprint.rc" // printing/print preview resources
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
diff --git a/Test-MFC/DialogBox/DialogBox.vcproj b/Test-MFC/DialogBox/DialogBox.vcproj
deleted file mode 100644
index 8a4b26a..0000000
--- a/Test-MFC/DialogBox/DialogBox.vcproj
+++ /dev/null
@@ -1,300 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Test-MFC/DialogBox/DialogBoxDoc.cpp b/Test-MFC/DialogBox/DialogBoxDoc.cpp
deleted file mode 100644
index abd9cb7..0000000
--- a/Test-MFC/DialogBox/DialogBoxDoc.cpp
+++ /dev/null
@@ -1,79 +0,0 @@
-
-// DialogBoxDoc.cpp : implementation of the CDialogBoxDoc class
-//
-
-#include "stdafx.h"
-#include "DialogBox.h"
-
-#include "DialogBoxDoc.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-
-// CDialogBoxDoc
-
-IMPLEMENT_DYNCREATE(CDialogBoxDoc, CDocument)
-
-BEGIN_MESSAGE_MAP(CDialogBoxDoc, CDocument)
-END_MESSAGE_MAP()
-
-
-// CDialogBoxDoc construction/destruction
-
-CDialogBoxDoc::CDialogBoxDoc()
-{
- // TODO: add one-time construction code here
-
-}
-
-CDialogBoxDoc::~CDialogBoxDoc()
-{
-}
-
-BOOL CDialogBoxDoc::OnNewDocument()
-{
- if (!CDocument::OnNewDocument())
- return FALSE;
-
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
-
- return TRUE;
-}
-
-
-
-
-// CDialogBoxDoc serialization
-
-void CDialogBoxDoc::Serialize(CArchive& ar)
-{
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
-}
-
-
-// CDialogBoxDoc diagnostics
-
-#ifdef _DEBUG
-void CDialogBoxDoc::AssertValid() const
-{
- CDocument::AssertValid();
-}
-
-void CDialogBoxDoc::Dump(CDumpContext& dc) const
-{
- CDocument::Dump(dc);
-}
-#endif //_DEBUG
-
-
-// CDialogBoxDoc commands
diff --git a/Test-MFC/DialogBox/DialogBoxDoc.h b/Test-MFC/DialogBox/DialogBoxDoc.h
deleted file mode 100644
index 2c366d4..0000000
--- a/Test-MFC/DialogBox/DialogBoxDoc.h
+++ /dev/null
@@ -1,41 +0,0 @@
-
-// DialogBoxDoc.h : interface of the CDialogBoxDoc class
-//
-
-
-#pragma once
-
-
-class CDialogBoxDoc : public CDocument
-{
-protected: // create from serialization only
- CDialogBoxDoc();
- DECLARE_DYNCREATE(CDialogBoxDoc)
-
-// Attributes
-public:
-
-// Operations
-public:
-
-// Overrides
-public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
-
-// Implementation
-public:
- virtual ~CDialogBoxDoc();
-#ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-
-// Generated message map functions
-protected:
- DECLARE_MESSAGE_MAP()
-};
-
-
diff --git a/Test-MFC/DialogBox/DialogBoxView.cpp b/Test-MFC/DialogBox/DialogBoxView.cpp
deleted file mode 100644
index 62f17a9..0000000
--- a/Test-MFC/DialogBox/DialogBoxView.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-
-// DialogBoxView.cpp : implementation of the CDialogBoxView class
-//
-
-#include "stdafx.h"
-#include "DialogBox.h"
-
-#include "DialogBoxDoc.h"
-#include "DialogBoxView.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-
-// CDialogBoxView
-
-IMPLEMENT_DYNCREATE(CDialogBoxView, CView)
-
-BEGIN_MESSAGE_MAP(CDialogBoxView, CView)
- // Standard printing commands
- ON_COMMAND(ID_FILE_PRINT, &CView::OnFilePrint)
- ON_COMMAND(ID_FILE_PRINT_DIRECT, &CView::OnFilePrint)
- ON_COMMAND(ID_FILE_PRINT_PREVIEW, &CView::OnFilePrintPreview)
-END_MESSAGE_MAP()
-
-// CDialogBoxView construction/destruction
-
-CDialogBoxView::CDialogBoxView()
-{
- // TODO: add construction code here
-
-}
-
-CDialogBoxView::~CDialogBoxView()
-{
-}
-
-BOOL CDialogBoxView::PreCreateWindow(CREATESTRUCT& cs)
-{
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
-
- return CView::PreCreateWindow(cs);
-}
-
-// CDialogBoxView drawing
-
-void CDialogBoxView::OnDraw(CDC* /*pDC*/)
-{
- CDialogBoxDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
- if (!pDoc)
- return;
-
- // TODO: add draw code for native data here
-}
-
-
-// CDialogBoxView printing
-
-BOOL CDialogBoxView::OnPreparePrinting(CPrintInfo* pInfo)
-{
- // default preparation
- return DoPreparePrinting(pInfo);
-}
-
-void CDialogBoxView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
-{
- // TODO: add extra initialization before printing
-}
-
-void CDialogBoxView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
-{
- // TODO: add cleanup after printing
-}
-
-
-// CDialogBoxView diagnostics
-
-#ifdef _DEBUG
-void CDialogBoxView::AssertValid() const
-{
- CView::AssertValid();
-}
-
-void CDialogBoxView::Dump(CDumpContext& dc) const
-{
- CView::Dump(dc);
-}
-
-CDialogBoxDoc* CDialogBoxView::GetDocument() const // non-debug version is inline
-{
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CDialogBoxDoc)));
- return (CDialogBoxDoc*)m_pDocument;
-}
-#endif //_DEBUG
-
-
-// CDialogBoxView message handlers
diff --git a/Test-MFC/DialogBox/DialogBoxView.h b/Test-MFC/DialogBox/DialogBoxView.h
deleted file mode 100644
index feb4d83..0000000
--- a/Test-MFC/DialogBox/DialogBoxView.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// DialogBoxView.h : interface of the CDialogBoxView class
-//
-
-
-#pragma once
-
-
-class CDialogBoxView : public CView
-{
-protected: // create from serialization only
- CDialogBoxView();
- DECLARE_DYNCREATE(CDialogBoxView)
-
-// Attributes
-public:
- CDialogBoxDoc* GetDocument() const;
-
-// Operations
-public:
-
-// Overrides
-public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
-protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
-
-// Implementation
-public:
- virtual ~CDialogBoxView();
-#ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected:
-
-// Generated message map functions
-protected:
- DECLARE_MESSAGE_MAP()
-};
-
-#ifndef _DEBUG // debug version in DialogBoxView.cpp
-inline CDialogBoxDoc* CDialogBoxView::GetDocument() const
- { return reinterpret_cast(m_pDocument); }
-#endif
-
diff --git a/Test-MFC/DialogBox/MainFrm.cpp b/Test-MFC/DialogBox/MainFrm.cpp
deleted file mode 100644
index c542e76..0000000
--- a/Test-MFC/DialogBox/MainFrm.cpp
+++ /dev/null
@@ -1,140 +0,0 @@
-
-// MainFrm.cpp : implementation of the CMainFrame class
-//
-
-#include "stdafx.h"
-#include "DialogBox.h"
-
-#include "UIThread.h"
-#include "MainFrm.h"
-
-
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#endif
-
-// CMainFrame
-
-IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
-
-BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
- ON_WM_CREATE()
- ON_COMMAND(ID_THREAD_START, &CMainFrame::OnThreadStart)
- ON_COMMAND(ID_THREAD_SENDMESSAGE, &CMainFrame::OnThreadSendmessage)
- ON_COMMAND(ID_THREAD_STOP, &CMainFrame::OnThreadStop)
- ON_UPDATE_COMMAND_UI(ID_THREAD_START, &CMainFrame::OnUpdateThreadStart)
- ON_UPDATE_COMMAND_UI(ID_THREAD_SENDMESSAGE, &CMainFrame::OnUpdateThreadSendmessage)
- ON_UPDATE_COMMAND_UI(ID_THREAD_STOP, &CMainFrame::OnUpdateThreadStop)
-END_MESSAGE_MAP()
-
-static UINT indicators[] =
-{
- ID_SEPARATOR, // status line indicator
- ID_INDICATOR_CAPS,
- ID_INDICATOR_NUM,
- ID_INDICATOR_SCRL,
-};
-
-// CMainFrame construction/destruction
-
-CMainFrame::CMainFrame()
-{
- m_pThread = NULL;
-}
-
-CMainFrame::~CMainFrame()
-{
- if(m_pThread)
- {
- m_pThread->PostThreadMessage(WM_QUIT,0,0);
- delete m_pThread;
- m_pThread = NULL;
- }
-}
-
-int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
-{
- if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
- return -1;
-
- if (!m_wndStatusBar.Create(this))
- {
- TRACE0("Failed to create status bar\n");
- return -1; // fail to create
- }
- m_wndStatusBar.SetIndicators(indicators, sizeof(indicators)/sizeof(UINT));
-
- return 0;
-}
-
-BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
-{
- if( !CFrameWnd::PreCreateWindow(cs) )
- return FALSE;
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
-
- return TRUE;
-}
-
-// CMainFrame diagnostics
-
-#ifdef _DEBUG
-void CMainFrame::AssertValid() const
-{
- CFrameWnd::AssertValid();
-}
-
-void CMainFrame::Dump(CDumpContext& dc) const
-{
- CFrameWnd::Dump(dc);
-}
-#endif //_DEBUG
-
-
-// CMainFrame message handlers
-
-void CMainFrame::OnThreadStart()
-{
- if(!m_pThread)
- {
- m_pThread = new CUIThread();
- m_pThread->CreateThread();
- }
-}
-
-void CMainFrame::OnThreadSendmessage()
-{
- if(m_pThread)
- {
- m_pThread->PostThreadMessage(WM_FIRST_MESSAGE,0,0);
- m_pThread->PostThreadMessage(WM_SECOND_MESSAGE,0,0);
- m_pThread->PostThreadMessage(WM_THIRD_MESSAGE,0,0);
- }
-}
-
-void CMainFrame::OnThreadStop()
-{
- if(m_pThread)
- {
- m_pThread->PostThreadMessage(WM_QUIT,0,0);
- delete m_pThread;
- m_pThread = NULL;
- }
-}
-
-void CMainFrame::OnUpdateThreadStart(CCmdUI *pCmdUI)
-{
- pCmdUI->Enable(!m_pThread);
-}
-
-void CMainFrame::OnUpdateThreadSendmessage(CCmdUI *pCmdUI)
-{
- pCmdUI->Enable(!!m_pThread);
-}
-
-void CMainFrame::OnUpdateThreadStop(CCmdUI *pCmdUI)
-{
- pCmdUI->Enable(!!m_pThread);
-}
diff --git a/Test-MFC/DialogBox/MainFrm.h b/Test-MFC/DialogBox/MainFrm.h
deleted file mode 100644
index 46d2d2f..0000000
--- a/Test-MFC/DialogBox/MainFrm.h
+++ /dev/null
@@ -1,55 +0,0 @@
-
-// MainFrm.h : interface of the CMainFrame class
-//
-
-#pragma once
-//#include "UIThread.h"
-
-class CUIThread;
-
-class CMainFrame : public CFrameWnd
-{
-
-protected: // create from serialization only
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
-
-// Attributes
-public:
-
-// Operations
-public:
-
-// Overrides
-public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
-
-// Implementation
-public:
- virtual ~CMainFrame();
-#ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
-#endif
-
-protected: // control bar embedded members
- CStatusBar m_wndStatusBar;
-
- //CUIThread m_UIThread;
- CUIThread *m_pThread;
-
-// Generated message map functions
-protected:
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- DECLARE_MESSAGE_MAP()
-
-public:
- afx_msg void OnThreadStart();
- afx_msg void OnThreadSendmessage();
- afx_msg void OnThreadStop();
- afx_msg void OnUpdateThreadStart(CCmdUI *pCmdUI);
- afx_msg void OnUpdateThreadSendmessage(CCmdUI *pCmdUI);
- afx_msg void OnUpdateThreadStop(CCmdUI *pCmdUI);
-};
-
-
diff --git a/Test-MFC/DialogBox/ReadMe.txt b/Test-MFC/DialogBox/ReadMe.txt
deleted file mode 100644
index 6ebf21d..0000000
--- a/Test-MFC/DialogBox/ReadMe.txt
+++ /dev/null
@@ -1,112 +0,0 @@
-================================================================================
- MICROSOFT FOUNDATION CLASS LIBRARY : DialogBox Project Overview
-===============================================================================
-
-The application wizard has created this DialogBox application for
-you. This application not only demonstrates the basics of using the Microsoft
-Foundation Classes but is also a starting point for writing your application.
-
-This file contains a summary of what you will find in each of the files that
-make up your DialogBox application.
-
-DialogBox.vcproj
- This is the main project file for VC++ projects generated using an application wizard.
- It contains information about the version of Visual C++ that generated the file, and
- information about the platforms, configurations, and project features selected with the
- application wizard.
-
-DialogBox.h
- This is the main header file for the application. It includes other
- project specific headers (including Resource.h) and declares the
- CDialogBoxApp application class.
-
-DialogBox.cpp
- This is the main application source file that contains the application
- class CDialogBoxApp.
-
-DialogBox.rc
- This is a listing of all of the Microsoft Windows resources that the
- program uses. It includes the icons, bitmaps, and cursors that are stored
- in the RES subdirectory. This file can be directly edited in Microsoft
- Visual C++. Your project resources are in 1033.
-
-res\DialogBox.ico
- This is an icon file, which is used as the application's icon. This
- icon is included by the main resource file DialogBox.rc.
-
-res\DialogBox.rc2
- This file contains resources that are not edited by Microsoft
- Visual C++. You should place all resources not editable by
- the resource editor in this file.
-
-/////////////////////////////////////////////////////////////////////////////
-
-For the main frame window:
- The project includes a standard MFC interface.
-
-MainFrm.h, MainFrm.cpp
- These files contain the frame class CMainFrame, which is derived from
- CFrameWnd and controls all SDI frame features.
-
-/////////////////////////////////////////////////////////////////////////////
-
-The application wizard creates one document type and one view:
-
-DialogBoxDoc.h, DialogBoxDoc.cpp - the document
- These files contain your CDialogBoxDoc class. Edit these files to
- add your special document data and to implement file saving and loading
- (via CDialogBoxDoc::Serialize).
-
-DialogBoxView.h, DialogBoxView.cpp - the view of the document
- These files contain your CDialogBoxView class.
- CDialogBoxView objects are used to view CDialogBoxDoc objects.
-
-
-
-
-
-/////////////////////////////////////////////////////////////////////////////
-
-Other Features:
-
-ActiveX Controls
- The application includes support to use ActiveX controls.
-
-Printing and Print Preview support
- The application wizard has generated code to handle the print, print setup, and print preview
- commands by calling member functions in the CView class from the MFC library.
-
-/////////////////////////////////////////////////////////////////////////////
-
-Other standard files:
-
-StdAfx.h, StdAfx.cpp
- These files are used to build a precompiled header (PCH) file
- named DialogBox.pch and a precompiled types file named StdAfx.obj.
-
-Resource.h
- This is the standard header file, which defines new resource IDs.
- Microsoft Visual C++ reads and updates this file.
-
-DialogBox.manifest
- Application manifest files are used by Windows XP to describe an applications
- dependency on specific versions of Side-by-Side assemblies. The loader uses this
- information to load the appropriate assembly from the assembly cache or private
- from the application. The Application manifest maybe included for redistribution
- as an external .manifest file that is installed in the same folder as the application
- executable or it may be included in the executable in the form of a resource.
-/////////////////////////////////////////////////////////////////////////////
-
-Other notes:
-
-The application wizard uses "TODO:" to indicate parts of the source code you
-should add to or customize.
-
-If your application uses MFC in a shared DLL, you will need
-to redistribute the MFC DLLs. If your application is in a language
-other than the operating system's locale, you will also have to
-redistribute the corresponding localized resources MFC90XXX.DLL.
-For more information on both of these topics, please see the section on
-redistributing Visual C++ applications in MSDN documentation.
-
-/////////////////////////////////////////////////////////////////////////////
diff --git a/Test-MFC/DialogBox/UIThread.cpp b/Test-MFC/DialogBox/UIThread.cpp
deleted file mode 100644
index c4d7f62..0000000
--- a/Test-MFC/DialogBox/UIThread.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-// UIThread.cpp : implementation file
-//
-
-#include "stdafx.h"
-#include "DialogBox.h"
-#include "UIThread.h"
-
-
-
-// CUIThread
-
-IMPLEMENT_DYNCREATE(CUIThread, CWinThread)
-
-CUIThread::CUIThread()
-{
-}
-
-CUIThread::~CUIThread()
-{
-}
-
-BOOL CUIThread::InitInstance()
-{
- // TODO: perform and per-thread initialization here
- return TRUE;
-}
-
-int CUIThread::ExitInstance()
-{
- // TODO: perform any per-thread cleanup here
- return CWinThread::ExitInstance();
-}
-
-BEGIN_MESSAGE_MAP(CUIThread, CWinThread)
- ON_THREAD_MESSAGE(WM_FIRST_MESSAGE, FirstMsgHandler)
- ON_THREAD_MESSAGE(WM_SECOND_MESSAGE, SecondMsgHandler)
- ON_THREAD_MESSAGE(WM_THIRD_MESSAGE, ThirdMsgHandler)
-END_MESSAGE_MAP()
-
-
-// CUIThread message handlers
-
-void CUIThread::FirstMsgHandler(WPARAM wParam , LPARAM lParam)
-{
- CWnd* main_wnd = AfxGetMainWnd();
- HWND hParentWnd = main_wnd?main_wnd->GetSafeHwnd():NULL;
- CAboutDlg aboutDlg(main_wnd);
- aboutDlg.DoModal();
-}
-
-void CUIThread::SecondMsgHandler(WPARAM wParam , LPARAM lParam)
-{
- CAboutDlg aboutDlg;
- aboutDlg.DoModal();
-}
-
-void CUIThread::ThirdMsgHandler(WPARAM wParam , LPARAM lParam)
-{
- CAboutDlg aboutDlg;
- aboutDlg.DoModal();
-}
diff --git a/Test-MFC/DialogBox/UIThread.h b/Test-MFC/DialogBox/UIThread.h
deleted file mode 100644
index 09c3ed8..0000000
--- a/Test-MFC/DialogBox/UIThread.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#pragma once
-
-#define WM_FIRST_MESSAGE WM_USER+1
-#define WM_SECOND_MESSAGE WM_USER+2
-#define WM_THIRD_MESSAGE WM_USER+3
-//const UINT WM_FIRST_MESSAGE = RegisterWindowMessage (_T("WM_FIRST_MESSAGE"));
-//const UINT WM_SECOND_MESSAGE = RegisterWindowMessage (_T("WM_SECOND_MESSAGE"));
-//const UINT WM_THIRD_MESSAGE = RegisterWindowMessage (_T("WM_THIRD_MESSAGE"));
-
-// CUIThread
-
-class CUIThread : public CWinThread
-{
-public:
- DECLARE_DYNCREATE(CUIThread)
-
-//protected:
-public:
- CUIThread(); // protected constructor used by dynamic creation
- virtual ~CUIThread();
-
-public:
- virtual BOOL InitInstance();
- virtual int ExitInstance();
-
-protected:
- DECLARE_MESSAGE_MAP()
-public:
- void FirstMsgHandler(WPARAM wParam , LPARAM lParam);
- void SecondMsgHandler(WPARAM wParam , LPARAM lParam);
- void ThirdMsgHandler(WPARAM wParam , LPARAM lParam);
-};
-
-
diff --git a/Test-MFC/DialogBox/res/DialogBox.ico b/Test-MFC/DialogBox/res/DialogBox.ico
deleted file mode 100644
index d56fbcd..0000000
Binary files a/Test-MFC/DialogBox/res/DialogBox.ico and /dev/null differ
diff --git a/Test-MFC/DialogBox/res/DialogBox.rc2 b/Test-MFC/DialogBox/res/DialogBox.rc2
deleted file mode 100644
index c851efa..0000000
--- a/Test-MFC/DialogBox/res/DialogBox.rc2
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// DialogBox.RC2 - resources Microsoft Visual C++ does not edit directly
-//
-
-#ifdef APSTUDIO_INVOKED
-#error this file is not editable by Microsoft Visual C++
-#endif //APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-// Add manually edited resources here...
-
-/////////////////////////////////////////////////////////////////////////////
diff --git a/Test-MFC/DialogBox/res/DialogBoxDoc.ico b/Test-MFC/DialogBox/res/DialogBoxDoc.ico
deleted file mode 100644
index 96365d4..0000000
Binary files a/Test-MFC/DialogBox/res/DialogBoxDoc.ico and /dev/null differ
diff --git a/Test-MFC/DialogBox/resource.h b/Test-MFC/DialogBox/resource.h
deleted file mode 100644
index 892cfbc..0000000
--- a/Test-MFC/DialogBox/resource.h
+++ /dev/null
@@ -1,22 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by DialogBox.rc
-//
-#define IDD_ABOUTBOX 100
-#define IDP_OLE_INIT_FAILED 100
-#define IDR_MAINFRAME 128
-#define IDR_DialogBoxTYPE 130
-#define ID_THREAD_START 32771
-#define ID_THREAD_SENDMESSAGE 32772
-#define ID_THREAD_STOP 32773
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 310
-#define _APS_NEXT_COMMAND_VALUE 32774
-#define _APS_NEXT_CONTROL_VALUE 1000
-#define _APS_NEXT_SYMED_VALUE 310
-#endif
-#endif
diff --git a/Test-MFC/DialogBox/stdafx.cpp b/Test-MFC/DialogBox/stdafx.cpp
deleted file mode 100644
index 6d81a8f..0000000
--- a/Test-MFC/DialogBox/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-
-// stdafx.cpp : source file that includes just the standard includes
-// DialogBox.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-
diff --git a/Test-MFC/DialogBox/stdafx.h b/Test-MFC/DialogBox/stdafx.h
deleted file mode 100644
index a9b43c5..0000000
--- a/Test-MFC/DialogBox/stdafx.h
+++ /dev/null
@@ -1,60 +0,0 @@
-
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently,
-// but are changed infrequently
-
-#pragma once
-
-#ifndef _SECURE_ATL
-#define _SECURE_ATL 1
-#endif
-
-#ifndef VC_EXTRALEAN
-#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
-#endif
-
-#include "targetver.h"
-
-#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
-
-// turns off MFC's hiding of some common and often safely ignored warning messages
-#define _AFX_ALL_WARNINGS
-
-#include // MFC core and standard components
-#include // MFC extensions
-
-
-#include // MFC Automation classes
-
-
-
-#ifndef _AFX_NO_OLE_SUPPORT
-#include // MFC support for Internet Explorer 4 Common Controls
-#endif
-#ifndef _AFX_NO_AFXCMN_SUPPORT
-#include // MFC support for Windows Common Controls
-#endif // _AFX_NO_AFXCMN_SUPPORT
-
-#include // MFC support for ribbons and control bars
-
-
-
-
-
-
-
-
-
-#ifdef _UNICODE
-#if defined _M_IX86
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
-#elif defined _M_IA64
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
-#elif defined _M_X64
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
-#else
-#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
-#endif
-#endif
-
-
diff --git a/Test-MFC/DialogBox/targetver.h b/Test-MFC/DialogBox/targetver.h
deleted file mode 100644
index 27867ba..0000000
--- a/Test-MFC/DialogBox/targetver.h
+++ /dev/null
@@ -1,26 +0,0 @@
-
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef WINVER // Specifies that the minimum required platform is Windows Vista.
-#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
-#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98.
-#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
-#endif
-
-#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0.
-#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE.
-#endif
-
diff --git a/Test-MFC/Test-MFC.sln b/Test-MFC/Test-MFC.sln
deleted file mode 100644
index f1ca309..0000000
--- a/Test-MFC/Test-MFC.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DialogBox", "DialogBox\DialogBox.vcproj", "{288C5615-F255-4400-95CB-91FC0C10C82A}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {288C5615-F255-4400-95CB-91FC0C10C82A}.Debug|Win32.ActiveCfg = Debug|Win32
- {288C5615-F255-4400-95CB-91FC0C10C82A}.Debug|Win32.Build.0 = Debug|Win32
- {288C5615-F255-4400-95CB-91FC0C10C82A}.Release|Win32.ActiveCfg = Release|Win32
- {288C5615-F255-4400-95CB-91FC0C10C82A}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/TestInheritance/TestInheritance.cpp b/TestInheritance/TestInheritance.cpp
deleted file mode 100644
index 6d34f02..0000000
--- a/TestInheritance/TestInheritance.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-// TestInheritance.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-
-//Default inheritance access specifier
-//http://stackoverflow.com/questions/4796789/default-inheritance-access-specifier
-
-class A {};
-struct B: /* public */ A {};
-
-struct SA {};
-class SB: /* private */ SA {};
-
-//Multiple Inheritance
-//http://www.cprogramming.com/tutorial/multiple_inheritance.html
-
-
-int _tmain(int argc, _TCHAR* argv[])
-{
- return 0;
-}
-
diff --git a/TestInheritance/TestInheritance.vcproj b/TestInheritance/TestInheritance.vcproj
deleted file mode 100644
index d9fed37..0000000
--- a/TestInheritance/TestInheritance.vcproj
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/TestInheritance/stdafx.cpp b/TestInheritance/stdafx.cpp
deleted file mode 100644
index f1fb175..0000000
--- a/TestInheritance/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// TestInheritance.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/TestInheritance/stdafx.h b/TestInheritance/stdafx.h
deleted file mode 100644
index 47a0d02..0000000
--- a/TestInheritance/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-
-
-
-// TODO: reference additional headers your program requires here
diff --git a/TestInheritance/targetver.h b/TestInheritance/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/TestInheritance/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst.sln b/constptr_and_ptrtoconst/constptr_and_ptrtoconst.sln
deleted file mode 100644
index 9176a9e..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "constptr_and_ptrtoconst", "constptr_and_ptrtoconst\constptr_and_ptrtoconst.vcproj", "{F94F5B84-70AC-495B-9CC5-95E16255DBA9}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F94F5B84-70AC-495B-9CC5-95E16255DBA9}.Debug|Win32.ActiveCfg = Debug|Win32
- {F94F5B84-70AC-495B-9CC5-95E16255DBA9}.Debug|Win32.Build.0 = Debug|Win32
- {F94F5B84-70AC-495B-9CC5-95E16255DBA9}.Release|Win32.ActiveCfg = Release|Win32
- {F94F5B84-70AC-495B-9CC5-95E16255DBA9}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst.suo b/constptr_and_ptrtoconst/constptr_and_ptrtoconst.suo
deleted file mode 100644
index 55cdc73..0000000
Binary files a/constptr_and_ptrtoconst/constptr_and_ptrtoconst.suo and /dev/null differ
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/ReadMe.txt b/constptr_and_ptrtoconst/constptr_and_ptrtoconst/ReadMe.txt
deleted file mode 100644
index 77475eb..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/ReadMe.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-========================================================================
- CONSOLE APPLICATION : constptr_and_ptrtoconst Project Overview
-========================================================================
-
-AppWizard has created this constptr_and_ptrtoconst application for you.
-
-This file contains a summary of what you will find in each of the files that
-make up your constptr_and_ptrtoconst application.
-
-
-constptr_and_ptrtoconst.vcproj
- This is the main project file for VC++ projects generated using an Application Wizard.
- It contains information about the version of Visual C++ that generated the file, and
- information about the platforms, configurations, and project features selected with the
- Application Wizard.
-
-constptr_and_ptrtoconst.cpp
- This is the main application source file.
-
-/////////////////////////////////////////////////////////////////////////////
-Other standard files:
-
-StdAfx.h, StdAfx.cpp
- These files are used to build a precompiled header (PCH) file
- named constptr_and_ptrtoconst.pch and a precompiled types file named StdAfx.obj.
-
-/////////////////////////////////////////////////////////////////////////////
-Other notes:
-
-AppWizard uses "TODO:" comments to indicate parts of the source code you
-should add to or customize.
-
-/////////////////////////////////////////////////////////////////////////////
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.cpp b/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.cpp
deleted file mode 100644
index 433d592..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-// constptr_and_ptrtoconst.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-
-int j=10;
-int *const g_ptr=&j;
-int const g_data=10;
-const int g_data1=10;
-int _tmain(int argc, _TCHAR* argv[])
-{
- int j=10,i=20;
- const int * const x= &j;
-
- int const* constptr;// = &j;
- constptr = &j;
-// *constptr = 20;
-
-
- int* const constptr1 = &j;
-// constptr1 = &j;
- *constptr1 = 20;
-
-
- const int* ptrtoconst;
-// *ptrtoconst = 10;
- ptrtoconst = &j;
-
- /*const* int ptrtoconst1;
- ptrtoconst1 = &j;
- j = 10;*/
- //*ptrtoconst = 30;
- //g_ptr = &j;
-// ptr = &i;
- char ch = 'y';
- char * const str = "hello, world";
- char szArr[5] = "asda";
- char const * sz[1];
- sz[0] = "rohit";
-
-
- int const* ptrtoconstarr[2];
- //int const* ptr;
- ptrtoconstarr[0] = new int[2];
- ptrtoconstarr[0] = (int*)12;
- ptrtoconstarr[0] = (int*)12;
- *ptrtoconstarr[0] = 12;
- //(ptrtoconstarr[0]+1) = (int*)13;
- return 0;
-}
-
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.vcproj b/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.vcproj
deleted file mode 100644
index 56dac6e..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.vcproj
+++ /dev/null
@@ -1,209 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.vcproj.AMIT-PC.Tu.user b/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.vcproj.AMIT-PC.Tu.user
deleted file mode 100644
index 33a22d7..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/constptr_and_ptrtoconst.vcproj.AMIT-PC.Tu.user
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/stdafx.cpp b/constptr_and_ptrtoconst/constptr_and_ptrtoconst/stdafx.cpp
deleted file mode 100644
index fb453e3..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// constptr_and_ptrtoconst.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/stdafx.h b/constptr_and_ptrtoconst/constptr_and_ptrtoconst/stdafx.h
deleted file mode 100644
index 47a0d02..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-
-
-
-// TODO: reference additional headers your program requires here
diff --git a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/targetver.h b/constptr_and_ptrtoconst/constptr_and_ptrtoconst/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/constptr_and_ptrtoconst/constptr_and_ptrtoconst/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/cpp-concepts.sln b/cpp-concepts.sln
deleted file mode 100644
index d537bba..0000000
--- a/cpp-concepts.sln
+++ /dev/null
@@ -1,38 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-concepts", "cpp-concepts\cpp-concepts.vcproj", "{F45D308A-4E39-4B94-9317-8B94B9A3C09F}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "virtualtest", "virtualtest\virtualtest.vcproj", "{F4C04F1A-C0A6-4156-B888-D388CFB330F0}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestInheritance", "TestInheritance\TestInheritance.vcproj", "{5DE70308-9C2B-4C47-85A9-E2D0E3887D38}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LinkedList", "LinkedList\LinkedList.vcproj", "{DDF669C3-5849-4499-BAC2-A9545489BB9D}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F45D308A-4E39-4B94-9317-8B94B9A3C09F}.Debug|Win32.ActiveCfg = Debug|Win32
- {F45D308A-4E39-4B94-9317-8B94B9A3C09F}.Debug|Win32.Build.0 = Debug|Win32
- {F45D308A-4E39-4B94-9317-8B94B9A3C09F}.Release|Win32.ActiveCfg = Release|Win32
- {F45D308A-4E39-4B94-9317-8B94B9A3C09F}.Release|Win32.Build.0 = Release|Win32
- {F4C04F1A-C0A6-4156-B888-D388CFB330F0}.Debug|Win32.ActiveCfg = Debug|Win32
- {F4C04F1A-C0A6-4156-B888-D388CFB330F0}.Debug|Win32.Build.0 = Debug|Win32
- {F4C04F1A-C0A6-4156-B888-D388CFB330F0}.Release|Win32.ActiveCfg = Release|Win32
- {F4C04F1A-C0A6-4156-B888-D388CFB330F0}.Release|Win32.Build.0 = Release|Win32
- {5DE70308-9C2B-4C47-85A9-E2D0E3887D38}.Debug|Win32.ActiveCfg = Debug|Win32
- {5DE70308-9C2B-4C47-85A9-E2D0E3887D38}.Debug|Win32.Build.0 = Debug|Win32
- {5DE70308-9C2B-4C47-85A9-E2D0E3887D38}.Release|Win32.ActiveCfg = Release|Win32
- {5DE70308-9C2B-4C47-85A9-E2D0E3887D38}.Release|Win32.Build.0 = Release|Win32
- {DDF669C3-5849-4499-BAC2-A9545489BB9D}.Debug|Win32.ActiveCfg = Debug|Win32
- {DDF669C3-5849-4499-BAC2-A9545489BB9D}.Debug|Win32.Build.0 = Debug|Win32
- {DDF669C3-5849-4499-BAC2-A9545489BB9D}.Release|Win32.ActiveCfg = Release|Win32
- {DDF669C3-5849-4499-BAC2-A9545489BB9D}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/cpp-concepts/cpp-concepts.cpp b/cpp-concepts/cpp-concepts.cpp
deleted file mode 100644
index 57d24ea..0000000
--- a/cpp-concepts/cpp-concepts.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-// cpp-concepts.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-
-
-int _tmain(int argc, _TCHAR* argv[])
-{
- return 0;
-}
-
diff --git a/cpp-concepts/cpp-concepts.vcproj b/cpp-concepts/cpp-concepts.vcproj
deleted file mode 100644
index 3424cda..0000000
--- a/cpp-concepts/cpp-concepts.vcproj
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/cpp-concepts/encode.hpp b/cpp-concepts/encode.hpp
deleted file mode 100644
index dbd9f40..0000000
--- a/cpp-concepts/encode.hpp
+++ /dev/null
@@ -1,161 +0,0 @@
-
-/*
- * Base64.h
- *
- * Created on: Jul 19, 2015
- * Author: Amit
- */
-
-#ifndef BASE64_H_
-#define BASE64_H_
-
-#include
-
-class Base64
-{
-public:
- Base64();
- ~Base64();
-
- std::string encode(unsigned char const* bytes_to_encode, unsigned int in_len);
- std::string decode(std::string const& encoded_string);
-
- bool encodeFile(const std::string & inFilePath, const std::string & outFilePath);
- bool decodeFile(const std::string & inFilePath, const std::string & outFilePath);
-
- inline bool is_base64(unsigned char c)
- {
- return (isalnum(c) || (c == '+') || (c == '/'));
- }
-};
-
-#endif /* BASE64_H_ */
-
-//-------------------------------------------------------------------------------------------------------------
-
-/*
- * Base64.cpp
- *
- * Created on: Jul 19, 2015
- * Author: Amit
- */
-
-#include "Base64.h"
-
-static const std::string base64_chars =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- "abcdefghijklmnopqrstuvwxyz"
- "0123456789+/";
-
-
-Base64::Base64() {
-
-
-}
-
-Base64::~Base64() {
-
-}
-
-std::string Base64::encode(unsigned char const* bytes_to_encode, unsigned int in_len)
-{
- std::string ret;
- int i = 0;
- int j = 0;
- unsigned char char_array_3[3];
- unsigned char char_array_4[4];
-
- while (in_len--) {
- char_array_3[i++] = *(bytes_to_encode++);
- if (i == 3) {
- char_array_4[0] = (char_array_3[0] & 0xfc) >> 2;
- char_array_4[1] = ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4);
- char_array_4[2] = ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6);
- char_array_4[3] = char_array_3[2] & 0x3f;
-
- for(i = 0; (i <4) ; i++)
- ret += base64_chars[char_array_4[i]];
- i = 0;
- }
- }
-
- if (i)
- {
- for(j = i; j < 3; j++)
- char_array_3[j] = '\0';
-
- char_array_4[0] = (char_array_3[0] & 0xfc) >> 2;
- char_array_4[1] = ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4);
- char_array_4[2] = ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6);
- char_array_4[3] = char_array_3[2] & 0x3f;
-
- for (j = 0; (j < i + 1); j++)
- ret += base64_chars[char_array_4[j]];
-
- while((i++ < 3))
- ret += '=';
-
- }
-
- return ret;
-
-}
-
-std::string Base64::decode(std::string const& encoded_string)
-{
- int in_len = encoded_string.size();
- int i = 0;
- int j = 0;
- int in_ = 0;
- unsigned char char_array_4[4], char_array_3[3];
- std::string ret;
-
- while (in_len-- && ( encoded_string[in_] != '=') && is_base64(encoded_string[in_])) {
- char_array_4[i++] = encoded_string[in_]; in_++;
- if (i ==4) {
- for (i = 0; i <4; i++)
- char_array_4[i] = base64_chars.find(char_array_4[i]);
-
- char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4);
- char_array_3[1] = ((char_array_4[1] & 0xf) << 4) + ((char_array_4[2] & 0x3c) >> 2);
- char_array_3[2] = ((char_array_4[2] & 0x3) << 6) + char_array_4[3];
-
- for (i = 0; (i < 3); i++)
- ret += char_array_3[i];
- i = 0;
- }
- }
-
- if (i) {
- for (j = i; j <4; j++)
- char_array_4[j] = 0;
-
- for (j = 0; j <4; j++)
- char_array_4[j] = base64_chars.find(char_array_4[j]);
-
- char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4);
- char_array_3[1] = ((char_array_4[1] & 0xf) << 4) + ((char_array_4[2] & 0x3c) >> 2);
- char_array_3[2] = ((char_array_4[2] & 0x3) << 6) + char_array_4[3];
-
- for (j = 0; (j < i - 1); j++) ret += char_array_3[j];
- }
-
- return ret;
-}
-
-bool Base64::encodeFile(const std::string & inFilePath, const std::string & outFilePath)
-{
- bool result = false;
-
-
-
-
- return result;
-}
-
-bool Base64::decodeFile(const std::string & inFilePath, const std::string & outFilePath)
-{
- bool result = false;
-
- return result;
-}
diff --git a/cpp-concepts/stdafx.cpp b/cpp-concepts/stdafx.cpp
deleted file mode 100644
index 6aaa3df..0000000
--- a/cpp-concepts/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// cpp-concepts.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/cpp-concepts/stdafx.h b/cpp-concepts/stdafx.h
deleted file mode 100644
index 47a0d02..0000000
--- a/cpp-concepts/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-
-
-
-// TODO: reference additional headers your program requires here
diff --git a/cpp-concepts/targetver.h b/cpp-concepts/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/cpp-concepts/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/polymorphism/Debug/polymorphism.pdb b/polymorphism/Debug/polymorphism.pdb
deleted file mode 100644
index 0ca06a8..0000000
Binary files a/polymorphism/Debug/polymorphism.pdb and /dev/null differ
diff --git a/polymorphism/polymorphism.sln b/polymorphism/polymorphism.sln
deleted file mode 100644
index 00a2ccf..0000000
--- a/polymorphism/polymorphism.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism.vcproj", "{7B1B41F8-AC06-46C0-B99E-2D522831C04D}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7B1B41F8-AC06-46C0-B99E-2D522831C04D}.Debug|Win32.ActiveCfg = Debug|Win32
- {7B1B41F8-AC06-46C0-B99E-2D522831C04D}.Debug|Win32.Build.0 = Debug|Win32
- {7B1B41F8-AC06-46C0-B99E-2D522831C04D}.Release|Win32.ActiveCfg = Release|Win32
- {7B1B41F8-AC06-46C0-B99E-2D522831C04D}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/polymorphism/polymorphism.suo b/polymorphism/polymorphism.suo
deleted file mode 100644
index 7be923c..0000000
Binary files a/polymorphism/polymorphism.suo and /dev/null differ
diff --git a/polymorphism/polymorphism/ReadMe.txt b/polymorphism/polymorphism/ReadMe.txt
deleted file mode 100644
index 44c7af5..0000000
--- a/polymorphism/polymorphism/ReadMe.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-========================================================================
- CONSOLE APPLICATION : polymorphism Project Overview
-========================================================================
-
-AppWizard has created this polymorphism application for you.
-
-This file contains a summary of what you will find in each of the files that
-make up your polymorphism application.
-
-
-polymorphism.vcproj
- This is the main project file for VC++ projects generated using an Application Wizard.
- It contains information about the version of Visual C++ that generated the file, and
- information about the platforms, configurations, and project features selected with the
- Application Wizard.
-
-polymorphism.cpp
- This is the main application source file.
-
-/////////////////////////////////////////////////////////////////////////////
-Other standard files:
-
-StdAfx.h, StdAfx.cpp
- These files are used to build a precompiled header (PCH) file
- named polymorphism.pch and a precompiled types file named StdAfx.obj.
-
-/////////////////////////////////////////////////////////////////////////////
-Other notes:
-
-AppWizard uses "TODO:" comments to indicate parts of the source code you
-should add to or customize.
-
-/////////////////////////////////////////////////////////////////////////////
diff --git a/polymorphism/polymorphism/polymorphism.cpp b/polymorphism/polymorphism/polymorphism.cpp
deleted file mode 100644
index 1a7ae26..0000000
--- a/polymorphism/polymorphism/polymorphism.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-// polymorphism.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-#include "Windows.h"
-
-class thread
-{
- HANDLE hThreadHwnd;
-
-public:
- int start()
- {
- DWORD threadid;
- hThreadHwnd = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)thread::runthread,this,0,&threadid);
-
- return true;
- }
-
- virtual int run()=0;
- static int runthread(void *lpData)
- {
- ((thread*)lpData)->run();
- return 1;
- }
-
-};
-
-class recvdata : public thread
-{
-public:
- int run()
- {
- while(1)
- {
- Sleep(1000);
- }
- }
-};
-
-
-
-
-
-int _tmain(int argc, _TCHAR* argv[])
-{
- recvdata objRec;
- objRec.start();
-
- Sleep(100000000000);
- return 0;
-}
-
diff --git a/polymorphism/polymorphism/polymorphism.vcproj b/polymorphism/polymorphism/polymorphism.vcproj
deleted file mode 100644
index 8086b2c..0000000
--- a/polymorphism/polymorphism/polymorphism.vcproj
+++ /dev/null
@@ -1,209 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/polymorphism/polymorphism/polymorphism.vcproj.AMIT-PC.Tu.user b/polymorphism/polymorphism/polymorphism.vcproj.AMIT-PC.Tu.user
deleted file mode 100644
index 33a22d7..0000000
--- a/polymorphism/polymorphism/polymorphism.vcproj.AMIT-PC.Tu.user
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/polymorphism/polymorphism/stdafx.cpp b/polymorphism/polymorphism/stdafx.cpp
deleted file mode 100644
index 544d017..0000000
--- a/polymorphism/polymorphism/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// polymorphism.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/polymorphism/polymorphism/stdafx.h b/polymorphism/polymorphism/stdafx.h
deleted file mode 100644
index 47a0d02..0000000
--- a/polymorphism/polymorphism/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-
-
-
-// TODO: reference additional headers your program requires here
diff --git a/polymorphism/polymorphism/targetver.h b/polymorphism/polymorphism/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/polymorphism/polymorphism/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/virtualtest/stdafx.cpp b/virtualtest/stdafx.cpp
deleted file mode 100644
index 2ba9c96..0000000
--- a/virtualtest/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-// virtualtest.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/virtualtest/stdafx.h b/virtualtest/stdafx.h
deleted file mode 100644
index 47a0d02..0000000
--- a/virtualtest/stdafx.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include
-#include
-
-
-
-// TODO: reference additional headers your program requires here
diff --git a/virtualtest/targetver.h b/virtualtest/targetver.h
deleted file mode 100644
index a38195a..0000000
--- a/virtualtest/targetver.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
diff --git a/virtualtest/virtualtest.cpp b/virtualtest/virtualtest.cpp
deleted file mode 100644
index 484a51c..0000000
--- a/virtualtest/virtualtest.cpp
+++ /dev/null
@@ -1,395 +0,0 @@
-// virtualtest.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-#include "stdio.h"
-#include
-
-#define HERE() {\
- /*cout<
-// base* pbase =(base*) new child;
-// pbase->basefunc();
-// //pbase->testchild();
-// ((child*)pbase)->testchild();
-//
-// pobjChild2->func();
-// pobjBase->func();
-// pobjChild->func();
-//
-// BaseA * pNewBase1 = new ChildNew();
-////to remove unreferances variable warning
-// (pNewBase1);(pobjChild3);(pobjChild4);(objChild2);
-
-}
-
-
-void TestClassSize()
-{
- std::cout<handle_event(1);
-//}
-
-
-
-
-/************************************************* Data Hiding *********************************************/
-#include
-//class Base {
-//private:
-// virtual void f(int) { std::cout << "Base::Int!" << std::endl; } // (1)
-//public:
-// virtual void f(double){ std::cout << "Base::Double!" << std::endl; }
-// // virtual void f(int) { std::cout << "Base::Int!" << std::endl; } // (1)
-// virtual ~Base() {}
-//};
-//
-//class Derived : public Base {
-//public:
-// // using Base::f; // (2)
-// void f(double) { std::cout << "Derived::Double!" << std::endl; }
-//};
-
-
-
-class Base {
-
-public:
- void f(int){ std::cout << "Base::int!" << std::endl; }
- void f(double) { std::cout << "Base::Double!" << std::endl; } // (1)
- virtual ~Base() {}
-};
-
-class Derived : public Base {
-public:
- //using Base::f; // (2)
- void f(int) { std::cout << "Derived::int!" << std::endl; }
-
-};
-
-//int main(int, char **) {
-// Derived d;
-// d.f(21.0578);
-// return 0;
-//}
-
-
-using std::cout;
-using std::endl;
-
-class A {};
-class B {};
-
-class X
-{
-public:
- void spray(A&)
- {
- cout << "Class A" << endl;
- }
-};
-
-class Y : public X
-{
-public:
- //using X::spray;
- void spray(B&)
- {
- cout << "Class B" << endl;
- }
-};
-//
-//int main()
-//{
-// A a;
-// B b;
-// Y y;
-//
-// y.spray(a);
-// y.spray(b);
-//
-// return 0;
-//}
-
-
-
-
-
-//*********************************** co-variant return types ********************************//
-//#include
-//
-//using namespace std;
-//
-//class base22
-//{
-// public:
-// virtual int func()
-// {
-// cout << "vfunc in base class\n";
-// return 0;
-// }
-//};
-//
-//class derived22: public base22
-//{
-// public:
-// double func()
-// {
-// cout << "vfunc in derived class\n";
-// return 0;
-// }
-//};
-//
-//int main()
-//{
-// base22 *bptr = new derived22;
-// bptr->func();
-//
-//
-// /*base22 bptr;
-// bptr.func();*/
-// return 0;
-//}
diff --git a/virtualtest/virtualtest.vcproj b/virtualtest/virtualtest.vcproj
deleted file mode 100644
index 77d2f93..0000000
--- a/virtualtest/virtualtest.vcproj
+++ /dev/null
@@ -1,209 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-