Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: From C++ Windows Forms Pin
ashukasama1-Jun-09 21:58
ashukasama1-Jun-09 21:58 
AnswerRe: From C++ Windows Forms Pin
Stuart Dootson1-Jun-09 23:53
professionalStuart Dootson1-Jun-09 23:53 
QuestionDRMInitEnvironment function fails............... :( Pin
deadlyabbas1-Jun-09 21:29
deadlyabbas1-Jun-09 21:29 
QuestionRe: DRMInitEnvironment function fails............... :( Pin
Jordan_Tao9-Jul-13 21:40
Jordan_Tao9-Jul-13 21:40 
QuestionMsiInstallProduct() function not working in Win2008 server SP1(64 bit) Pin
birajendu1-Jun-09 20:49
birajendu1-Jun-09 20:49 
QuestionHow to get minimize all dialog with main windiw? Pin
002comp1-Jun-09 20:20
002comp1-Jun-09 20:20 
AnswerRe: How to get minimize all dialog with main windiw? Pin
Naveen1-Jun-09 20:32
Naveen1-Jun-09 20:32 
GeneralRe: How to get minimize all dialog with main windiw? Pin
002comp1-Jun-09 22:17
002comp1-Jun-09 22:17 
GeneralRe: How to get minimize all dialog with main windiw? Pin
Naveen1-Jun-09 22:18
Naveen1-Jun-09 22:18 
GeneralRe: How to get minimize all dialog with main windiw? Pin
002comp1-Jun-09 22:30
002comp1-Jun-09 22:30 
QuestionUnicode 5.1 ( Basic Multilingual Plane ) - Language Identification related problem Pin
PankajB1-Jun-09 19:49
PankajB1-Jun-09 19:49 

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.