Here is my program thus far (not even sure if I declared everything correct for ptr 2 and 3), now I am very bad with pointers and know even less about nodes. So, the function print_contents is supposed to take a pointer to a node and prints its info, so for like ptr2 it would print e17. Now the blank for loop I left is supposed to run through a list starting at ptr1 and we have to make it to work for any size list (not just 3).
#include <cstdlib>
#include <iostream>
struct tax_node
{
char form; // tax form letter
int version; // tax form number
tax_node *next; // pointer to next node
};