Project 3 Frequently Asked Questions

  • ffmpeg and ffplay don't seem to work in the Fitzpatrick lab.

    Oops, my mistake. You can find those programs in /afs/nd.edu/user37/ccl/software/external/ffmpeg/bin.

  • How can I construct a string that contains a floating point number to use as the -s argument?

    Use the very handy function sprintf, which is like printf but puts the result in a string. Then, re-use what you learned in the previous project to split the string into words. For example, something like this:

    char command[256];
    char *words[100];
    
    sprintf(command,"./mandel -x -.5 -y .5 -m 2000 -s %lf",zoom);
    
    word[0] = strtok(command," ");
    
    while(1) {
       ...
    }
    

  • When I ssh into the Fitzpatrick machines, I keep getting kicked off! What should I do?

    As we discussed in class, the policy in the Fitzpatrick lab is to give first priority to people sitting at the workstations. In order to get correct performance results on your code, you will need to actually go to the lab and sit down at a machine.

  • What's the grade breakdown for this assignment?

    Oops, I left that out the first time. I have added the grade breakdown to the end of the assignment.

  • I get linking errors when I try to use exp and log!

    These are in the math library, so you need to include math.h and add the argument -lm to your link line.