How do you write an abstract data type (ADT) in C++ syntax?

  abstract, abstract-data-type, c++, data-structures, types

I have an assignment where I must define an abstract data type for integers and list the functions of that type and then write it in C++ syntax. My book doesn’t show how to do this, and I’m just now learning about ADT’s so I’m not sure in simple terms what an ADT fully is or how to write one in C++ Syntax. I’m a very visual learner and struggling to understand these concepts unfortunately.

Source: Windows Questions C++

LEAVE A COMMENT