Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualMisery

Posted 19 January 2012 - 04:47 PM

Should it be something like this:
int Rows,Cols //have some values
matrix=(float**)Allocate(Rows*sizeof(float*)+Rows*(Cols-1)*sizeof(float));
  for (int i=0;i<Rows;i++) matrix[i]=matrix[i*Rows];

?? :]

#1Misery

Posted 19 January 2012 - 04:45 PM

Should it be something like this:
 int Rows,Cols //have some values
 matrix=(float**)Allocate(Rows*sizeof(float*)+Rows*(Cols-1));
  for (int i=0;i<Rows;i++) matrix[i]=matrix[i*Rows];

?? :]

PARTNERS