On Sat, Jul 26, 2008 at 2:40 PM, Ivan Galic <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've been writing a utility function for getting a path within the bundle
> from the filename. For that, I used the function CFBundleCopyResourceURL,
> which needs some CFStringRefs. I saw somewhere on the net an examp
It's just padding it with zero's.
"" = '\0'
Which is probably why passing a variable didn't work. You can do this:
char *yum = "fee" "fi" "fo" "fum";
And the compiler will concatenate that into: "feefifofum", but you
can't do this:
"asdf" somevar "poo"
Because the compiler doesn't know t
Hi,
I've been writing a utility function for getting a path within the
bundle from the filename. For that, I used the function
CFBundleCopyResourceURL, which needs some CFStringRefs. I saw
somewhere on the net an example like this:
CFSTR("somefile")
and it worked fine. However, when I pu