|
|
coding on both windows & macs
|
|
|
|
Mac Enthusiast
Join Date: Apr 2003
Location: manticore or people's republic of haven
Status:
Offline
|
|
i wasn't sure what to search for, so i apologize if this has been discussed before. . .what is the best way to move code between what i will use at school (visual studio.*.*) and home (xcode)? i know that the gui cannot be transported, but is it possible to work on the c/c++/c#(?) code in xcode and import it, the source, into the projects at school? or is that not really possible? or does it depend on what the assignments are? thanks!!
nick
ps java will not be a problem to move between the 2 platforms at all right? unless i want to spec my gui, right?
|
some people are like slinkys: they don't do much, but are fun to push down stairs.
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Sep 2002
Status:
Offline
|
|
If the source files really are ISO C/C++, they should be fully portable. However, I doubt that anything else will be.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status:
Offline
|
|
For C and C++, most non-gui code will move over just fine, the packaging arround it might be problematic, but the .c (and others) files will b just fine (unless you run up against some of VisualStudio's non-standard-complient-parts... *sigh*).
There is a C# compiler for MacOS X, free from Microsoft, and another one from the Mono project, but neither has bindings for XCode (yet).
There are a number of projects out there that provide C and C++ bindings for cross-platform GUI's, most notably QT (from TrollTech, not QuickTime). So it is possible to do this sort of work, but if you are using VisualStudio at school, chance are that you are in a MS-centric course, and things will quickly get difficult to move to any other platform (teaching GUI programming on MacOS X would be similarly platform centric).
The best courses tech programming on Unix boxes (usually PC's with X-11 to a sun box), and require that the projects be compilable on any standard compliant compiler (usually tested against GCC).
As to java, you should be able to move projects between platforms will little to no problems, even ones with not-to-complicated GUIs.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Apr 2003
Location: manticore or people's republic of haven
Status:
Offline
|
|
Originally posted by larkost:
There is a C# compiler for MacOS X, free from Microsoft, and another one from the Mono project, but neither has bindings for XCode (yet).
sorry, i know this is an old post . . . but it relates directly to what i was wondering about now. what does that mean about no bindings? does it mean that i can't use xcode to write code with for c# in xcode?
thanks!
|
some people are like slinkys: they don't do much, but are fun to push down stairs.
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Originally posted by zanyterp:
sorry, i know this is an old post . . . but it relates directly to what i was wondering about now. what does that mean about no bindings? does it mean that i can't use xcode to write code with for c# in xcode?
thanks!
You can use XCode to write and edit ANY text file. This includes programs in ANY programming language that can be written in plain text.
XCode offers many features apart from editing code, however. But such features depend on it knowing the language in which you're coding. Currently XCode only knows about C, Java, Objective-C and C++ (is that all, I think?). So for anything else, it's just a nice editor. But for these languages it can build the entire program for you, do syntax colouring/formating, indexing for finding interface parts, and much more.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Apr 2003
Location: manticore or people's republic of haven
Status:
Offline
|
|
Originally posted by Brass:
You can use XCode to write and edit ANY text file. This includes programs in ANY programming language that can be written in plain text.
XCode offers many features apart from editing code, however. But such features depend on it knowing the language in which you're coding. Currently XCode only knows about C, Java, Objective-C and C++ (is that all, I think?). So for anything else, it's just a nice editor. But for these languages it can build the entire program for you, do syntax colouring/formating, indexing for finding interface parts, and much more.
thanks.
|
some people are like slinkys: they don't do much, but are fun to push down stairs.
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Originally posted by Brass:
You can use XCode to write and edit ANY text file. This includes programs in ANY programming language that can be written in plain text.
XCode offers many features apart from editing code, however. But such features depend on it knowing the language in which you're coding. Currently XCode only knows about C, Java, Objective-C and C++ (is that all, I think?). So for anything else, it's just a nice editor. But for these languages it can build the entire program for you, do syntax colouring/formating, indexing for finding interface parts, and much more.
It has limited support for other languages. I use RubyCocoa with Xcode\, and it doesn't have completion or auto-formatting (i.e. select a block of text, hit a key and it'll indent it semantically), but it has a class/method index and syntax coloring.
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|