sorry! Cant' get the pictures to work, here is a second try!
Looks fine, as notjustjay said. You need to open the console from the "Run" menu to see your output, but otherwise you should be fine.
So far you've said you don't understand when your teacher teaches (the blame can be shared, teaching and learning styles can just be incompatible), but then that when you ask for help they don't provide it (that is their fault). This is a problem that's bigger than any particular programming issue or environment issue. If you can't learn from this person and they aren't providing usable assistance outside of class when requested, you shouldn't be paying to teach yourself. You said it was a small college, so there may not be other sections of the class, but if there are you should transfer. If you need this credit and no other professor teaches it (you said teacher not professor, which is concerning, too unless that's just a parlance issue) then you might go to the department head, ombudsman, etc. and explain your situation to see if they can provide other resources. Even if they can't, they need to know if a student is suffering. Maybe there are some grad students, tutors, etc. that can help. We can try to fill that role, but you are paying the school and not paying us. We are happy to help, but we can't really provide a formal education.
If your teacher has never
heard of g++ and they teach a C++ class this is a serious red flag. Either they don't believe in OSes other than Windows or they don't actually know C++. Neither of these is a big positive.
I think you are going to be able to use XCode without issue once you pop the console open, but I would beg that you test out writing code in an editor like Smultron or TextWrangler (other have recommended these, I have not used them myself), then compile and debug your code from a Terminal prompt. If you haven't used a terminal before this may seem a little scary, but it will build character and you will be better for it.
Good luck in both learning to program and getting out of this class. If you can't get help from higher up in the department that says a bad thing about it and transferring out of the class may be ineffective, and transferring to a different school might behoove you. I transferred after my first year at University to a much better school and it made a huge difference. You shouldn't do so based on an anonymous stranger on the internet, but if there is a culture mismatch between yourself and the faculty and staff at your school you're going to suffer.
-Lee