Articles tagged C++

  1. 8 Queens Puzzle++
  2. Easy as Py
  3. 2147483647
  4. You wait all day for a bus…
  5. Reverse, Esrever
  6. “Solutions”
  7. ACCU 2013
  8. More adventures in C++
  9. Singly Linked Lists in C++
  10. C++ Concurrency in Action. A glowing review of Anthony Williams' book on C++11's support for concurrency
  11. Set.insert or set.add?
  12. Define pedantic
  13. Hiding iterator boilerplate behind a Boost facade
  14. Binary search revisited
  15. Binary search returns … ?
  16. Next permutation: When C++ gets it right. An investigation into a classic algorithm for generating the distinct permutations of a sequence in lexicographical order.
  17. Code Rot. What happens when we stop tending to our code? It decays. This article investigates why.
  18. Converting integer literals in C++ and Python
  19. Inner, Outer, Shake it all abouter. Encapsulation is about allocating responsibility and easing utility rather than protecting data.
  20. Copy, load, redirect and tee using C++ streambufs. The C++ iostream library separates formatting from lower level read/write operations. This article shows how to use C++ stream buffers to copy, load, redirect and tee streams.
  21. Generic documentation
  22. Longest common subsequence. An investigation into the classic computer science problem of calculating the longest common subsequence of two sequences, and its relationship to the edit distance and longest increasing subsequence problems.
  23. Python was named after a comedy troupe. This note discusses what makes a good name for a computer language.
  24. Books, blogs, comments and code samples
  25. Sums and sums of squares in C++. Reduce is a higher order function which applies a another function repeatedly to a collection of values, accumulating the result. Well known to functional programmers, reduce is also a standard C++ algorithm.
  26. Looping forever and ever
  27. Syntactic Sugar
  28. Macros with halos
  29. Fixing header file dependencies. A simple script to check header files are self contained
  30. Stop the clock, squash the bug. Which is better, a clock which loses a minute a day or one which is stopped? An investigation into how we find and fix software defects.
  31. Top Ten Percent. The most efficient way to sort the top 10% of a collection.
  32. Top Ten Tags. Choosing the right algorithm to select the N largest items from a collection.
  33. From Hash Key to Haskell. A note on keys, characters, smileys, digraphs and Haskell.
  34. Elegance and Efficiency. Must elegant code be efficient? This article investigates.
  35. Big City Skyline Puzzle. Comments on a novel computer science puzzle. When machine resources are scarce, a compiled language offers precise control.
  36. Ongoing Peer Review
  37. Pitching Python in three syllables
  38. Koenig’s first rule of debugging. The problems caused by the C++ compilation model, dependencies and cryptic compile diagnostics. If an expert like Andrew Koenig can’t get it right, what hope for the rest of us?
  39. Shameful Names
  40. He Sells Shell Scripts to Intersect Sets. The Unix command shell contains a lot of what I like in a programming environment: it’s dynamic, high-level, interpreted, flexible, succinct. This article shows the Unix tools in action.
  41. The Third Rule of Program Optimisation
  42. Evolving Python in and for the real world
  43. Introducing Java
  44. Mixing Python and C++
  45. Release then Test
  46. Casualties in the great computer shootout. An investigation into various dimensions of some speed benchmark programs.
  47. Retro-fitting coding standards
  48. Code Craft
  49. Printed C++ Journals
  50. Review of Pete Becker’s TR1 Book
  51. Smart Pointers, Dumb Programmers. A note describing how a smart pointer tripped me up.
  52. Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
  53. Computer Language Complexity
  54. Complacency in the computer industry
  55. The Lazy Builder’s Complexity Lesson. A discussion of algorithmic complexity, and a demonstration of how the C++ standard library allows programmers to write code which is both concise and efficient.
  56. String literals and regular expressions. An article about string literals, escape sequences, regular expressions, and the problems encountered when mixing these together.
  57. There’s no escape??!
  58. Parsing C++
  59. Are List Comprehensions the Wrong Way Round?
  60. Message to Self. What’s this?
  61. Octal Literals
  62. A Subversion Pre-Commit Hook. How to install and test a simple Subversion pre-commit hook script.
  63. Binary Literals
  64. Readable Code
  65. Built in Type Safety?
  66. The case against TODO. A neat label for work in progress or an easy way to disguise the flaws in a codebase?
  67. Metaprogramming is Your Friend. An investigation into metaprogramming techniques used by lazy C, C++, Lisp and Python programmers.
  68. A Mini-Project to Decode a Mini-Language
  69. Code in Comments. Don't comment out dead code, delete it!