All the details, make all the difference!
1) Is the list in a file? If so, what's the file name and path (if needed).
2) What is the type of data in the list? Strings are handled a bit different than integers, etc.
3) ditto, "specific-element". What's it's data type?
Calling a function is just naming the function on it's own line, with the right parameters (if any), enclosed in parenthesis myFunction(); Functions need a prototype before they're referred to in the program. Something like this:
Code:
void myFunction(int number, char aLetter);
This prototype shows myFunction has no return value from it (void), and will be passed one integer variable called "number", and one char variable called "aLetter").
Welcome to the forums, and please give this a shot. Any program code you post here, click on the # sign after you highlight it, and it will put your code into "tags" to make it more readable.
Please remember to indent your code three spaces or so, for each level of indentation.
If you're confused about it, just look around at the posted code on the forum. Some is great, some is very hard to read.