Just a quick read & reply... What specifically are you having trouble with at the moment? It's easier to say what your specific problem is at the moment than to just say you're having problems, it's vague & basically leaves it upto the reader to try to either figure it out or do the entire thing.
I see you finish with the displayArray function, but it's clear you haven't tried to compile it, I suggest you write each part & keep compiling & testing it as you go fixing errors you find along the way or you'll end up having to rewrite large parts of code in future or large amounts of problems & so on.
Just some things noticed... displayArray prototype declares an int as the only argument when you implement it's definition & when you try to call it you declare & pass a teamInfo object (or an array to be precise) so you'll need to add that to the prototype.
Using system("PAUSE") is bad practice in general, it's not portable & thus generally frowned upon, if you want to pause a console window for a key use a more portable solution like std::cin.get(); which you'll then need to press enter to continue but it'll do the same job while being both lighter & standard/portable.
Oh yea also the while loop in buildArray hasn't got a closing brace & since the function has a return value then you should add one. (Hint: Your link says to return the amount teams in the array)
I see you finish with the displayArray function, but it's clear you haven't tried to compile it, I suggest you write each part & keep compiling & testing it as you go fixing errors you find along the way or you'll end up having to rewrite large parts of code in future or large amounts of problems & so on.
Just some things noticed... displayArray prototype declares an int as the only argument when you implement it's definition & when you try to call it you declare & pass a teamInfo object (or an array to be precise) so you'll need to add that to the prototype.
Using system("PAUSE") is bad practice in general, it's not portable & thus generally frowned upon, if you want to pause a console window for a key use a more portable solution like std::cin.get(); which you'll then need to press enter to continue but it'll do the same job while being both lighter & standard/portable.
Oh yea also the while loop in buildArray hasn't got a closing brace & since the function has a return value then you should add one. (Hint: Your link says to return the amount teams in the array)