Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher5-Aug-03 4:51
John M. Drescher5-Aug-03 4:51 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley5-Aug-03 5:02
Terry O'Nolley5-Aug-03 5:02 
GeneralRe: Is there a better way to handle dialog class variables? Pin
John M. Drescher5-Aug-03 5:28
John M. Drescher5-Aug-03 5:28 
GeneralRe: Is there a better way to handle dialog class variables? Pin
Terry O'Nolley5-Aug-03 6:10
Terry O'Nolley5-Aug-03 6:10 
GeneralStore procedure Pin
PrasadD4-Aug-03 12:38
PrasadD4-Aug-03 12:38 
GeneralRe: Store procedure Pin
David Crow5-Aug-03 2:53
David Crow5-Aug-03 2:53 
GeneralRFX_Binary Pin
FJK4-Aug-03 12:01
FJK4-Aug-03 12:01 
Generalchar array declaration Pin
edujule4-Aug-03 12:00
edujule4-Aug-03 12:00 
Hello, this is probably a rather stupid question but I've been having problems with it for a couple of days...
I have to send a message over a TCP/IP conection, i.e. sockets...the message that I must send should have a header and a trailer, the message structure is this:

<esc><esc><esc><stx><message><esc><esc><esc><etx>13<null>

I found on asciitable.com that ESC, STX, and ETX have a decimal int value of 27, 2 and 3 respectively...

I have declare the array like this:

char message[]={27,27,27,2,'h','e','l','l','o',27,27,27,3};

when I compile it marks errors, how can I address ESC, STX and ETX in a char array????
GeneralRe: char array declaration Pin
Ted Ferenc4-Aug-03 12:11
Ted Ferenc4-Aug-03 12:11 
GeneralRe: char array declaration Pin
Miszou4-Aug-03 16:19
Miszou4-Aug-03 16:19 
GeneralRe: char array declaration Pin
David Crow5-Aug-03 3:10
David Crow5-Aug-03 3:10 
GeneralBrowse Button in an Dialog Box Pin
ppathan4-Aug-03 11:46
ppathan4-Aug-03 11:46 
GeneralRe: Browse Button in an Dialog Box Pin
valikac4-Aug-03 13:05
valikac4-Aug-03 13:05 
GeneralRe: Browse Button in an Dialog Box Pin
HPSI4-Aug-03 16:24
HPSI4-Aug-03 16:24 
GeneralRe: Browse Button in an Dialog Box Pin
calebcohoon4-Aug-03 19:16
calebcohoon4-Aug-03 19:16 
QuestionChange font of MessageBox ? Pin
_skidrow_vn_4-Aug-03 11:38
_skidrow_vn_4-Aug-03 11:38 
GeneralSockets - How to display ONLY the network servers.. Pin
IrishSonic4-Aug-03 11:38
IrishSonic4-Aug-03 11:38 
GeneralRe: Sockets - How to display ONLY the network servers.. Pin
Anders Molin4-Aug-03 12:25
professionalAnders Molin4-Aug-03 12:25 
GeneralSystem Management Bus Access Pin
Zero_divide_14-Aug-03 10:39
Zero_divide_14-Aug-03 10:39 
GeneralChanging Title of MFC Window Pin
Tadpole4-Aug-03 10:17
Tadpole4-Aug-03 10:17 
GeneralRe: Changing Title of MFC Window Pin
Wes Aday4-Aug-03 12:01
professionalWes Aday4-Aug-03 12:01 
GeneralRe: Changing Title of MFC Window Pin
Bob Stanneveld4-Aug-03 21:49
Bob Stanneveld4-Aug-03 21:49 
GeneralString operations Pin
Cpudood4-Aug-03 10:15
Cpudood4-Aug-03 10:15 
GeneralRe: String operations Pin
Michael Dunn4-Aug-03 10:24
sitebuilderMichael Dunn4-Aug-03 10:24 
GeneralRe: String operations Pin
Cpudood4-Aug-03 10:35
Cpudood4-Aug-03 10:35 

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.