Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: COM STA thread Pin
Roger Stoltz8-Sep-08 2:06
Roger Stoltz8-Sep-08 2:06 
GeneralRe: COM STA thread Pin
George_George8-Sep-08 20:21
George_George8-Sep-08 20:21 
QuestionExecutable COM Pin
RYU^^7-Sep-08 13:58
RYU^^7-Sep-08 13:58 
AnswerRe: Executable COM Pin
RYU^^7-Sep-08 16:31
RYU^^7-Sep-08 16:31 
Questionset values to charachter arrays which are entered [modified] Pin
toprogramminguy7-Sep-08 13:54
toprogramminguy7-Sep-08 13:54 
AnswerRe: set values to charachter arrays which are entered Pin
Vincen Wang7-Sep-08 15:04
Vincen Wang7-Sep-08 15:04 
GeneralRe: set values to charachter arrays which are entered [modified] Pin
toprogramminguy8-Sep-08 5:51
toprogramminguy8-Sep-08 5:51 
GeneralRe: set values to charachter arrays which are entered [modified] Pin
Vincen Wang8-Sep-08 16:09
Vincen Wang8-Sep-08 16:09 
toprogramminguy wrote:
for example if you want to display the strings showing what their values are.

toprogramminguy wrote:
cout << ppl[x] << "\n";

You have made it here.

toprogramminguy wrote:
int a[5];

initialize it just like cin>>a[i].....

Well,if you do really want to convert from "int (like a[x])" to "char [](like ppl[x])",what you have related before.(like "str[0]" = a1,"str[1] = a2............").(The compiler does not allow you to do like this ,but you do.)
You can try this:
sprintf(str[i],"%d",a[i]);//#include "stdio.h"
//sprintf(str[i],"%c",a[i]);


You know some birds are not meant to be caged, their feathers are just too bright.

modified on Monday, September 8, 2008 10:25 PM

GeneralRe: set values to charachter arrays which are entered Pin
toprogramminguy10-Sep-08 6:19
toprogramminguy10-Sep-08 6:19 
GeneralRe: set values to charachter arrays which are entered Pin
Vincen Wang15-Sep-08 15:03
Vincen Wang15-Sep-08 15:03 
Questioncannot open any more tables pls help Pin
GPat247-Sep-08 11:49
GPat247-Sep-08 11:49 
AnswerRe: cannot open any more tables pls help Pin
Rane7-Sep-08 19:21
Rane7-Sep-08 19:21 
GeneralRe: cannot open any more tables pls help Pin
GPat248-Sep-08 1:49
GPat248-Sep-08 1:49 
QuestionRe: cannot open any more tables pls help Pin
Mark Salsbery8-Sep-08 6:29
Mark Salsbery8-Sep-08 6:29 
Questionsorting a CListCtrl by clicking on one of it's column's headers makes an arrow appear, but also makes the header appear flat Pin
Sternocera7-Sep-08 8:25
Sternocera7-Sep-08 8:25 
QuestionVirtual World Pin
MrMcIntyre7-Sep-08 4:23
MrMcIntyre7-Sep-08 4:23 
AnswerRe: Virtual World Pin
Perspx7-Sep-08 4:44
Perspx7-Sep-08 4:44 
GeneralRe: Virtual World Pin
AndrewMcIntyre7-Sep-08 5:03
AndrewMcIntyre7-Sep-08 5:03 
GeneralRe: Virtual World Pin
Cedric Moonen7-Sep-08 6:22
Cedric Moonen7-Sep-08 6:22 
AnswerRe: Virtual World Pin
Hamid_RT7-Sep-08 6:39
Hamid_RT7-Sep-08 6:39 
GeneralRe: Virtual World Pin
AndrewMcIntyre7-Sep-08 6:59
AndrewMcIntyre7-Sep-08 6:59 
Question'/RTC1' and '/clr' command-line options are incompatible [modified] Pin
rasred7-Sep-08 0:08
rasred7-Sep-08 0:08 
AnswerRe: '/RTC1' and '/clr' command-line options are incompatible Pin
Rane7-Sep-08 19:41
Rane7-Sep-08 19:41 
QuestionCallback with meber functions Pin
progDes6-Sep-08 20:48
progDes6-Sep-08 20:48 
AnswerRe: Callback with meber functions Pin
oobimoo7-Sep-08 8:26
oobimoo7-Sep-08 8:26 

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.