Click here to Skip to main content
15,884,099 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionShellExecute Pin
Jerrick70079-Jan-14 10:38
Jerrick70079-Jan-14 10:38 
AnswerRe: ShellExecute Pin
Richard Andrew x649-Jan-14 11:13
professionalRichard Andrew x649-Jan-14 11:13 
QuestionWhat is difference between A2W and MutiByteToWideChar? Pin
WuRunZhe22-Nov-13 1:32
WuRunZhe22-Nov-13 1:32 
AnswerRe: What is difference between A2W and MutiByteToWideChar? Pin
Richard MacCutchan22-Nov-13 4:00
mveRichard MacCutchan22-Nov-13 4:00 
GeneralRe: What is difference between A2W and MutiByteToWideChar? Pin
WuRunZhe22-Nov-13 15:12
WuRunZhe22-Nov-13 15:12 
QuestionIcon color resolution Pin
nasrin198421-Nov-13 22:50
nasrin198421-Nov-13 22:50 
AnswerRe: Icon color resolution Pin
Richard MacCutchan21-Nov-13 23:00
mveRichard MacCutchan21-Nov-13 23:00 
AnswerRe: Icon color resolution Pin
WuRunZhe22-Nov-13 2:43
WuRunZhe22-Nov-13 2:43 
QuestionStatic Analysis code reqired for C++ Pin
GauranG Shah19-Nov-13 22:48
GauranG Shah19-Nov-13 22:48 
AnswerRe: Static Analysis code reqired for C++ Pin
John Schroedl20-Nov-13 2:31
professionalJohn Schroedl20-Nov-13 2:31 
AnswerRe: Static Analysis code reqired for C++ Pin
Stefan_Lang24-Feb-14 0:07
Stefan_Lang24-Feb-14 0:07 
QuestionStuck in Delegates and Events concept, what are the differences and when do we use them? Pin
atoi_powered16-Nov-13 10:02
atoi_powered16-Nov-13 10:02 
AnswerRe: Stuck in Delegates and Events concept, what are the differences and when do we use them? Pin
Richard Andrew x6416-Nov-13 10:53
professionalRichard Andrew x6416-Nov-13 10:53 
QuestionI'm learning C++/CLI by reading MS VC++/CLI Step by Step, any advice guys? Pin
atoi_powered14-Nov-13 4:03
atoi_powered14-Nov-13 4:03 
SuggestionRe: I'm learning C++/CLI by reading MS VC++/CLI Step by Step, any advice guys? Pin
Richard MacCutchan14-Nov-13 6:11
mveRichard MacCutchan14-Nov-13 6:11 
AnswerRe: I'm learning C++/CLI by reading MS VC++/CLI Step by Step, any advice guys? Pin
John Schroedl15-Nov-13 2:55
professionalJohn Schroedl15-Nov-13 2:55 
Questionhaching with MD5 Pin
Member 102601559-Nov-13 1:04
Member 102601559-Nov-13 1:04 
AnswerRe: haching with MD5 Pin
Richard MacCutchan9-Nov-13 2:17
mveRichard MacCutchan9-Nov-13 2:17 
AnswerRe: haching with MD5 Pin
WuRunZhe22-Nov-13 2:57
WuRunZhe22-Nov-13 2:57 
Questiontest Pin
Member 103174293-Nov-13 4:51
Member 103174293-Nov-13 4:51 
C#
#include <stdio.h>
#include<string.h>

char f[10000];
char factorial[1010][10000];

void multiply(int k)
{
int cin,sum,i;
int len = strlen(f);
cin=0;
i=0;
while(i<len)
{
sum=cin+(f[i] - '0') * k;
f[i] = (sum % 10) + '0';
i++;
cin = sum/10;
}
while(cin>0)
{
f[i++] = (cin%10) + '0';
cin/=10;
}
f[i]='\0';
for(int j=0;j<i;j++)
factorial[k][j]=f[j];

factorial[k][i]='\0';
}
void fac()
{
int k;
strcpy(f,"1");
for(k=2;k<=1000;k++)
multiply(k);
}
void print(int n)
{
int i;
int len = strlen(factorial[n]);
printf("%d!\n",n);
for(i=len-1;i>=0;i--)
printf("%c",factorial[n][i]);
printf("\n");
}
int main()
{
int n;
factorial[0][0]='1';
factorial[1][0]='1';
fac();
while(scanf("%d",&n)==1){
print(1);
}
return 0;
}

AnswerRe: test Pin
super14-Nov-13 2:41
professionalsuper14-Nov-13 2:41 
AnswerRe: test Pin
WuRunZhe22-Nov-13 15:19
WuRunZhe22-Nov-13 15:19 
AnswerRe: test Pin
Squiggs8-Dec-13 6:41
Squiggs8-Dec-13 6:41 
AnswerRe: test Pin
David.Moore8718-Dec-13 5:25
David.Moore8718-Dec-13 5:25 
AnswerRe: test Pin
Stefan_Lang24-Feb-14 0:27
Stefan_Lang24-Feb-14 0:27 

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.