Tom Gilb Quantifying Music Dominic Robinson The Beard Heuristic Jim Hague Setting up an ACCU local group Claudius Link Complexity: Human Behaviour in

Similar documents
Lecture 21 Standard Template Library. A simple, but very limited, view of STL is the generality that using template functions provides.

Major Language Changes, pt. 1

To use various types of iterators with the STL algorithms ( ). To use Boolean functions to specify criteria for STL algorithms ( 23.8).

by Pearson Education, Inc. All Rights Reserved. 2

Working Draft, Technical Specification for C++ Extensions for Parallelism, Revision 1

Contents. 2 Introduction to C++ Programming,

Deitel Series Page How To Program Series

by Pearson Education, Inc. All Rights Reserved.

Parallelism and Concurrency in C++17 and C++20. Rainer Grimm Training, Coaching and, Technology Consulting

ECE551 Midterm Version 1

Standard Library Reference

Programming Languages Technical Specification for C++ Extensions for Parallelism

Data_Structures - Hackveda

Characters and Strings

Boost.Compute. A C++ library for GPU computing. Kyle Lutz

CSC209H Lecture 4. Dan Zingaro. January 28, 2015

C++ Standard Template Library

Summary. Design. Layout

Concurrency and Parallelism with C++17 and C++20. Rainer Grimm Training, Coaching and, Technology Consulting

Distributed Real-Time Control Systems. Lecture 16 C++ Libraries Templates

Generic Programming with JGL 4

Unit 4 Basic Collections

Parallelism in C++ J. Daniel Garcia. Universidad Carlos III de Madrid. November 23, 2018

C++ How To Program 10 th Edition. Table of Contents

C: How to Program. Week /May/28

Chapters and Appendices F J are PDF documents posted online at the book s Companion Website, which is accessible from.

C and C++ Courses. C Language

Contents. Preface. Introduction. Introduction to C Programming

New Iterator Concepts

Computer Programming

C programming basics T3-1 -

Review: Constants. Modules and Interfaces. Modules. Clients, Interfaces, Implementations. Client. Interface. Implementation

Reading Assignment. Strings. K.N. King Chapter 13. K.N. King Sections 23.4, Supplementary reading. Harbison & Steele Chapter 12, 13, 14

Document Number: P0429R4 Date: Reply to: 0.1 Revisions... 1

