Click here to Skip to main content
16,005,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: using Visual Studio to build C/C++ projects with dependencies Pin
Eytukan24-Sep-06 3:23
Eytukan24-Sep-06 3:23 
GeneralRe: using Visual Studio to build C/C++ projects with dependencies Pin
George_George25-Sep-06 3:16
George_George25-Sep-06 3:16 
AnswerRe: using Visual Studio to build C/C++ projects with dependencies Pin
cmk24-Sep-06 9:56
cmk24-Sep-06 9:56 
GeneralRe: using Visual Studio to build C/C++ projects with dependencies Pin
George_George25-Sep-06 3:12
George_George25-Sep-06 3:12 
AnswerRe: using Visual Studio to build C/C++ projects with dependencies Pin
PJ Arends24-Sep-06 9:58
professionalPJ Arends24-Sep-06 9:58 
GeneralRe: using Visual Studio to build C/C++ projects with dependencies Pin
George_George25-Sep-06 3:14
George_George25-Sep-06 3:14 
GeneralRe: using Visual Studio to build C/C++ projects with dependencies Pin
Eytukan25-Sep-06 3:30
Eytukan25-Sep-06 3:30 
QuestionParsers Pin
Waldermort24-Sep-06 1:35
Waldermort24-Sep-06 1:35 
This is probably the most challenging problem I have faced to date. I have read most of the parser related articles here on CP, downloaded and played with libraries such as boost::regex and spirit, but I am still uncertain. I feel these libraries have too much functionality for what I need, though spirit does come close.

Here's the problem. I am creating a game similar to a card game. This game has regional variations and alternate scoring schemes. I figured the best way to handle this is to place the regional details into an editable file (.xml). This way changes can be made to the gameplay without having to hardcode anything into the exe.

A winning hand compromises of 4 sets of 3 cards (either sequncial or identical) and one pair (identical). Higher scores may be achieved by building hard to find sets e.g. a run of 1D2D3D has a higher value than say 4D5D6D. (D being Diamonds and 1D being the lowest card).

Somehow I need to create a method of adding string representations of winning hands to an xml file, which in turn can be scanned by the exe and compared to the actual users hand. Simple hands like the example are of no problem, but writing a definition of a complicated hand causes trouble. For example, some regions only allow the use of two suits in the winning hand, hard to find cards always have higher values but sometimes a region may not use certain combination scoring.

Any help, suggestions or advice would be greatly appreciated with this one.
Questionhow can we change the font of CString variables Pin
johnalek24-Sep-06 1:12
johnalek24-Sep-06 1:12 
AnswerRe: how can we change the font of CString variables Pin
Christian Graus24-Sep-06 1:24
protectorChristian Graus24-Sep-06 1:24 
AnswerRe: how can we change the font of CString variables Pin
Hamid_RT24-Sep-06 2:09
Hamid_RT24-Sep-06 2:09 
GeneralRe: how can we change the font of CString variables Pin
johnalek24-Sep-06 2:59
johnalek24-Sep-06 2:59 
QuestionRe: how can we change the font of CString variables Pin
Eytukan24-Sep-06 3:27
Eytukan24-Sep-06 3:27 
AnswerRe: how can we change the font of CString variables Pin
Maximilien24-Sep-06 4:39
Maximilien24-Sep-06 4:39 
GeneralRe: how can we change the font of CString variables Pin
Reagan Conservative25-Sep-06 3:54
Reagan Conservative25-Sep-06 3:54 
Questionfatal error LNK1120: 1 unresolved externals Pin
RockyJames23-Sep-06 22:12
RockyJames23-Sep-06 22:12 
AnswerRe: fatal error LNK1120: 1 unresolved externals Pin
Graham Bradshaw23-Sep-06 22:45
Graham Bradshaw23-Sep-06 22:45 
Questionsubclassed CPrintDialog won't close properly Pin
Roj23-Sep-06 20:23
Roj23-Sep-06 20:23 
Questionmove window Pin
zon_cpp23-Sep-06 20:03
zon_cpp23-Sep-06 20:03 
AnswerRe: move window Pin
Steve Echols23-Sep-06 20:12
Steve Echols23-Sep-06 20:12 
GeneralRe: move window Pin
zon_cpp23-Sep-06 20:18
zon_cpp23-Sep-06 20:18 
GeneralRe: move window Pin
zon_cpp23-Sep-06 20:28
zon_cpp23-Sep-06 20:28 
QuestionProblem with hook Pin
joe.cet23-Sep-06 17:48
joe.cet23-Sep-06 17:48 
QuestionHow to Create a Timed Displayed Dialog Pin
Larry Mills Sr23-Sep-06 16:17
Larry Mills Sr23-Sep-06 16:17 
AnswerRe: How to Create a Timed Displayed Dialog Pin
PJ Arends23-Sep-06 17:04
professionalPJ Arends23-Sep-06 17:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.