Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 11, 2011, 06:21 PM   #1
kirbyrock
macrumors newbie
 
Join Date: Dec 2011
Exporting code in xcode (newbie question)?

So, I've written a short, simple c++ code (its just a simple tic tac toe game). I was just wondering if there's a way to somehow export the code I've written from xcode, so that I would be able to say, send the file to someone who can then run it in their own terminal to play the game?

Thanks for any help!


EDIT: I guess the root of what I'm asking is how to create an executable file from xcode that I could send to a friend. Also, would this file work on both windows and mac?

Last edited by kirbyrock; Dec 11, 2011 at 07:22 PM.
kirbyrock is offline   0 Reply With Quote
Old Dec 12, 2011, 12:20 AM   #2
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
Which version of XCode do you have? The answer is different for XCode 3 verses XCode 4.
jiminaus is offline   0 Reply With Quote
Old Dec 13, 2011, 02:07 AM   #3
kirbyrock
Thread Starter
macrumors newbie
 
Join Date: Dec 2011
Quote:
Originally Posted by jiminaus View Post
Which version of XCode do you have? The answer is different for XCode 3 verses XCode 4.
I have xCode4.
kirbyrock is offline   0 Reply With Quote
Old Dec 13, 2011, 05:02 AM   #4
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
Check out this post.

Also you cannot create Windows executable using XCode. Compile using the free Visual C++ Express on Windows to get a Windows executable.
jiminaus is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Automatic formatting of code in Xcode? zippyfly Mac Programming 0 Sep 16, 2009 03:36 PM
Calling assembly code in Xcode manish.kesarkar Mac Programming 1 May 5, 2009 04:06 PM
How to run C code in XCode shikha123 Mac Programming 8 Apr 22, 2009 07:15 PM
Which drawing tool in Illustrator? (newbie question) PkennethV Design and Graphics 31 Mar 5, 2008 10:22 PM
Count Lines of Code in Xcode stadidas Mac Programming 5 Nov 8, 2007 12:56 PM


All times are GMT -5. The time now is 03:00 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC