13.07.2015 Views

Or fher gb qevax lbhe binygvar! How to Write a Program in... Bugs ...

Or fher gb qevax lbhe binygvar! How to Write a Program in... Bugs ...

Or fher gb qevax lbhe binygvar! How to Write a Program in... Bugs ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Memory ManagementSneak PreviewFunctionsReturn ValuesArrays<strong>in</strong>tcube(<strong>in</strong>t a){return a * a * a;}seereturn{1,2}.cseearray.c, buggy6.c, str<strong>in</strong>g{1,2}.c, capitalize.c910Image from http://computer.howstuffworks.com/c10.htm.11Free Resourceshttp://www.howstuffworks.com/c.htmhttp://www.cppreference.com/Command-L<strong>in</strong>e Argumentsargc, argv<strong>in</strong>t ma<strong>in</strong>(<strong>in</strong>t argc, char *argv[]);boolstr<strong>in</strong>gCS 50’s Library(Memory Leaks)char GetChar();double GetDouble();float GetFloat();<strong>in</strong>t GetInt();long long GetLongLong();str<strong>in</strong>g GetStr<strong>in</strong>g();seeargv{1,2}.cseehttp://cs50.net/pub/releases/cs50/121314Cryp<strong>to</strong>graphyCryp<strong>to</strong>graphyEnigma Mach<strong>in</strong>eCryp<strong>to</strong>graphySecret (Symmetric) Keys<strong>Or</strong> <strong>fher</strong> <strong>gb</strong> <strong>qevax</strong> <strong>lbhe</strong> <strong>b<strong>in</strong>ygvar</strong>!Image from http://www.radioarchives.org/annie/. 1516Image from http://en.wikipedia.org/wiki/Enigma_mach<strong>in</strong>e. Figure from http://www.nuitari.de/cryp<strong>to</strong>.html.17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!