I’m writing an xDev article on translating C code to Xojo and one of my recommendations is to first get the C code running natively so you can trace methods, compare results, etc.
On the Mac, using Xcode is a no-brainer, but what’s the equivalent in Windows and Linux?
Well, are much options outhere (hurra!), but I recommend CodeBlocks, I used for years for cross-compile Win/Linux/Mac without mayor problems. It’s not the equivalent, but is quite similar.
Microsoft provides as main C# and C++ compiler Visual Studio
For windows there is Pelles C Plain C that is C99 and C11
But it will takes you time until you can say: using Xcode is a no-brainer.
As Norman wrote today, Objective-C is not difficult, but to get familiar with the Cocoa Frameworks takes quite some efforts. Also Xcode itself is actually quite fun and easy to get started with, imho.
For anybody who has some time left, this is a nice jump-start: Visual Programming for OS X
Thanks for the suggestions.
[quote=63272:@Kem Tekinay]I’m writing an xDev article on translating C code to Xojo and one of my recommendations is to first get the C code running natively so you can trace methods, compare results, etc.
On the Mac, using Xcode is a no-brainer, but what’s the equivalent in Windows and Linux?[/quote]
MS Visual Studio Express (since its free)
Its been a long time since I had to develop in C on linux so I’m not sure - used to use KDevelop
Not sure I’d call either “equivalent of Xcode though”
I Use Eclipse on Linux and Windows (using MinGW). It lets me keep C/C++, Python (PyDev plugin), and Java apps in the same workflow environment.
That should be “Porting Apps step 1” in any book.
So many folks miss this simple step when porting code from any language. If you don’t know what the original code does, how can you hope to port it? Quite often, I’ll discover code that is basically a reinvention of a method, or required because the original platform APIs didn’t directly support the functionality. If I can see what the original code is doing, I can more effectively rewrite it in the new language using the newly available APIs.