Click here to Skip to main content
16,021,004 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to watch the content which is pointed by a pointer Pin
wendyyue5-Mar-08 3:50
wendyyue5-Mar-08 3:50 
AnswerRe: how to watch the content which is pointed by a pointer Pin
toxcct5-Mar-08 4:15
toxcct5-Mar-08 4:15 
GeneralRe: how to watch the content which is pointed by a pointer Pin
Rajkumar R5-Mar-08 4:59
Rajkumar R5-Mar-08 4:59 
GeneralRe: how to watch the content which is pointed by a pointer Pin
toxcct5-Mar-08 5:01
toxcct5-Mar-08 5:01 
GeneralRe: how to watch the content which is pointed by a pointer Pin
Rajkumar R5-Mar-08 5:12
Rajkumar R5-Mar-08 5:12 
AnswerRe: how to watch the content which is pointed by a pointer Pin
Ernest Laurentin5-Mar-08 4:44
Ernest Laurentin5-Mar-08 4:44 
GeneralRe: how to watch the content which is pointed by a pointer Pin
wendyyue6-Mar-08 1:27
wendyyue6-Mar-08 1:27 
QuestionVC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 2:54
johnny alpaca5-Mar-08 2:54 
I have a CListBox in which I display a string using the AddString function
For the CString I use it's Format Function

CListBox List1;
CString str;
short Data[50];
int DataSize ; /* variable */

DataSize = /*some processing */
for ( i=0;i<j;i++)

{
/* some other processing*/
str.Format("%X ",Data[i]);
List1.AddString(str);


}

My current code Data is outputed in this manner
05
25
6F
E2

I want my display to be like this :
Contents of Data[DataSize-1] Contents of Data[DataSize-2] .... Data[0]
e.g if Data[0]= 05 Data[1]= 25 Data[2]=6F and Data[3]= E2

Display I want is
E2 6F 25 05 (ie in the same line )

How do I go about doing it ? any help woould be appreciated
AnswerRe: VC++ 6.0 question newbie question Pin
Rajkumar R5-Mar-08 3:14
Rajkumar R5-Mar-08 3:14 
GeneralRe: VC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 3:18
johnny alpaca5-Mar-08 3:18 
QuestionRe: VC++ 6.0 question newbie question Pin
Rajkumar R5-Mar-08 3:19
Rajkumar R5-Mar-08 3:19 
GeneralRe: VC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 3:20
johnny alpaca5-Mar-08 3:20 
GeneralRe: VC++ 6.0 question newbie question Pin
Rajkumar R5-Mar-08 3:29
Rajkumar R5-Mar-08 3:29 
AnswerRe: VC++ 6.0 question newbie question Pin
Ozer Karaagac5-Mar-08 3:37
professionalOzer Karaagac5-Mar-08 3:37 
GeneralRe: VC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 23:47
johnny alpaca5-Mar-08 23:47 
GeneralRe: VC++ 6.0 question newbie question Pin
toxcct5-Mar-08 3:39
toxcct5-Mar-08 3:39 
QuestionRe: VC++ 6.0 question newbie question Pin
David Crow5-Mar-08 8:40
David Crow5-Mar-08 8:40 
GeneralRe: VC++ 6.0 question newbie question Pin
toxcct5-Mar-08 21:14
toxcct5-Mar-08 21:14 
QuestionRe: VC++ 6.0 question newbie question Pin
David Crow6-Mar-08 4:18
David Crow6-Mar-08 4:18 
GeneralRe: VC++ 6.0 question newbie question Pin
toxcct6-Mar-08 4:20
toxcct6-Mar-08 4:20 
Generalredundant allocation Pin
George_George5-Mar-08 2:45
George_George5-Mar-08 2:45 
GeneralRe: redundant allocation [modified] Pin
toxcct5-Mar-08 4:10
toxcct5-Mar-08 4:10 
GeneralRe: redundant allocation Pin
George_George5-Mar-08 18:29
George_George5-Mar-08 18:29 
GeneralRe: redundant allocation Pin
toxcct5-Mar-08 21:16
toxcct5-Mar-08 21:16 
GeneralRe: redundant allocation Pin
George_George5-Mar-08 21:39
George_George5-Mar-08 21:39 

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.