Skip to content

Instantly share code, notes, and snippets.

@LTe
Created March 3, 2010 23:27
Show Gist options
  • Save LTe/321190 to your computer and use it in GitHub Desktop.
Save LTe/321190 to your computer and use it in GitHub Desktop.
Complex** alok(int n, int m)
{
Complex **A;
int k;
A = (Complex **) malloc(sizeof(Complex*) * n); // Alokowanie macierzy,$
for(k=0; k<=n; k++)
*(A+k) = (Complex*) malloc(sizeof(Complex) * (m+1)); // Dolacze$
return A;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment