|
houari_id wrote: for (int x=0;x for (x=0;x B[x][0] = A[0][M];
B[x][1] = A[1][M];
}
houari_id wrote: for (int z=0; z temp_Sum += (A[x][z]*B[z][y]);
}
i guess this is not what you wanted to type...
so, use the little [Modify] link at the botton of your post and there, uncheck the Ignore HTML tags in this message checkbox...
thanks
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Mmmhhh, forgot to uncheck the 'Ignore HTML tags' ?
|
|
|
|
|
arf, nop
actually, when a Copied/pasted the checkbox caption, i did not see that i checked it...
and as CP is so slow some times, you answered before i had the time to uncheck it
but it's fixed now
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
ah... i guess so... ^^;;;
sorry..
|
|
|
|
|
houari_id wrote: what should I do?
Your use of a 2D array is incorrect. Try:
double **B = new double*[FirstDimension];
for (int x = 0; x < FirstDimension; x++)
{
B[x] = new double[SecondDimension];
for (int y = 0; y < SecondDimension; y++)
{
B[x][y] = 0.0;
}
}
...
for (x = 0; x < FirstDimension; x++)
delete [] B[x];
delete [] B;
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Ah!! It worked!! Thank you very much...
|
|
|
|
|
hello,
i am very new to VC++.Net. i am getting lots of bugs while working with
MsAccess Database. Here is my code fragment. i used the Connection
object from toolbox. so the connection is ok. i am able to retrieve the
data. But i failed to modify (inserting, updating and deleting).
DataSet *ds;
OleDb::OleDbDataAdapter* adapter=new OleDb::OleDbDataAdapter("select
prt_text,cut from spool",oleDbConnection1);
oleDbConnection1->Open();
adapter->Fill(ds,"spool");
DataRow *dr=ds->Tables->Item[0]->Rows->get_Item(1);
ds->Tables->Item[0]->Rows->Remove(dr);
ds->AcceptChanges();
adapter->Update(ds,"spool");
oleDbConnection1->Close();
how do i delete a record, update a record and add a record. plz help
me.
Thank u in advance.
regards,
basheer.
|
|
|
|
|
Hi
use CDatabase
.Open() to open database
.ExecuteNonQuery() to execute insert, update, delete statements
use CRecordset to execute select statements
Hope this helps
Thomas
|
|
|
|
|
Urgent help my entire ERP project's class view is missing Resourse view stopped working. Yesterday it was ok,today its not there
I dont know what happened?
|| ART OF LIVING ||
|
|
|
|
|
Hi shiv
did u try to clear all the files in
the Debug derectory of u r project ,
and reloading the project.
Dont u use visual source safe , or anyother
project management?
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
vikas please I am eager to know about source safe ,Now everything is too much for me ,please tell me about source safe and how to use it.Is it can be learned quickly
|| ART OF LIVING ||
|
|
|
|
|
i want to draw a pie chart and graph in my project which is in MFC , please help me to do this .
i m working in polling system , so after getting opinion i want to draw in pie chart and graph , suppose i have 4 options
sachin
|
|
|
|
|
Look here , here and here
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
Giorgi Moniava wrote: Look here , here and here
Hain You! you type very Fast, which finger are you using
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
-- modified at 3:36 Monday 7th November, 2005
|
|
|
|
|
ThatsAlok wrote: Hain You! you type very Fast, which finger are you using
Me ? I am typing with my nose
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
Giorgi Moniava wrote: I am typing with my nose
God Bless your Nose
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote: God Bless your Nose
yours also Alok :->
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
Giorgi Moniava wrote: yours also Alok
But I don't use Nose to type.. i have two hand to do soo ...
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote: But I don't use Nose to type.. i have two hand to do soo ...
I did not know that ;)
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
|
toxcct wrote: what ???? i really thought at a time that we were making up the "faster nose" contest...
while collecting data for the article.. i come across this thread :-
Misunderstanding[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
vikas amin wrote: Vikas Amin
Hian Vikas sorry,
By mistake or By intentions I vote you 1, Sorry for same!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
|
Dear All,
How can i access webservice in C++, can i have sample code for the same.
With Regrads
Manoj
|
|
|
|