Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aresti

macrumors newbie
Original poster
Jun 17, 2008
7
0
Hello, I want to draw in 2d, I want to use xcode and c++. My partners at University use dev++ and a library..., I have a mac and i want to know which graphic library works with xcode and c++.
Yours
 

yeroen

macrumors 6502a
Mar 8, 2007
944
2
Cambridge, MA
Realize that Xcode is just an IDE. Windows tends obscures the distinction since the you can't program on Windows without an IDE, but it's a good point to keep in mind as you move towards developing in *nix that IDEs and languages aren't coextensive.

OK, so getting off my high-horse about the IDE bit, what you want to read up on is Quartz2D, which is part of the Core Graphics API.
 

laprej

macrumors regular
Oct 14, 2005
108
2
Troy, NY
You could also use SDL. It's cross-platform and has C++ support. My group wrote a video game with it as it supports graphics, audio, and video.
 

Aresti

macrumors newbie
Original poster
Jun 17, 2008
7
0
Thanks for the answers, I read something about quartz on the xcode tutorials , but does it works for c++ or just cocoa?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.