Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: pass multi-byte (or wide) characters to DeleteFile Pin
CPallini29-Jul-07 21:24
mveCPallini29-Jul-07 21:24 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 21:30
George_George29-Jul-07 21:30 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
CPallini29-Jul-07 21:36
mveCPallini29-Jul-07 21:36 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 21:41
George_George29-Jul-07 21:41 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
CPallini29-Jul-07 21:51
mveCPallini29-Jul-07 21:51 
GeneralRe: pass multi-byte (or wide) characters to DeleteFile Pin
George_George29-Jul-07 23:53
George_George29-Jul-07 23:53 
QuestionMathematics library Pin
Shashi.Shinde29-Jul-07 20:55
Shashi.Shinde29-Jul-07 20:55 
AnswerRe: Mathematics library Pin
Nelek29-Jul-07 21:15
protectorNelek29-Jul-07 21:15 
The best option is check those libs out and choose the one that has what you need. But I thing there is not any operation you need in the standard "math.h" and "math.lib". Anyways... they are not difficult. Every operation from the list can be solved programmng your own functions with in a short code. I.E.

Matrix Multiplication
double A[M1][N1];
double B[M2][N2];
double C[M3][N3];

//I suppose A and B are already with datas inside
//(m1 x n1) x (m2, n2) = (m1 x n2) dimension of matrix, where n1 and m2 have to be the same
void Mult_Matrix (int m1, int n1, int m2, int n2) 
{	int i = 0, j = 0, k = 0;
	if (n1 != m2) //Matrix can't be multiplied
		return; 

	for (i = 0; i < m1; i++)
	{
		for (j = 0; j < n2; j++)
		{
			while (k < n1)
				C[i][j] += A[i][k] * B[k][j];
		}
	}
}


And the rest are to be not difficult. By the way... I have done it in the samplest way. You can give a pointer to your class CMatrix as return, give error messages and so on... It depends on what you need/want to do. Try it and ask if you have problems, we'll help you.

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

GeneralRe: Mathematics library Pin
Shashi.Shinde29-Jul-07 21:31
Shashi.Shinde29-Jul-07 21:31 
GeneralRe: Mathematics library Pin
Nelek29-Jul-07 21:46
protectorNelek29-Jul-07 21:46 
AnswerRe: Mathematics library Pin
Shouvik Das29-Jul-07 23:43
Shouvik Das29-Jul-07 23:43 
GeneralRe: Mathematics library Pin
Shashi.Shinde30-Jul-07 0:06
Shashi.Shinde30-Jul-07 0:06 
AnswerRe: Mathematics library Pin
beko29-Jul-07 23:59
beko29-Jul-07 23:59 
GeneralRe: Mathematics library Pin
Shashi.Shinde30-Jul-07 0:06
Shashi.Shinde30-Jul-07 0:06 
GeneralRe: Mathematics library Pin
Iain Clarke, Warrior Programmer30-Jul-07 1:01
Iain Clarke, Warrior Programmer30-Jul-07 1:01 
GeneralRe: Mathematics library Pin
Shashi.Shinde30-Jul-07 1:18
Shashi.Shinde30-Jul-07 1:18 
AnswerRe: Mathematics library Pin
Nemanja Trifunovic30-Jul-07 2:40
Nemanja Trifunovic30-Jul-07 2:40 
GeneralRe: Mathematics library Pin
Eytukan30-Jul-07 3:48
Eytukan30-Jul-07 3:48 
Questionhandle of SDI application Pin
rp_suman29-Jul-07 20:51
rp_suman29-Jul-07 20:51 
AnswerRe: handle of SDI application Pin
prasad_som29-Jul-07 21:08
prasad_som29-Jul-07 21:08 
GeneralRe: handle of SDI application Pin
rp_suman30-Jul-07 21:09
rp_suman30-Jul-07 21:09 
AnswerRe: handle of SDI application Pin
prasad_som30-Jul-07 21:14
prasad_som30-Jul-07 21:14 
QuestionHow this expression get's executed Pin
hari prasad sathpadi29-Jul-07 20:38
hari prasad sathpadi29-Jul-07 20:38 
AnswerRe: How this expression get's executed Pin
cp987629-Jul-07 20:58
cp987629-Jul-07 20:58 
QuestionDivide By Zero/NULL pointer exceptions Pin
vikramlinux29-Jul-07 20:37
vikramlinux29-Jul-07 20:37 

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.