A complete beginner

Hello guys,I am completely new to mac and c++.I don't know anything about programming and mac(Xcode or anything).but I'm highly interested in c++ and it is now my school subject as well. So how do i program c++ in mac like which software and how to use that software ? Because i tried text wrangler and Xcode, and i just don't know how to use them.Thank You