Printing part of a .txt file : <p>Hello again and sorry in advance if this a duplicate but I'm a desperate point and I just have to ask!</p>

<p>I'm writing a program in c for a school project, I'm almost done but I got stuck.
I have a txt file shown in this image:
<a href="http://i.stack.imgur.com/RDafL.jpg" rel="nofollow">cars.txt</a></p>

<p>What I need to do with it at this point is print the listed colors but every different color must be printed only once.
Same with the car manufacturers but that's for later.</p>

<p>I'm completely out of ideas... Any help will be greatly appreciated...</p>
