2012-05-01 16:29:03 -07:00
|
|
|
|
========================================
|
|
|
|
|
GRANDPA, I DON’T WANT NONE OF YOUR C++!!
|
|
|
|
|
========================================
|
2012-05-01 16:26:24 -07:00
|
|
|
|
|
2012-05-01 16:29:03 -07:00
|
|
|
|
.. rubric:: Notes and examples for my 2012 UTOS Conference talk
|
|
|
|
|
|
|
|
|
|
You thought the language was essentially dead, relegated to the slaves who
|
|
|
|
|
produce the latest video games; you were wrong!
|
|
|
|
|
|
|
|
|
|
Last year the latest C++ standard, c++11, was ratified adding many of the
|
|
|
|
|
features one would expect from a modern programming language.
|
|
|
|
|
|
|
|
|
|
Come participate in an overview and example festival of some of the added
|
|
|
|
|
features.
|
2012-05-05 12:48:12 -07:00
|
|
|
|
|
|
|
|
|
Build Instructions
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
In order to compile the examples, modify the CXXFLAGS in the Makefile and
|
|
|
|
|
then run make for each executable. If you want, for example, to build the
|
|
|
|
|
asdf.cc file, run::
|
|
|
|
|
|
|
|
|
|
make asdf
|
|
|
|
|
|
2012-05-05 13:12:32 -07:00
|
|
|
|
or to build it all::
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
2012-05-05 13:14:40 -07:00
|
|
|
|
Also, you can run it all with the *run* target::
|
2012-05-05 13:12:32 -07:00
|
|
|
|
|
2012-05-05 13:14:40 -07:00
|
|
|
|
make run
|
2012-05-05 13:12:32 -07:00
|
|
|
|
|
|
|
|
|
if it returns 0, then everything went fine.
|
|
|
|
|
|
2012-05-05 12:48:12 -07:00
|
|
|
|
Enjoy!
|