[personal profile] aleeks
Вот такая вот вещь в сях работает... приятно.

double* A;
A = static_cast
[Error: Irreparable invalid markup ('<int*>') in entry. Owner must fix manually. Raw contents below.]

Вот такая вот вещь в сях работает... приятно.

double* A;
A = static_cast<int*>(malloc(countNonzeroItems*sizeof(double)));

for (int i = 0; i < countNonzeroItems; ++i) A[i] = ...

А в общем-то в ObjectPascal тоже можно, но не так симпатично.

Profile

Alexandr

June 2008

S M T W T F S
12 345 67
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 22nd, 2025 04:36 pm
Powered by Dreamwidth Studios