I'm new to the board, so first - hi.
I'm also fairly new to C programming, but have a good background in Java and a little C++.
There's part of a program that I'm stuck on how to do:
I'm fairly certain my constructor works, so I'm not posting that. For compilation I'm just trying to create a SymTab of size 25 with a bunch of NULL pointers instead of SymEntrys. Now, to destroy it I've triedCode:struct SymTab { int Size; struct SymEntry **Contents; };
andCode:free((struct SymTab) ATable);
neither of which will compile... can someone please help?Code:free(ATable);