Search results

  1. B

    Simple question about websites!

    Yeah that makes sense...
  2. B

    Converting a NSString to a float

    Congratulations! Yeah that would make sense actual, thought I'd seen this problem before. So what you programming?
  3. B

    ? Possible ?: Making a method that accepts either an object or primative?

    I guess the only way to really do this is rather than input a double input a NSNumber containing a double and use id as the datatype for the input. Inside the methodyou can as us if(inputObject == NSNumber) etc .... Infact how do I ask an object what class it is from in this way?
  4. B

    ? Possible ?: Making a method that accepts either an object or primative?

    Yeah I thought about asking the size of it two. I can get round this simply by making another method! But that doesn't appeal to my sense of fun! The method doesn't have to be that general it will ONLY ever need to accept a double of a CustomClass* (which I have made).
  5. B

    ? Possible ?: Making a method that accepts either an object or primative?

    Hi folks, Is it possible to make a method that only has one argument that can be either a object or a primative? For example, can I compress these two into one method and then use a if statement in the implementation to find out whether it was passed a double datatype, say, or a object...
  6. B

    Converting a NSString to a float

    #import <stdio.h> #import <Foundation/NSAutoreleasePool.h> #import <Foundation/NSString.h> int main(int argc, char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSString *string = @"0.5"; float result = 0.3 + [string floatValue]; printf("\nresult =...
  7. B

    Tiger 10.4.4 gcc and libgcc.a

    Hi Rose, What is the software your trying to install? Might it be possible to install it via fink or darwinports?
  8. B

    Converting a NSString to a float

    Have you tried using printf on the float?
  9. B

    Cocoa with Garbage Collection On It's Way?

    Hi folks. Is this common knowledge? http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.1/gcc/Garbage-Collection.html With garbage collection an option in the objective-c runtime, can you expect it to works it's way into cocoa? Dan
  10. B

    Simple question about websites!

    Thanks HateEternal (that's quite an emotive name - what's the story?) and ElDiabloConCaca, that works great now. I just renamed all the html files index . There was a bit of confusion going on in this thread. The categories on the right that you where refering to bobw where how rapidweaver...
  11. B

    Simple question about websites!

    When this it typed into a browser: www.boyfarrell.com/audio How do I get it to open my audio section page at: www.boyfarrell.com/audio/audio.html ? Any ideas?
  12. B

    Simple question about websites!

    Did you type in: www.boyfarrell.com/audio I get an error 403 (not 404 as said before). I would like by just typing the directory for the browser to access the html file in this folder; audio.html.
  13. B

    Simple question about websites!

    Hello everybody, How do I make the music directory on my site boyfarrell.com/audio load the html file boyfarrell.com/audio/audio.html when somebody goes straight to that directory. At the moment it returns a 404. Dan.
  14. B

    Wireless External Harddisk?

    Hi everyone, I recently bought a 250 Gb harddisk as my 60Gb internal is running out of space with, music, TV programmes, Logic pro projects ect... Is it possible to make my external firewire/USB harddisk talk with my airport express wireless network? Ideally I would like to move all the...
  15. B

    Tiger FTP problems

    I'm using 10.4.4 and ftp to my website using cyberduck. Putting in the right setting with a GUI sometimes takes much fiddling around but I can't see an fundamental reason why it won't work for you. Can you give an example of a time when it doesn't work?
  16. B

    malloc memory objective-c class

    Think I've solved it but don't know why it was an error! Elements is the number of elements in the array. Firstly, I put @class in the main rather than imported the header (teachs me for doing this kind of stuff at 2:30am)! Secondly I needed to change the method name -initWithSize to...
  17. B

    malloc memory objective-c class

    Strange ... ! You did try the Class? I get the run time error during the allocation init call in my main.m file: DynamicVector *dynVec = [[DynamicVector alloc] initWithSize: elements]; The error is: main.m:19: error: incompatible type for argument 1 of 'initWithSize:' Here is my main.m...
  18. B

    malloc memory objective-c class

    Hi, I'm trying to build a Objective-C wrapper for a malloc'ed C array using something like the below which runs prefectly. printf("Enter elements required: "); unsigned int n; scanf("%d", &n); double *array; array = (double *)calloc(n, sizeof(double)); if (array == NULL) {...
  19. B

    Detecting memory leaks

    You could try posting some code up. More eyes the better.... Apart from that crawl over all your -init and -dealloc methods. I made a silly mistake where I was not calling super once ....
  20. B

    When did apple do away with window transparency?

    It should be exciting to see what apple comes up with for Leopard. I'm kind of ambivalent about it; it one respect I would like apple to kick MS ass and show off but on the other hand I think I would prefer an OS that as well has being pretty just made things easy and intuitive to do. I don't...
Back
Top