I am writing the following code on visual studio 2013
#include "malloc.h"
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include "stdafx.h"
#include <assert.h>
void deltree(Node * n)
{
if (n)
{
deltree(n->left);
deltree(n->right);
free(n);
}
}
it doesnt work and it says "error C3861: 'free': identifier not found" any idea?