Thread: MS Visual C++ to XCode
08-12-2004, 11:08 AM #1k01GuestMS Visual C++ to XCode
Hi, I am very new to C++ and am trying to use code written in MS Visual C++ in XCode. I have the help of experienced C++ programmers, but most use PCs and one codes on Linux machines. Unfortunately, the combined knowledge doesn't quite solve the problem of running Visual C++ programs in XCode. I'd really appreciate any advice on how to go from one to the other! thanks
08-12-2004, 03:19 PM #2
- Member Since
- Jul 25, 2004
- Gaithersburg, MD
- Mac Pro 2.6ghz Quad Xeon, 23" Cinema
Just use gcc.
08-25-2004, 09:58 AM #3echo12GuestDoes XCode work?Originally Posted by k01
08-25-2004, 10:12 AM #4josgrahaGuest
The short answer for questions about porting code between XCode and Visual Studio is "yes" with a *huge* disclaimer and that is your code is 100% portable between platforms. Also XCode and Visual studio both have their own build scripts so you will have a bunch of extra files like the project files and build scripts. I used to do stuff like that with Project Builder and Visual Studio. I would just check the project into cvs or copy the project directory over to each machine, then open up the project file for that platform. Your code will have to be 100% portable ANSI C or C++ and this also assumes you are not binding to some "linux" type library such as flex or bison which you will have to get compiled on each platform.
I posted a reply discussing what tools are available for OSX and why I think their development tools are nice. Have fun
01-09-2005, 04:23 PM #5yeailovetosurfGuestgcc helpOriginally Posted by gort
01-14-2005, 11:27 AM #6Originally Posted by echo12An apple a day keeps the doctor away...
01-14-2005, 11:41 AM #7
01-14-2005, 11:49 AM #8Originally Posted by MacAddikt
cout << "Welcome to CIS 3260.";
but it doesn't work with xcode. should it? thanksAn apple a day keeps the doctor away...
01-14-2005, 11:54 AM #9
01-14-2005, 02:41 PM #10
- Member Since
- Dec 28, 2003
- Long Island, NY
- 15" MacBook Pro & 23" ACD
It needs the using namespace std;
below the #include lines'
using namespace std;
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Yodda_Hunter in forum OS X - Apps and GamesReplies: 9Last Post: 06-09-2013, 06:39 AM
By ildsarria in forum iOS DevelopmentReplies: 1Last Post: 11-09-2011, 03:15 PM
By telecarver1 in forum Web Design and HostingReplies: 0Last Post: 05-11-2011, 05:05 PM
By eliehass in forum Movies and VideoReplies: 2Last Post: 10-03-2008, 04:29 PM
By RChickenMan in forum OS X - Development and DarwinReplies: 0Last Post: 10-18-2005, 11:14 AM