Dynamic allocation. Application: Resolution in propositional logic

Read a file in DIMACS CNF format. It will contain:

Read the file into an appropriate data structure in memory.

For each variable v from 1 to V:

At the end, check there are no more clauses left. The formula is satisfiable.

Marius Minea
Last modified: Wed Jan 29 10:30:00 EET 2014