Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp - can't get Sever/Client to talk over sockets Pin
glweid18-Mar-04 5:24
glweid18-Mar-04 5:24 
QuestionLVITEM Explanation? Pin
monrobot1318-Mar-04 4:48
monrobot1318-Mar-04 4:48 
AnswerRe: LVITEM Explanation? Pin
Prakash Nadar18-Mar-04 4:55
Prakash Nadar18-Mar-04 4:55 
GeneralRe: LVITEM Explanation? Pin
monrobot1318-Mar-04 5:46
monrobot1318-Mar-04 5:46 
GeneralRe: LVITEM Explanation? Pin
RChin18-Mar-04 6:14
RChin18-Mar-04 6:14 
GeneralRe: LVITEM Explanation? Pin
Prakash Nadar18-Mar-04 14:19
Prakash Nadar18-Mar-04 14:19 
GeneralSwitch Statment Pin
Anthony988718-Mar-04 4:41
Anthony988718-Mar-04 4:41 
GeneralRe: Switch Statment Pin
J. Eric Vaughan18-Mar-04 4:56
J. Eric Vaughan18-Mar-04 4:56 
no
you could:

switch(val)
{
   case 100:
   case 101:
   case 102:
   case 103:
   ...
   case 300:
      break;
   case 500:
   case 501:
   case 502:
   ...
   case 750:
      break;
}

which could be prettied up by a #define
switch(val)
{
   CASE_100_TO_300: //of course use more descriptive names
      break;
   CASE_500_TO_750:
      break;
}



The maximum characters for the signature is five hundred. I was wondering how long a five hundred characters message would be, so I decided to make my signature 500 characters long. I'm sure if I had some cool html stuff in my signature, I could eat up five hundred characters, but just typing five hundred characters takes quite some time. The trick I think is finding something to say, but I'm usually a man of few words. So I guess I'll tell you what I've discovered is the secret to life. It
GeneralRe: Switch Statment Pin
Prakash Nadar18-Mar-04 5:01
Prakash Nadar18-Mar-04 5:01 
GeneralRe: Switch Statment Pin
Ravi Bhavnani18-Mar-04 6:27
professionalRavi Bhavnani18-Mar-04 6:27 
GeneralRe: Switch Statment Pin
Roger Wright18-Mar-04 7:20
professionalRoger Wright18-Mar-04 7:20 
GeneralRe: Switch Statment Pin
Joel Lucsy18-Mar-04 8:35
Joel Lucsy18-Mar-04 8:35 
GeneralRe: Switch Statment Pin
toxcct18-Mar-04 9:07
toxcct18-Mar-04 9:07 
GeneralRe: Switch Statment Pin
Joel Lucsy18-Mar-04 9:54
Joel Lucsy18-Mar-04 9:54 
GeneralInstall Shield Pin
mohdshiraz18-Mar-04 4:13
mohdshiraz18-Mar-04 4:13 
GeneralRe: Install Shield Pin
Heath Stewart18-Mar-04 4:46
protectorHeath Stewart18-Mar-04 4:46 
Generalctreectrl and its normal image list Pin
Anonymous18-Mar-04 4:07
Anonymous18-Mar-04 4:07 
GeneralRe: ctreectrl and its normal image list Pin
Yogurt18-Mar-04 6:06
Yogurt18-Mar-04 6:06 
GeneralDrive in explorer Pin
Peter Liddle18-Mar-04 3:56
Peter Liddle18-Mar-04 3:56 
GeneralRe: Drive in explorer Pin
Peter Liddle18-Mar-04 4:11
Peter Liddle18-Mar-04 4:11 
GeneralRe: Drive in explorer Pin
Michael Dunn18-Mar-04 5:03
sitebuilderMichael Dunn18-Mar-04 5:03 
GeneralAnsi to Unicode string using basic_string Pin
Jim Crafton18-Mar-04 3:23
Jim Crafton18-Mar-04 3:23 
GeneralRe: Ansi to Unicode string using basic_string Pin
Prakash Nadar18-Mar-04 4:43
Prakash Nadar18-Mar-04 4:43 
GeneralRe: Ansi to Unicode string using basic_string Pin
J. Eric Vaughan18-Mar-04 5:04
J. Eric Vaughan18-Mar-04 5:04 
GeneralRe: Ansi to Unicode string using basic_string Pin
Michael Dunn18-Mar-04 5:05
sitebuilderMichael Dunn18-Mar-04 5:05 

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.