Click here to Skip to main content
15,893,486 members
Articles / Desktop Programming / MFC

Solitaire Puzzle with Backtracking

Rate me:
Please Sign up or sign in to vote.
4.26/5 (9 votes)
10 Sep 20056 min read 80.3K   2.7K   33  
A program to play Solitaire puzzle and to seek solutions using backtracking.
#if !defined(AFX_STDAFX_H__02836B99_5425_4B60_AD21_9FC40DC46E59__INCLUDED_)
#define AFX_STDAFX_H__02836B99_5425_4B60_AD21_9FC40DC46E59__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif

#define VC_EXTRALEAN	// Exclude rarely-used stuff from Windows headers
#include <afxwin.h>		// MFC core and standard components
#include <afxext.h>		// MFC extensions
#include <afxcmn.h>
#include <afxadv.h>

#include "resource.h"
#include "Backtrack.h"
#include "Stack.h"


//{{AFX_INSERT_LOCATION}}
//}}AFX

#endif

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior) Avventure nel Mondo
Italy Italy
I have a degree in Computer Science and I've been earning my living since the early 90s by making the compiler dance.

I was born in Milan in 1963 and live in Rome since 1995.

In my spare time I sing in a vocal ensemble and play guitar and keyboard. Unfortunately, I program much better than I play. Occasionally I coordinate travel groups for the Italian tour operator Avventure nel Mondo.

https://www.paolomartinoli.it
programmer@paolomartinoli.it

Comments and Discussions