Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sharing Dlls In Team Pin
Swinefeaster30-Jan-06 8:52
Swinefeaster30-Jan-06 8:52 
Questionclient server program in VC++ using document/view architecture Pin
rohini sharma30-Jan-06 7:02
rohini sharma30-Jan-06 7:02 
AnswerRe: client server program in VC++ using document/view architecture Pin
RanjanShrestha30-Jan-06 7:42
RanjanShrestha30-Jan-06 7:42 
AnswerRe: client server program in VC++ using document/view architecture Pin
#realJSOP30-Jan-06 8:39
professional#realJSOP30-Jan-06 8:39 
QuestionSend SIGINT by program? Pin
khb30-Jan-06 6:01
khb30-Jan-06 6:01 
AnswerRe: Send SIGINT by program? Pin
Rage30-Jan-06 6:52
professionalRage30-Jan-06 6:52 
GeneralRe: Send SIGINT by program? Pin
khb31-Jan-06 0:58
khb31-Jan-06 0:58 
Questionthe best select statement .. Pin
Deema Jack30-Jan-06 5:16
Deema Jack30-Jan-06 5:16 
AnswerRe: the best select statement .. Pin
toxcct30-Jan-06 5:51
toxcct30-Jan-06 5:51 
QuestionRe: Thanks, TOXCCT but .. Pin
Deema Jack31-Jan-06 2:22
Deema Jack31-Jan-06 2:22 
GeneralRe: Thanks, TOXCCT but .. Pin
toxcct31-Jan-06 2:32
toxcct31-Jan-06 2:32 
GeneralRe: Thanks, TOXCCT but .. Pin
Deema Jack31-Jan-06 2:42
Deema Jack31-Jan-06 2:42 
GeneralRe: Thanks, TOXCCT but .. Pin
toxcct31-Jan-06 3:13
toxcct31-Jan-06 3:13 
QuestionRe: Thanks, TOXCCT but .. Pin
Deema Jack31-Jan-06 8:07
Deema Jack31-Jan-06 8:07 
AnswerRe: the best select statement .. Pin
Maximilien30-Jan-06 6:02
Maximilien30-Jan-06 6:02 
QuestionRe: the best select statement .. Pin
Deema Jack31-Jan-06 2:28
Deema Jack31-Jan-06 2:28 
AnswerRe: the best select statement .. Pin
Prakash Nadar31-Jan-06 4:45
Prakash Nadar31-Jan-06 4:45 
QuestionRe: the best select statement .. Pin
Deema Jack31-Jan-06 8:05
Deema Jack31-Jan-06 8:05 
AnswerRe: the best select statement .. Pin
Prakash Nadar30-Jan-06 6:04
Prakash Nadar30-Jan-06 6:04 
GeneralRe: thanks but .. Pin
Deema Jack31-Jan-06 2:30
Deema Jack31-Jan-06 2:30 
AnswerThe Best Conditional statement .. Pin
Eytukan30-Jan-06 6:48
Eytukan30-Jan-06 6:48 
GeneralRe: The Best Conditional statement .. Pin
toxcct30-Jan-06 6:55
toxcct30-Jan-06 6:55 
GeneralRe: The Best Conditional statement .. Pin
Eytukan30-Jan-06 7:14
Eytukan30-Jan-06 7:14 
GeneralRe: The Best Conditional statement .. Pin
BadKarma30-Jan-06 9:50
BadKarma30-Jan-06 9:50 
you can use strings in a switch
when the text is limited to 4 char

thats how the ftp, telnet and email server work,
they all use 4 letter commands to work
char szCmd[80];
unsigned long* pulCmd = &szCmd;

switch(*pulCmd)
{
case 0x706c6568: // "help"
 Help();
 break;
case 0x74697571: // "quit"
 Quit();
 break;
case 0x6e65706f: // "open"
 Open();
 break;
}


codito ergo sum
GeneralRe: The Best Conditional statement .. Pin
Eytukan30-Jan-06 20:16
Eytukan30-Jan-06 20:16 

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.