Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to check the execution time of any program that is execute Pin
shiraztk23-Nov-04 18:08
shiraztk23-Nov-04 18:08 
GeneralRe: how to check the execution time of any program that is execute Pin
shiva shankar24-Nov-04 17:50
shiva shankar24-Nov-04 17:50 
Generalgraphics program help Pin
glowskull0323-Nov-04 15:28
glowskull0323-Nov-04 15:28 
GeneralTooltip on CHeaderCtrl of CListCtrl Pin
Vancouver23-Nov-04 15:08
Vancouver23-Nov-04 15:08 
GeneralInvisiable dialog on the entire screen Pin
Jon823-Nov-04 13:47
Jon823-Nov-04 13:47 
GeneralRe: Invisiable dialog on the entire screen Pin
John R. Shaw23-Nov-04 14:25
John R. Shaw23-Nov-04 14:25 
GeneralRe: Invisiable dialog on the entire screen Pin
Ryan Binns23-Nov-04 17:09
Ryan Binns23-Nov-04 17:09 
Generalascii conversion HELP!!! Pin
Member 153128723-Nov-04 13:38
Member 153128723-Nov-04 13:38 
im using visual studio 2003.net and am trying to convert integer numbers from 1-255 into its equivalent ascii character then display it in a textbox, i tried to immediately display a character but the ascii code is the one that gets displayed. right now, im doing it the hard way by comparing each integer value and then placing into a variable its corresponding ascii character. is there a simpler way to do this? please help...

my original program flow:

char dataBuffer[512];

- data goes inside dataBuffer
- i get parts of it by using the index
- i use ToString() method to convert it to string
- display them in a textbox

the problem with this is that let's say,

dataBuffer[0] = 'A';
textBox->Text = dataBuffer[0].ToString();

OUTPUT: "65";

- i'd like it to be "A" instead of "65"

right now, i made a function which converts whatever is inside dataBuffer[x] by comparing it with ascii codes and placing in another variable the equivalent character, then that's what i display in the textbox.

i'm looking for a way to make it shorter 'coz the code to convert it is already about 510 lines.

please, please, please...
GeneralRe: ascii conversion HELP!!! Pin
John R. Shaw23-Nov-04 14:02
John R. Shaw23-Nov-04 14:02 
GeneralRe: ascii conversion HELP!!! Pin
Member 153128723-Nov-04 14:06
Member 153128723-Nov-04 14:06 
GeneralRe: ascii conversion HELP!!! Pin
John R. Shaw23-Nov-04 14:42
John R. Shaw23-Nov-04 14:42 
GeneralRe: ascii conversion HELP!!! Pin
RYU^^23-Nov-04 19:16
RYU^^23-Nov-04 19:16 
GeneralRe: ascii conversion HELP!!! Pin
Member 153128723-Nov-04 21:23
Member 153128723-Nov-04 21:23 
Generalascii conversion HELP!!! Pin
Member 153128723-Nov-04 13:22
Member 153128723-Nov-04 13:22 
GeneralRe: ascii conversion HELP!!! Pin
Kehllendros23-Nov-04 13:42
Kehllendros23-Nov-04 13:42 
GeneralC++ Code help Pin
BRIMID23-Nov-04 12:24
BRIMID23-Nov-04 12:24 
GeneralRe: C++ Code help Pin
RYU^^23-Nov-04 12:53
RYU^^23-Nov-04 12:53 
GeneralDialog Box error Pin
The_Server23-Nov-04 11:54
The_Server23-Nov-04 11:54 
GeneralRe: Dialog Box error Pin
The_Server23-Nov-04 12:26
The_Server23-Nov-04 12:26 
GeneralRe: Dialog Box error Pin
The_Server23-Nov-04 12:45
The_Server23-Nov-04 12:45 
QuestionGUID ? Pin
BaldwinMartin23-Nov-04 11:29
BaldwinMartin23-Nov-04 11:29 
GeneralSearching for video devices Pin
neilshelton23-Nov-04 11:20
neilshelton23-Nov-04 11:20 
GeneralSOCK_RAW on Microsoft Pin
Flame Gitsnik23-Nov-04 11:15
Flame Gitsnik23-Nov-04 11:15 
GeneralCTreeCtrl Drag and Drop Pin
Ian Bowler23-Nov-04 10:37
Ian Bowler23-Nov-04 10:37 
GeneralTray Bar Pin
The_Server23-Nov-04 10:36
The_Server23-Nov-04 10:36 

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.