Hello, ive been given an assignment to write a program wich will accept possible titles
and rearange them in abc order, now beside that the program should also count how many times a title begins with a certain letter.

my question is how, or where do i even start to build an array to sort the titles through?
i thought about an array of pointers perhaps but i have no idea how to make 1.

Thank you for your time.


i havent yet made the functions recorsive, but i did manage to make a count.

Firstly:-

I suggest you to read something about ARRAYS and POINTERS in C ....

Secondly:-

We declare array of pointers in C by :

char *array[num];

Above "array" is the name of your array , "num" is the number of pointers to create...


I'll give you the code tomorrow ... Till then read on the net about pointers and arrays ...