Search results

  1. S

    Piecing together RAR files

    Hi, Untar and Stuffit Expander will both do the job, though in some cases Stuffit Expander won't work because of filenames containing numbers other than the ones in the extension (to index the compressed parts). You can download Untar here: http://www.edenwaith.com/downloads/untar.php...
  2. S

    What HD will work for G5

    If I remember correctly, according to Apple the G5 only accepts true SATA harddisks, not ATA harddisks with a SATA converter.
  3. S

    Really weird question about Tiger performance

    Not really an answer to your question, but just some (obvious) advice: For production work I'd say "If it ain't broke, don't fix it". So just keep your current 10.3.8 setup, and if you really want to try 10.4, install it on another computer, or on another disk or partition, so you can reboot...
  4. S

    Folder erased!

    You need some data recovery program. If I recall correctly there's Norton Utilities and also Disk Warrior, with Disk Warrior being a safer solution because it doesn't overwrite your data but writes recovered data into free HD space. Also its important not to boot from the HD that you want to...
  5. S

    app will not respond with keyboard

    What does your app now? Or what does it not? Where are the variables rightKeyPressed and leftKeyPressed set/reset? Are your images properly initialized?
  6. S

    3D file reader

    Hi, In your case you should write: if ([MyNSString isEqualToString:@"v 12"]) { //blah... } Good luck!
  7. S

    Quick Cocoa Question

    So you can ask yourself the question: Does myObject have to 'possess' or keep a 'reference' (track it for a longer period) of that variable => instance variable, or: Does myObject only have to 'use' that variable => method variable. Good luck!
  8. S

    Quick Cocoa Question

    Hi Roger, Variables are always from a particular (somewhere else defined) type/class. This type/class has to be defined somewhere (Apple provides many predefined classes, but you can define your own) You can roughly descibe this as follows: Variables within an object: You can define...
  9. S

    cout and cin

    Hello all, putting endl into cout will act as a newline character as in printf("\n");, it will put the cursor at the beginning of the next line. putting flush or cout.flush or cout.flush() into cout will flush anything left in the console output buffer to the console view. So in your...
  10. S

    com in Mac-X????

    At lasts WWDC someone from Apple said that NSBundle is actually a lightweight implementation of COM. So you might take a look at NSBundle. Good luck,
  11. S

    Reading files

    For reading and writing files into/from strings, see: http://www.macosx.com/showthread.php?s=&threadid=4323 Bye
  12. S

    cout and cin

    I remember something with flush. Try something like: cout << "Enter value: " << flush; cin >> a; Good luck, Samuel
  13. S

    textfile question

    You can use the following methods: – (BOOL)writeToFile:(NSString *)path atomically:(BOOL)flag – (id)initWithContentsOfFile:(NSString *)path e.g.: // Writing string to file: NSString * someString = @"Contents of string..."; [someString writeToFile: @"file.txt" atomically: NO]...
Back
Top