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.
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.
[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”
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.