// This starts or ends a cell, or does both void Stack::push_pop_cell(int dir) { if(dir != push_only) { pop(np_cell); add_nl(); } if(dir != pop_only) { push1(np_cell); } }
int main () { char oat[100]; strncpy(oat, "hello", 100); add_nl(oat); to_saves(oat); }