|But lile on xcode, GLUT doesnt need to be downloaded.|
If so, that's a Mac speciality. It doesn't tend to come preinstalled elsewhere.
|Is openGL directly part of c++?|
It's not. However, it's an API which you can expect to find an implementation of on any OS/device supporting/having 3D hardware.
|Do a lot of people use OpenGL and Glut for games?|
I doubt any serious projects use GLUT, but other than DirectX on Windows, there's no real alternative to OpenGL if you want 3D graphics. So yes, a lot of people use it.
|So can i make a game like world of wArcraft or call of duty just by using opengl ?|
You can do the rendering
part with OpenGL, yes. However, you'll still have to do window creation, sound, input etc. yourself, because that's not covered by OpenGL (nor the C++ standard library). And since these things work differently on Mac OS X, Windows and Linux, using a cross-platform library such as SDL or SFML saves you a lot of work if you want your game to work on all those platforms.
|because i hear java has all of its api's already in it and you dont have to install third party franeworks and stuff.|
Yes, Java comes with a lot of functionality, especially compared to the bare-bones C++ standard library, however you still need a library such as JOGL for OpenGL support.
Besides, the JRE is one huge third-party framework in itself.