FWIW, the default C dialect on OS X seems to allow a lot of C99 stuff
(I assume because it defaults to GNU extensions): variable
declarations anywhere in a block, // comments, and variable-length
arrays. It doesn't allow declarations in the start of a for loop,
though.
On Jun 4, 2008, at
Actually,
After reading more about the RESTful API that they are using, it looks
like it requires Base64. Is there any C library that is free to use
and allows this functionality?
Jeremy
I have often felt that programming is an art form, whose real value
can only be appreciated by
You might look in Jens MYUtilities package (http://mooseyard.com/hg/hgwebdir.cgi/MYUtilities/
) he has a nice category class for doing Base64 work on NSData -
http://mooseyard.com/hg/hgwebdir.cgi/MYUtilities/file/c59dec088990/Base64.h
Joseph,
I have downloaded and used those files (hopefully can get them to
work) but upon build (not using them yet) I get this error:
for( int i=0; ilength; i+=1 )
X /Users/Jeremy/Documents/Apps/Unfuddler2/Base64.m:101: error: 'for'
loop initial declaration used outside C99 mode
On Jun 4, 2008, at 6:59 PM, Jeremy wrote:
Joseph,
I have downloaded and used those files (hopefully can get them to
work) but upon build (not using them yet) I get this error:
for( int i=0; ilength; i+=1 )
X /Users/Jeremy/Documents/Apps/Unfuddler2/Base64.m:101: error: 'for'
loop
On 4 Jun '08, at 6:06 PM, Randall Meadows wrote:
Two ways:
1) int i;
for(i=0; ilength; i+=1 )
B) Adjust the C Language Dialect project setting to include C99.
I'd recommend the latter. C99 is backward compatible has a lot of
useful additions to C. This topic came up recently on the
Jens Alfke ([EMAIL PROTECTED]) on 2008-6-4 9:18 PM said:
I'd recommend the latter. C99 is backward compatible has a lot of
useful additions to C. This topic came up recently on the xcode-users
list and I posted this plug:
*SNIP*
And if that's not enough for you, you can set the compiler
On 30 May '08, at 7:16 PM, Jeremy wrote:
Now, I need to figure out how to use set GET, but I think that is
working. The problem and it is crashing is because it is being
encoded by every other method.
What? That sentence was incomprehensible. Apologies if you're not a
native English
Jens,
Thanks for that bit. And I am a native english speaker. It was late
when I typed that. :D But Thanks for NSURLConnection suggestion and
will look into it.
Jeremy
I have often felt that programming is an art form, whose real value
can only be appreciated by another versed in the
On 31 May '08, at 9:31 AM, Peter Burtis wrote:
Question: Is there a way to set the credentials before you initiate
the request? Or a way to force the request to use credentials even
if the site doesn't return an Authentication Required response? I
can't find one.
IIRC, there isn't one.
Hey,
I am working on my first full fledge application. Now, my problem lies
within that all my data and the main functionality of my application
is coming from a RESTful API application on the web. I am having
trouble sending headers and configuring the authentication and it just
11 matches
Mail list logo