Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Lecture 7: Side Effects - Richard Buckland UNSW 2008

Loading...

Sign in or sign up now!
13,244
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 8, 2008

The Adversary and adversary models of computation: an all powerful force out to get you.

Side Effects: in machine code, in c functions, in general. Returning a value from main.

Also: ASCII, talking in lectures, mars bars and Marco Polo and the emperor of china.

Music: Triohatala by Stimmhorn (not really vikings)

  • likes, 0 dislikes

Link to this comment:

Share to:

Top Comments

  • Man, I love Richard. This is what teaching should be like. We need more Richards! :p :)

  • yes it returns the number of chars it outputs, that is unless you prefix it with the type void like so "(void)printf("hello\n");". But if you assigned the return value to a variable, it will warn you that the return value isn't ignored like you said it should be (by prefixing void).

    No one's even going to read this lol.

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • He's really fun to listen at. Even if he talks quit too fast.

  • @DIABLOVT12 he should join the khanacademy and teach programming :D

  • Side effects may include diarrhea, death, apocalypse or even carshing the computer!

  • -9,326,817!!!

    Oh! That means he wants me to explode!

  • Haha! Not much of Norwegian music x)

  • Skip to 12:45 where the lecture starts to avoid most of the tedious stuff.

  • @jrockpunk1 I read it :D

  • @NiGhtMarEs0nWax I know what you mean, but i think its just a quick paced course

  • This lecturer is really fun to listen to, I've enjoyed all the videos so far.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more