making a window in C++

Moderator
Posts: 370
Joined: 2006.08
Post: #1
Hello again everyone Smile
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 Smile
Thank in advance,
-wyrmmage
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #2
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.
Quote this message in a reply
Moderator
Posts: 1,140
Joined: 2005.07
Post: #3
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
Quote this message in a reply
Member
Posts: 312
Joined: 2006.10
Post: #4
Quote this message in a reply
Moderator
Posts: 370
Joined: 2006.08
Post: #5
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 Smile
-wyrmmage
Quote this message in a reply
Post Reply