I would like to create a relational database using only C++. What
would be more appropriate, using arrays,
Don't use arrays. Standard library containers are safer,
easier to use, and have built-in operations.
A linked list (possibly in addition to other structure type)
is one of many possibilities.
or some sort of
templates
Templates are for building generic classes and functions.
They might or might not help, depending upon your needs.
It's highly likely you'd use structs to define database records.
(Note that in C++, a class and a struct are the same thing, only
with minor semantic difference).
You need to determine specifically what your database needs to
do. Only then could you make intelligent choices about its
implementation.
Finally, yours is not a question about the C++ language; you'd
probably get the best advice by asking this in a newsgroup about
databases.
-Mike