Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 11, 2011, 07: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 08:22 PM.
kirbyrock is offline   0 Reply With Quote
Old Dec 12, 2011, 01: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, 03: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, 06: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

Similar Threads
thread Thread Starter Forum Replies Last Post
Fake Code Sign Xcode 5 newtoiphonesdk iPhone/iPad Programming 1 Jan 22, 2014 11:17 AM
How to code a newsfeed in Xcode ebbandflow1 iPhone/iPad Programming 0 Jan 9, 2014 04:35 PM
Building and Running C++ Code from within XCode 5 Duroduto Mac Programming 2 Nov 19, 2013 05:16 PM
xcode newbie Kapthehat iPhone/iPad Programming 6 Jul 2, 2013 01:25 AM
Xcode telnet code MagicJordan iPhone/iPad Programming 0 Oct 8, 2012 06:01 PM

Forum Jump

All times are GMT -5. The time now is 07:59 PM.

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

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