Help Tracking Mouse Input

Hi all. I consider my self a novice programmer, and I want some help putting together a project.

I want to make a Memory Card game were you compare two cards and remove cards from the field that are a match. To make things clear, I do not want clear answers, just pointed in the right direction. I was hoping to have a text-based GUI where the user can click on a "card", that card is revealed, and repeat the process a second time. The user then attempts to make matches until the field is empty of cards.

If I am leaving any pertinent information out, just let me know.
I am using C++ in Visual Studio 2010

Any help is appreciated.
@zared619

Hopefully, this can help get you started. Look at the last entry, by me.

http://v2.cplusplus.com/forum/beginner/106981/
Thank you very much! This is exactly what I was looking for. If I have any more issues in the next few days, I will let you know.
I would be more inclined to point him to use Curses to mess with the console.
http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/mouse.html

Unless you never want to run your code on anything but Windows... in which case using the Windows API is fine.
I'm a windows guy. I'm not too good with Linux yet, and I despise Apple. I don't want to start a war though, so let's just leave it at that.
Thank you Duoas for your input though.
Topic archived. No new replies allowed.