okay heres my problem
i need to write a small program using the vector data structure but i am unsure how to set up the structure itself, i can manage queues and stacks without too much difficulty, but the vector eludes my small mind
i dont want anyone to write my program, just some hints and tips will be great
heres what i think i need
struct datatype
{
char errorMessage[27];//used to store each message
};
struct vectorTable
{
datatype data;
};
.
.
.
int main(void)
{
datatype data[10];//maximum messages required
.
.
.
}
and so on
any help will be appreciated
thanx