Chapters and Appendices F I are PDF documents posted online at the book s Companion Website (located at

Outline. Computer Programming. Structure of a function. Functions. Function prototype. Structure of a function. Functions

C mini reference. 5 Binary numbers 12

ECE551 Midterm Version 2

C Characters and Strings

Sneaker Documentation

ECE551 Midterm. There are 7 questions, with the point values as shown below. You have 75 minutes with a total of 75 points. Pace yourself accordingly.

Scientific Programming in C V. Strings

Library and function of C. Dr. Donald Davendra Ph.D. (Department of ComputingLibrary Science, andfei function VSB-TU of COstrava)

A Standard flat_map. 1 Revisions. 2 Introduction. 3 Motivation and Scope. 1.1 Changes from R Changes from R0

CS 326 Operating Systems C Programming. Greg Benson Department of Computer Science University of San Francisco

Chapter 8 C Characters and Strings

Advanced Programming in C++ Container Design I

GridKa School 2013: Effective Analysis C++ Standard Template Library

A Standard flat_map. Drop the requirement on container contiguity; sequence container will do.

ECE551 Midterm Version 1

Making std::vector constexpr

mith College Computer Science CSC270 Spring 2016 Circuits and Systems Lecture Notes, Week 11 Dominique Thiébaut

File (1A) Young Won Lim 11/25/16

Foundations of Programming, Volume I, Linear structures

1 Pointer Concepts. 1.1 Pointer Examples

CSCI 2212: Intermediate Programming / C Storage Class and Dynamic Allocation

CS106L Handout #05 Fall 2007 October 3, C Strings

SYSTEM AND LIBRARY CALLS. UNIX Programming 2015 Fall by Euiseong Seo

CSci 4061 Introduction to Operating Systems. Input/Output: High-level

Lab # 4. Files & Queues in C

Index. backslash character, 19 backup, off-site, 11. abs, 72 abstraction, 63, 83, 133, 141, 174, 181 acos, 72

contiguous_container proposal

Section 3: File I/O, JSON, Generics. Meghan Cowan

1 The CTIE processor INTRODUCTION 1

Introduction to C. Contents. David Chisnall. 1 Introduction Brief History of C Key Features Why Learn C?...

edunepal_info

211: Computer Architecture Summer 2016

Sets and MultiSets. Contents. Steven J. Zeil. July 19, Overview of Sets and Maps 4

Topic 8: I/O. Reading: Chapter 7 in Kernighan & Ritchie more details in Appendix B (optional) even more details in GNU C Library manual (optional)

CS 261 Fall Mike Lam, Professor. Structs and I/O

C Syntax Arrays and Loops Math Strings Structures Pointers File I/O. Final Review CS Prof. Jonathan Ventura. Prof. Jonathan Ventura Final Review

Standard C Library Functions

Intermediate Programming, Spring 2017*

COPYRIGHTED MATERIAL. Index SYMBOLS. Index

C-types: basic & constructed. C basic types: int, char, float, C constructed types: pointer, array, struct

Built-in Functions for NTCAs.

Week 4, continued. This is CS50. Harvard University. Fall Anna Whitney

1d: tests knowing about bitwise fields and union/struct differences.

C: Arrays, and strings. Department of Computer Science College of Engineering Boise State University. September 11, /16

Do not turn the page until 5:00.

Appendices E through H are PDF documents posted online at the book s Companion Website (located at

N v 1. Type generic string interfaces honor the const contract of application code ISO/IEC JTC 1/SC 22/WG14. August 20, 2016

Refinements to basic_string

Lecture 05 Pointers ctd..

Outline. Zoltán Porkoláb: C++11/14 1

Course organization. Course introduction ( Week 1)

Bigger Better More. The new C++ Standard Library. Thomas Witt April Copyright 2009 Thomas Witt

Introduction to Programming Systems

C: Pointers, Arrays, and strings. Department of Computer Science College of Engineering Boise State University. August 25, /36

Chapters and Appendices D I are PDF documents posted online at the book s Companion Website (located atwww.pearsonhighered.com/deitel).

Programming with Haiku

Computer Programming

A Standard flat_map. 1 Introduction. 2 Motivation and Scope

C++ - parallelization and synchronization. Jakub Yaghob Martin Kruliš

Introduction to N1031. Components of N1031. Guiding Principles. Walk through, issues, and rationale

15. C++ advanced (IV): Exceptions

Introduction to string

Chapter 8 - Characters and Strings

C++ - parallelization and synchronization. David Bednárek Jakub Yaghob Filip Zavoral

Create a Program in C (Last Class)

Transcription:

Lightning Talks Tom Gilb Quantifying Music Dominic Robinson The Beard Heuristic Jim Hague Setting up an ACCU local group Claudius Link Complexity: Human Behaviour in Complex Situations Erik Schlyter Teenage Mutant Niinja Turtles Pattern Diomidis Spinellis name!shame: Rational Naming Anders Schau Knatten AUTOMATE ALL THE THINGS Andy Balaam Implementing Tail-call Optimisation in C++ Klaus Marquardt Learning From School Ed Sykes & Raj Singh Posse Programming Bernhard Merkle I Use A Dead Language

name!shame: Rational Naming Diomidis Spinellis http://www.spinellis.gr dds@aueb.gr @CoolSWEng

malloc, memcpy, strlen, strcmp, strchr, strcpy, strdup, fprintf, realloc, sprintf, snprintf, getenv, strncpy, fclose, fwrite, strlcpy, fopen, strncmp, memmove, strerror, qsort, lseek, strcspn, errno, strtoul, chdir, fdopen, fcntl,

krb5_store_principal, krb5_get_credentials, krb5_data_alloc, krb5_create_checksum, krb5_config_get_string, krb5_config_free_strings AES_cbc_encrypt, AES_cfb128_encrypt, AES_cfb1_encrypt, AES_cfb8_encrypt, AES_decrypt, AES_ecb_encrypt, AES_encrypt, AES_ofb128_encrypt, AES_set_decrypt_key, AES_set_encrypt_key,

copy, copy_n, copy_backward, swap, iter_swap, swap_ranges, transform, replace, replace_if, replace_copy, replace_copy_if, fill, fill_n, generate, generate_n, remove, remove_if, remove_copy, remove_copy_if, unique, unique_copy, reverse, reverse_copy, rotate, rotate_copy, random_shuffle, random_sample, random_sample_n, partition, stable_partition,

pthread_rwlock_wrlock, pthread_rwlock_unlock, pthread_rwlock_trywrlock, pthread_rwlock_tryrdlock, pthread_rwlock_rdlock, pthread_rwlock_init, pthread_rwlock_destroy, pthread_join, pthread_cond_signal,

GetWindowLongPtr, GetWindowModuleFileName, GetWindowText, GetWindowTextLength, GrayString, InsertMenu, InsertMenuItem, IsCharAlpha, IsCharAlphaNumeric, IsCharLower, IsCharUpper, IsDialogMessage, LoadAccelerators, LoadBitmap, LoadCursor, LoadCursorFromFile, LoadIcon, LoadImage, LoadKeyboardLayout, LoadMenu, LoadMenuIndirect, LoadString, MapVirtualKey, MapVirtualKeyEx, MessageBox, MessageBoxEx, MessageBoxIndirect, ModifyMenu, OemToChar, OemToCharBuff, OpenDesktop, OpenWindowStation, PeekMessage, PostMessage, PostThreadMessage, PrivateExtractIcons, RealGetWindowClass, RegisterClass, RegisterClassEx, RegisterClipboardFormat, RegisterDeviceNotification, RegisterWindowMessage, RemoveProp,

FILE, ASN1_INTEGER, WINAPI, HANDLE, LPWSTR, DWORD, fpos_t, wctype_t, int16_t, int32_t, uint_least8_t, uint_least64_t, sig_atomic_t, clock_t, time_t promise, future, basic_ios, basic_stringbuf, recursive_mutex, invalid_argument, tuple, thread, allocator, weak_ptr, shared_ptr, reverse_iterator, back_insert_iterator,

BITMAP bmp; HDC hdc; int x, y; COLORREF cref; HGDIOBJ oldobj; if (!GetObject(cb_hnd, sizeof(bitmap), &bmp)) error("unable to get bitmap dimensions"); setmode(fileno(iofile), O_BINARY ); fprintf(iofile, "P6\n%d %d\n255\n", bmp.bmwidth, bmp.bmheight); if ((hdc = CreateCompatibleDC(NULL)) == NULL) error("unable to create a compatible device context"); if ((oldobj = SelectObject(hdc, cb_hnd)) == NULL) error("unable to select object"); for (y = 0; y < bmp.bmheight; y++) for (x = 0; x < bmp.bmwidth; x++) { cref = GetPixel(hdc, x, y); putc(getrvalue(cref), iofile); putc(getgvalue(cref), iofile); putc(getbvalue(cref), iofile); } SelectObject(hdc, oldobj); DeleteDC(hdc);

Rational Names ClassName, TypeName functionname, methodname, variablename CONSTANT_NAME namespace1::namespace2::namespace3

Headers #include <cxx/string> #include <c/stdio> #include <org/posix/fcntl> #include <org/boost/gregorian> #include <com/microsoft/winuser>

#include <set> #include <functional> #include <memory> #include <cxx/pair> namespace cxx { template <class K, class C = std::less<k>, class A = std::allocator<k> > class Set { private: typedef std::set<k, C, A> S; S s; public: // types typedef typename S::key_type Key; typedef typename S::value_type Value; typedef typename S::key_compare KeyCompare; typedef typename S::value_compare ValueCompare; typedef typename S::allocator_type Allocator; typedef typename S::reference Reference; typedef typename S::const_reference ConstReference; typedef typename S::iterator Iterator; typedef typename S::const_iterator ConstIterator; typedef typename S::size_type Size; typedef typename S::difference_type Difference; typedef typename S::pointer Pointer; typedef typename S::const_pointer ConstPointer; typedef typename S::reverse_iterator ReverseIterator; typedef typename S::const_reverse_iterator ConstReverseIterator;

// iterators Iterator begin() { return s.begin(); } ConstIterator begin() const { return s.begin(); } Iterator end() { return s.end(); } ConstIterator end() const { return s.end(); } ReverseIterator reversebegin() { return s.rbegin(); } ConstReverseIterator reversebegin() const { return s.rbegin(); } ReverseIterator reverseend() { return s.rend(); } ConstReverseIterator reverseend() const { return s.rend();

github.com/dspinellis/rat-name

github.com/dspinellis/rat-name