[ create a new paste ] login | about

Link: http://codepad.org/lkMha1Qw    [ raw code | fork ]

C++, pasted on Oct 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdlib.h>

double *deg;

void degris()
{
	deg = new double[p];
}
int main()
{
   degris();
   delete[] deg;// возникает ошибка
}


Create a new paste based on this one


Comments: