Skip to main content

Questions tagged [bounce.c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Week 4 walkthrough: bounce.c (and other)

I would be grateful for the help on how to write and run such programs as bounce.c on Mac OS 10.7.5. I am using Appliance only partially, and have done all previous pests in Xcode, and used a ...
Ducol's user avatar
  • 1
0 votes
1 answer

How to execute the given instructions properly to get unzipped files of in pset3?

While trying to download the unzipped files as per instructions of "Braking out", I encountered a problem. The first time I executed the following instructions in the terminal, it did work and I got ...
Bireschandra Bhaumik's user avatar
1 vote
4 answers

week 4 | walkthroughs | bounce | compiler error

jharvard@appliance (~/Dropbox/pset3): make ./bounce clang -ggdb3 -O0 -std=c99 -Wall -Werror bounce.c -lcs50 -lm -o bounce /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): ...
daniel's user avatar
  • 63
1 vote
1 answer

What do I get compilation errors when compiling bounce.c?

I copied the source code for bounce.c and tried to compile it, but I got these errors. This also happens for other programs that use the SPL. jharvard@appliance (~/new): make bounce clang -ggdb3 -...
ahmed talat's user avatar
2 votes
1 answer

Why use `pause` function if `velocity` could be defined to a smaller value in the first place?

In bounce.c in Problem set 3, why is pause(10) used to slow down the circle when circle's velocity could be defined to a smaller value in the first place? I tried velocity = 0.005 and it seems to be ...
Quevun's user avatar
  • 161