making a window in C++
Hello again everyone 
I have a program that I am trying to make. Previously, I was writing the code on windows in C++ and the code on the Mac in Objective-C, but I've now learned that you can just use C++ on the mac, which will save me a lot of time...there is one problem, however: I do not know how to create a window and basic system handling of events in C++ on the mac.
Here is the code that I used previously (in zip version): http://www.ghettointeractions.com/C .zip
If anyone could please tell me how to go about re-writing the Objective-C code in the above file to C++, I would be very grateful
Thank in advance,
-wyrmmage

I have a program that I am trying to make. Previously, I was writing the code on windows in C++ and the code on the Mac in Objective-C, but I've now learned that you can just use C++ on the mac, which will save me a lot of time...there is one problem, however: I do not know how to create a window and basic system handling of events in C++ on the mac.
Here is the code that I used previously (in zip version): http://www.ghettointeractions.com/C .zip
If anyone could please tell me how to go about re-writing the Objective-C code in the above file to C++, I would be very grateful

Thank in advance,
-wyrmmage
There are a couple suggestions and some code snippets over here. One suggestion that a poster makes is to use Cocoa and Objective-C for your interface (so you can just use Interface Builder), and then use C++ for all the underlying code.
We already gave you a perfectly viable answer, which would also allow your Windows and Mac code base be much closer. http://www.idevgames.com/forum/showthread.php?t=13119
OneSadCookie's book should help: http://onesadcookie.com/CreatingMacGames...ames.xhtml
akb825 Wrote:We already gave you a perfectly viable answer, which would also allow your Windows and Mac code base be much closer. http://www.idevgames.com/forum/showthread.php?t=13119
ah, I'm sorry; I did not see you and OneSadCookie's last posts on that thread; I'll follow those links and see what I can find

-wyrmmage

