Search results

  1. D

    QTMovie help

    So, I am attempting to process every frame of a movie using QTMovie and have a loop that looks like this: while (QTTimeCompare([myMovie currentTime], [myMovie duration]) != NSOrderedSame) { // I do some stuff with some things [myMovie stepForward]; } And it works just fine, but...
  2. D

    Cocoa freezes during function

    OK, this isn't real important, but I was just wondering if anyone here who know objective-c/cocoa could tell me how this works. I have a program that is supposed to update a NSTextField to tell the user what the program is currently doing and also to update a NSProgressIndicator to show how...
  3. D

    File input in C++

    Hello C++ coders. I was just wondering about good coding style for inputting files of unknown length into a variable. Currently I have something like this: ifstream file; file.open(filePath); while (file) { ++length; file.get(); } And then I use new to initialize an array of chars...
  4. D

    C++ keypresses

    Could anyone show me a tutorial for interpreting keypresses without a line buffer in C++? Any help would be appreciated.
Back
Top