Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan not set affinity Thread Pin
duongcntt4b2-Jun-09 0:32
duongcntt4b2-Jun-09 0:32 
AnswerRe: Can not set affinity Thread Pin
«_Superman_»2-Jun-09 0:38
professional«_Superman_»2-Jun-09 0:38 
GeneralRe: Can not set affinity Thread Pin
duongcntt4b2-Jun-09 1:25
duongcntt4b2-Jun-09 1:25 
GeneralRe: Can not set affinity Thread Pin
«_Superman_»2-Jun-09 1:44
professional«_Superman_»2-Jun-09 1:44 
Questionvalidate xml with Xsd in C++ Pin
MrKBA2-Jun-09 0:03
MrKBA2-Jun-09 0:03 
AnswerRe: validate xml with Xsd in C++ Pin
Cedric Moonen2-Jun-09 0:16
Cedric Moonen2-Jun-09 0:16 
AnswerRe: validate xml with Xsd in C++ Pin
Stuart Dootson2-Jun-09 0:59
professionalStuart Dootson2-Jun-09 0:59 
GeneralRe: validate xml with Xsd in C++ Pin
MrKBA3-Jun-09 3:00
MrKBA3-Jun-09 3:00 
GeneralRe: validate xml with Xsd in C++ Pin
Stuart Dootson3-Jun-09 3:18
professionalStuart Dootson3-Jun-09 3:18 
Questionhtlmview crashed in child dialog Pin
Bilge Kaan1-Jun-09 23:52
Bilge Kaan1-Jun-09 23:52 
AnswerRe: htlmview crashed in child dialog Pin
«_Superman_»2-Jun-09 0:14
professional«_Superman_»2-Jun-09 0:14 
GeneralRe: htlmview crashed in child dialog Pin
Bilge Kaan2-Jun-09 0:35
Bilge Kaan2-Jun-09 0:35 
Questionwindows.h Pin
agetina1-Jun-09 23:34
agetina1-Jun-09 23:34 
QuestionRe: windows.h Pin
CPallini1-Jun-09 23:40
mveCPallini1-Jun-09 23:40 
AnswerRe: windows.h Pin
Stuart Dootson1-Jun-09 23:50
professionalStuart Dootson1-Jun-09 23:50 
AnswerRe: windows.h Pin
Rajesh R Subramanian1-Jun-09 23:58
professionalRajesh R Subramanian1-Jun-09 23:58 
QuestionApproach for License Validation. Pin
mmayur1-Jun-09 23:13
mmayur1-Jun-09 23:13 
QuestionRe: Approach for License Validation. Pin
CPallini1-Jun-09 23:42
mveCPallini1-Jun-09 23:42 
QuestionReference in Arrays Pin
Anu_Bala1-Jun-09 22:57
Anu_Bala1-Jun-09 22:57 
In one of my sample console aplicaiton,i found this following code and i shows unhanlled exception in bolded line.
Even i couldnot understand the logic over there.

float *X;
float SUM;
int K, J, I;
int N=3;
double A[10][10];
double C[10];


*(X+N) = C[N] / A[N][N];

for(I=N-1;I>=1;I--)
{
SUM = 0.0;

for(J=I+1;J<=N;J++)
{
SUM = SUM + A[I][J] * (*(X+J));
}

*(X+I) = ( C[I] - SUM ) / A[I][I];

}
Actually this is library function that i cann't change the code,simply i can use this code.I have to get the return value of X(1),X(2),X(3).

Can you please explain this code.Whether it is right code.

Anu

AnswerRe: Reference in Arrays Pin
«_Superman_»1-Jun-09 23:34
professional«_Superman_»1-Jun-09 23:34 
AnswerRe: Reference in Arrays Pin
CPallini1-Jun-09 23:39
mveCPallini1-Jun-09 23:39 
GeneralRe: Reference in Arrays Pin
Anu_Bala1-Jun-09 23:47
Anu_Bala1-Jun-09 23:47 
QuestionDialogs not editable anymore Pin
MarcoNedwig1-Jun-09 21:49
MarcoNedwig1-Jun-09 21:49 
AnswerRe: Dialogs not editable anymore Pin
molesworth1-Jun-09 22:38
molesworth1-Jun-09 22:38 
QuestionFrom C++ Windows Forms Pin
wael_r1-Jun-09 21:44
wael_r1-Jun-09 21:44 

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.