├── ch16
├── 3-4-5-makefiles
│ ├── myclass.h
│ ├── myclass.cpp
│ └── main.cpp
├── 6-7-8-date
│ └── 6-7-8-date.vcxproj.user
└── 1-2-stopwatch
│ ├── 1-2-stopwatch.vcxproj.user
│ ├── main.cpp
│ ├── stopwatch.h
│ └── time.h
├── ch27
├── 6-userConversions
│ ├── input.txt
│ └── 6-userConversions.vcxproj.user
├── 3-4-5-friends
│ ├── areas.txt
│ └── 3-4-5-friends.vcxproj.user
├── modules
│ ├── ModulesDon'tWorkWithG++--NoMakefile.txt
│ ├── modules.vcxproj.user
│ ├── main.cpp
│ └── printGreetings.ixx
├── 7-coroutines
│ ├── GeneratorDoesn'tWorkWithG++--NoMakefile.txt
│ └── 7-coroutines.vcxproj.user
└── 1-2-protected
│ └── 1-2-protected.vcxproj.user
├── external
├── SSDL
│ ├── mcve
│ │ ├── gdbx
│ │ ├── dddx
│ │ ├── runx
│ │ └── testWithoutLibrary.vcxproj.filters
│ ├── mcve-1
│ │ ├── gdbx
│ │ ├── dddx
│ │ ├── runx
│ │ └── testWithoutLibrary.vcxproj.filters
│ ├── mcve-testSSDL
│ │ ├── gdbx
│ │ ├── dddx
│ │ ├── runx
│ │ └── testWithoutLibrary.vcxproj.filters
│ ├── unix
│ │ ├── dddx
│ │ ├── gdbx
│ │ └── runx
│ ├── unixTestWoLib
│ │ ├── dddx
│ │ ├── gdbx
│ │ ├── readme.txt
│ │ └── runx
│ ├── MSys
│ │ ├── libssdl.a
│ │ ├── runw
│ │ └── readme.txt
│ ├── MinGW
│ │ ├── libssdl.a
│ │ ├── runw
│ │ └── readme.txt
│ ├── test
│ │ ├── media
│ │ │ ├── yum.png
│ │ │ ├── candy.png
│ │ │ ├── sadPumpkin.png
│ │ │ ├── goodPumpkin.png
│ │ │ ├── haunted-house.jpg
│ │ │ ├── jack-o-lantern.png
│ │ │ ├── 457741__osiruswaltz__wall-bump-1.wav
│ │ │ ├── 326813__mrose6__echoed-screams-short.wav
│ │ │ ├── 342153__robcro6010__circus-theme-short.wav
│ │ │ ├── 388284__matypresidente__water-drop-short.wav
│ │ │ ├── Sinister-Fonts_Werewolf-Moon
│ │ │ │ ├── Werewolf Moon.otf
│ │ │ │ ├── Werewolf Moon.ttf
│ │ │ │ └── Werewolf-Moon-Font-by-Chad-Savage_-_SinisterFonts.jpg
│ │ │ ├── 342153__robcro6010__circus-theme-short - Copy.wav
│ │ │ └── 159509__mistersherlock__halloween-graveyd-short.mp3
│ │ ├── runx
│ │ ├── gdbx
│ │ ├── dddx
│ │ ├── gdbw
│ │ └── runw
│ ├── libvs
│ │ └── Win32
│ │ │ ├── SSDL.pdb
│ │ │ ├── SSDL_Debug.lib
│ │ │ ├── SSDL_Release.lib
│ │ │ └── SSDL_Debug.lib.recipe
│ └── VS
│ │ └── SSDL.vcxproj.user
├── fmt-master
│ ├── doc
│ │ ├── basic-bootstrap
│ │ │ ├── theme.conf
│ │ │ └── README
│ │ ├── contents.rst
│ │ ├── bootstrap
│ │ │ └── mixins
│ │ │ │ ├── center-block.less
│ │ │ │ ├── text-emphasis.less
│ │ │ │ ├── size.less
│ │ │ │ ├── opacity.less
│ │ │ │ ├── background-variant.less
│ │ │ │ ├── text-overflow.less
│ │ │ │ ├── tab-focus.less
│ │ │ │ ├── resize.less
│ │ │ │ ├── labels.less
│ │ │ │ ├── progress-bar.less
│ │ │ │ ├── reset-filter.less
│ │ │ │ ├── nav-divider.less
│ │ │ │ ├── alerts.less
│ │ │ │ ├── nav-vertical-align.less
│ │ │ │ └── responsive-visibility.less
│ │ ├── _static
│ │ │ └── fonts
│ │ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ │ └── glyphicons-halflings-regular.woff
│ │ └── CMakeLists.txt
│ ├── support
│ │ ├── rtd
│ │ │ ├── theme
│ │ │ │ └── theme.conf
│ │ │ ├── index.rst
│ │ │ └── conf.py
│ │ ├── AndroidManifest.xml
│ │ ├── cmake
│ │ │ ├── fmt-config.cmake.in
│ │ │ ├── FindSetEnv.cmake
│ │ │ └── fmt.pc.in
│ │ ├── README
│ │ └── Android.mk
│ ├── test
│ │ ├── fuzzing
│ │ │ └── .gitignore
│ │ ├── header-only-test.cc
│ │ ├── header-only-test2.cc
│ │ ├── format-dyn-args-test.cc
│ │ ├── find-package-test
│ │ │ └── main.cc
│ │ ├── add-subdirectory-test
│ │ │ └── main.cc
│ │ └── cuda-test
│ │ │ └── cpp14.cc
│ ├── include
│ │ └── fmt
│ │ │ └── posix.h
│ └── .clang-format
├── SDL2
│ ├── include
│ │ └── SDL_revision.h
│ ├── lib
│ │ └── x86
│ │ │ ├── SDL2.dll
│ │ │ ├── SDL2.lib
│ │ │ ├── zlib1.dll
│ │ │ ├── SDL2_ttf.dll
│ │ │ ├── SDL2_ttf.lib
│ │ │ ├── SDL2main.lib
│ │ │ ├── SDL2test.lib
│ │ │ ├── libogg-0.dll
│ │ │ ├── SDL2_image.dll
│ │ │ ├── SDL2_image.lib
│ │ │ ├── SDL2_mixer.dll
│ │ │ ├── SDL2_mixer.lib
│ │ │ ├── libFLAC-8.dll
│ │ │ ├── libjpeg-9.dll
│ │ │ ├── libmpg123-0.dll
│ │ │ ├── libopus-0.dll
│ │ │ ├── libpng16-16.dll
│ │ │ ├── libtiff-5.dll
│ │ │ ├── libvorbis-0.dll
│ │ │ ├── libwebp-7.dll
│ │ │ ├── libfreetype-6.dll
│ │ │ ├── libmodplug-1.dll
│ │ │ ├── libopusfile-0.dll
│ │ │ ├── libvorbisfile-3.dll
│ │ │ └── LICENSE.modplug.txt
│ ├── docs
│ │ ├── README-platforms.md
│ │ ├── README-wince.md
│ │ └── README-psp.md
│ └── README-SDL.txt
└── SDL2-MinGW
│ ├── SDL2
│ ├── test
│ │ ├── axis.bmp
│ │ ├── icon.bmp
│ │ ├── utf8.txt
│ │ ├── button.bmp
│ │ ├── sample.bmp
│ │ ├── sample.wav
│ │ ├── testyuv.bmp
│ │ ├── controllermap.bmp
│ │ ├── shapes
│ │ │ ├── p01_shape24.bmp
│ │ │ ├── p01_shape8.bmp
│ │ │ ├── p02_shape24.bmp
│ │ │ ├── p02_shape8.bmp
│ │ │ ├── p03_shape24.bmp
│ │ │ ├── p03_shape8.bmp
│ │ │ ├── p04_shape1.bmp
│ │ │ ├── p04_shape24.bmp
│ │ │ ├── p04_shape8.bmp
│ │ │ ├── p05_shape8.bmp
│ │ │ ├── p06_shape24.bmp
│ │ │ ├── p06_shape8.bmp
│ │ │ ├── p07_shape24.bmp
│ │ │ ├── p07_shape8.bmp
│ │ │ ├── p08_shape24.bmp
│ │ │ ├── p08_shape8.bmp
│ │ │ ├── p09_shape24.bmp
│ │ │ ├── p09_shape8.bmp
│ │ │ ├── p10_shape1.bmp
│ │ │ ├── p10_shape24.bmp
│ │ │ ├── p10_shape8.bmp
│ │ │ ├── p11_shape24.bmp
│ │ │ ├── p11_shape8.bmp
│ │ │ ├── p12_shape24.bmp
│ │ │ ├── p12_shape8.bmp
│ │ │ ├── p13_shape24.bmp
│ │ │ ├── p13_shape8.bmp
│ │ │ ├── p14_shape24.bmp
│ │ │ ├── p14_shape8.bmp
│ │ │ ├── p15_shape24.bmp
│ │ │ ├── p15_shape8.bmp
│ │ │ ├── p16_shape1.bmp
│ │ │ ├── p16_shape24.bmp
│ │ │ ├── p16_shape8.bmp
│ │ │ ├── trollface_24.bmp
│ │ │ ├── p01_shape32alpha.bmp
│ │ │ ├── p02_shape32alpha.bmp
│ │ │ ├── p04_shape32alpha.bmp
│ │ │ ├── p06_shape1alpha.bmp
│ │ │ ├── p06_shape32alpha.bmp
│ │ │ ├── p07_shape32alpha.bmp
│ │ │ ├── p08_shape32alpha.bmp
│ │ │ ├── p09_shape32alpha.bmp
│ │ │ ├── p10_shape32alpha.bmp
│ │ │ ├── p11_shape32alpha.bmp
│ │ │ ├── p13_shape32alpha.bmp
│ │ │ ├── p15_shape32alpha.bmp
│ │ │ └── trollface_32alpha.bmp
│ │ ├── COPYING
│ │ └── autogen.sh
│ ├── i686-w64-mingw32
│ │ ├── include
│ │ │ └── SDL2
│ │ │ │ └── SDL_revision.h
│ │ ├── bin
│ │ │ └── SDL2.dll
│ │ └── lib
│ │ │ ├── libSDL2.a
│ │ │ ├── libSDL2.dll.a
│ │ │ ├── libSDL2main.a
│ │ │ ├── libSDL2_test.a
│ │ │ └── cmake
│ │ │ └── SDL2
│ │ │ └── sdl2-config-version.cmake
│ ├── x86_64-w64-mingw32
│ │ ├── include
│ │ │ └── SDL2
│ │ │ │ └── SDL_revision.h
│ │ ├── bin
│ │ │ └── SDL2.dll
│ │ └── lib
│ │ │ ├── libSDL2.a
│ │ │ ├── libSDL2.dll.a
│ │ │ ├── libSDL2_test.a
│ │ │ ├── libSDL2main.a
│ │ │ └── cmake
│ │ │ └── SDL2
│ │ │ └── sdl2-config-version.cmake
│ └── docs
│ │ ├── README-platforms.md
│ │ ├── README-wince.md
│ │ └── README-psp.md
│ ├── SDL2_ttf
│ ├── i686-w64-mingw32
│ │ ├── bin
│ │ │ ├── zlib1.dll
│ │ │ ├── SDL2_ttf.dll
│ │ │ └── libfreetype-6.dll
│ │ └── lib
│ │ │ ├── libSDL2_ttf.a
│ │ │ ├── libSDL2_ttf.dll.a
│ │ │ └── pkgconfig
│ │ │ └── SDL2_ttf.pc
│ └── x86_64-w64-mingw32
│ │ ├── bin
│ │ ├── zlib1.dll
│ │ ├── SDL2_ttf.dll
│ │ └── libfreetype-6.dll
│ │ └── lib
│ │ ├── libSDL2_ttf.a
│ │ ├── libSDL2_ttf.dll.a
│ │ └── pkgconfig
│ │ └── SDL2_ttf.pc
│ ├── SDL2_image
│ ├── i686-w64-mingw32
│ │ ├── bin
│ │ │ ├── zlib1.dll
│ │ │ ├── SDL2_image.dll
│ │ │ ├── libjpeg-9.dll
│ │ │ ├── libpng16-16.dll
│ │ │ ├── libtiff-5.dll
│ │ │ └── libwebp-7.dll
│ │ └── lib
│ │ │ ├── libSDL2_image.a
│ │ │ ├── libSDL2_image.dll.a
│ │ │ └── pkgconfig
│ │ │ └── SDL2_image.pc
│ └── x86_64-w64-mingw32
│ │ ├── bin
│ │ ├── zlib1.dll
│ │ ├── libjpeg-9.dll
│ │ ├── libtiff-5.dll
│ │ ├── libwebp-7.dll
│ │ ├── SDL2_image.dll
│ │ └── libpng16-16.dll
│ │ └── lib
│ │ ├── libSDL2_image.a
│ │ ├── libSDL2_image.dll.a
│ │ └── pkgconfig
│ │ └── SDL2_image.pc
│ └── SDL2_mixer
│ ├── i686-w64-mingw32
│ ├── bin
│ │ ├── libogg-0.dll
│ │ ├── SDL2_mixer.dll
│ │ ├── libFLAC-8.dll
│ │ ├── libmpg123-0.dll
│ │ ├── libopus-0.dll
│ │ ├── libvorbis-0.dll
│ │ ├── libmodplug-1.dll
│ │ ├── libopusfile-0.dll
│ │ ├── libvorbisfile-3.dll
│ │ └── LICENSE.modplug.txt
│ └── lib
│ │ ├── libSDL2_mixer.a
│ │ ├── libSDL2_mixer.dll.a
│ │ └── pkgconfig
│ │ └── SDL2_mixer.pc
│ └── x86_64-w64-mingw32
│ ├── bin
│ ├── libFLAC-8.dll
│ ├── libogg-0.dll
│ ├── libopus-0.dll
│ ├── SDL2_mixer.dll
│ ├── libmpg123-0.dll
│ ├── libvorbis-0.dll
│ ├── libmodplug-1.dll
│ ├── libopusfile-0.dll
│ ├── libvorbisfile-3.dll
│ └── LICENSE.modplug.txt
│ └── lib
│ ├── libSDL2_mixer.a
│ ├── libSDL2_mixer.dll.a
│ └── pkgconfig
│ └── SDL2_mixer.pc
├── ch13
├── 5-killerRobots
│ ├── RobotGameLevel1.txt
│ └── 5-killerRobots.vcxproj.user
├── 3-capitalizeFile
│ ├── input.txt
│ └── 3-capitalizeFile.vcxproj.user
├── 1-hello
│ ├── 1-hello.vcxproj.user
│ └── main.cpp
├── average
│ └── average.vcxproj.user
├── 2-frequencies
│ └── 2-frequencies.vcxproj.user
└── 4-killerRobotsUsingCin
│ └── 4-killerRobotsUsingCin.vcxproj.user
├── .gitattributes
├── 9781484263051.jpg
├── ch1
├── drawingPad.pdf
├── test-setup
│ ├── media
│ │ ├── bullseye.jpg
│ │ └── 457729__razor5__boss-battle-2-0.wav
│ ├── runx
│ └── runw
├── 1-hello
│ ├── runx
│ ├── main.cpp
│ └── runw
├── 3-drawDot
│ ├── runx
│ ├── main.cpp
│ └── runw
├── 4-bugsHead
│ ├── runx
│ └── runw
├── 5-bugsHead
│ ├── runx
│ └── runw
├── 2-helloMangled
│ ├── runx
│ ├── runw
│ └── main.cpp
├── 6-colorSquares
│ ├── runx
│ └── runw
├── 7-quotation
│ ├── runx
│ └── runw
└── 8-labelSquares
│ ├── runx
│ └── runw
├── ch2
├── 1-beach
│ ├── media
│ │ └── beach.jpg
│ ├── runx
│ ├── main.cpp
│ └── runw
├── 2-beach
│ ├── media
│ │ └── beach.jpg
│ ├── runx
│ ├── runw
│ └── main.cpp
├── 3-beach
│ ├── media
│ │ └── beach.jpg
│ ├── runx
│ └── runw
├── 5-pupdog
│ ├── media
│ │ ├── beach.jpg
│ │ ├── pupdog.png
│ │ ├── flamingo.png
│ │ └── 9-pug-690566_640.jpg
│ ├── runx
│ └── runw
├── 4-flamingo
│ ├── media
│ │ ├── beach.jpg
│ │ └── flamingo.png
│ ├── runx
│ └── runw
└── 6-sound
│ ├── runx
│ ├── media
│ ├── 321530__robbo799__church-bell.wav
│ └── 457729__razor5__boss-battle-2-0.wav
│ └── runw
├── ch12
├── 3-splat
│ ├── media
│ │ ├── splat.png
│ │ └── 445117__breviceps__cartoon-splat.wav
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 4-thru-8-bigGame
│ ├── media
│ │ ├── candy.png
│ │ ├── yum.png
│ │ ├── sadPumpkin.png
│ │ ├── goodPumpkin.png
│ │ ├── haunted-house.jpg
│ │ ├── jack-o-lantern.png
│ │ ├── 457741__osiruswaltz__wall-bump-1.wav
│ │ ├── 326813__mrose6__echoed-screams-short.wav
│ │ ├── 342153__robcro6010__circus-theme-short.wav
│ │ ├── 388284__matypresidente__water-drop-short.wav
│ │ ├── Sinister-Fonts_Werewolf-Moon
│ │ │ ├── Werewolf Moon.otf
│ │ │ ├── Werewolf Moon.ttf
│ │ │ └── Werewolf-Moon-Font-by-Chad-Savage_-_SinisterFonts.jpg
│ │ ├── 342153__robcro6010__circus-theme-short - Copy.wav
│ │ └── 159509__mistersherlock__halloween-graveyd-short.mp3
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 1-keystate
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
└── 2-aliensBuzzOurWorld
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── media
│ ├── sign-2881876-small.png
│ ├── ufo-2718088-small.png
│ └── 178267__alqutis__hovercar-short.wav
│ ├── gdbw
│ └── runw
├── ch24
├── g++
│ └── montana
│ │ ├── gdbw
│ │ ├── runw
│ │ ├── gdbx
│ │ ├── runx
│ │ ├── dddx
│ │ └── io.h
└── VisualStudio
│ ├── cardLibStatic
│ ├── framework.h
│ ├── cardLibStatic.vcxproj.user
│ └── pch.cpp
│ ├── cardLibStaticNoPCH
│ ├── framework.h
│ ├── cardLibStaticNoPCH.vcxproj.user
│ └── pch.cpp
│ ├── cardLibDLL
│ ├── framework.h
│ ├── cardLibDLL.vcxproj.user
│ └── pch.cpp
│ ├── compileLibsBeforeUsesForBestResults.txt
│ ├── usesStatic
│ ├── usesStatic.vcxproj.user
│ └── io.h
│ ├── usesStaticNoPCH
│ ├── usesStaticNoPCH.vcxproj.user
│ └── io.h
│ └── usesDLL
│ └── io.h
├── ch10
├── 5-ticTacToeBoard
│ ├── media
│ │ ├── O.png
│ │ └── X.png
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 3-minimum
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 2-lowestTemp
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 4-printCard
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
└── 1-readInPrintOut
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── Modules-C++20ForLazyProgrammers.pdf
├── ch29
└── 1-3-sdlProgram
│ ├── media
│ └── pupdog.png
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── ch11
├── 4-spritefish
│ ├── media
│ │ └── discus-fish.png
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 5-spritefish
│ ├── media
│ │ └── discus-fish.png
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 1-staircase
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 2-bouncingBall
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
└── 3-bouncingBallsArray
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── IoManipulators-C++20ForLazyProgrammers.pdf
├── ch3
├── 4-star
│ ├── runx
│ └── runw
├── 1-variables
│ ├── runx
│ └── runw
├── 2-divingBoard
│ ├── runx
│ └── runw
├── 3-star-wrong
│ ├── runx
│ └── runw
└── bugsHead-with-constexpr
│ ├── runx
│ └── runw
├── ch4
├── 1-mouse
│ ├── runx
│ └── runw
├── 2-searchBox
│ ├── media
│ │ └── ammonitePuzzle.jpg
│ ├── runx
│ └── runw
└── 3-searchGame
│ ├── media
│ └── ammonitePuzzle.jpg
│ ├── runx
│ ├── dddx
│ └── runw
├── ch5
├── 1-askAge
│ ├── runx
│ └── runw
├── 5-switch
│ ├── runx
│ └── runw
├── 2-averaging
│ ├── runx
│ └── runw
├── 3-alphaOrder
│ ├── runx
│ └── runw
├── 4-alphaOrder
│ ├── runx
│ └── runw
└── loops-with-SSDL
│ ├── runx
│ └── runw
├── ch6
└── 1-circles
│ ├── runx
│ └── runw
├── ch7
├── 5-comic
│ ├── runx
│ └── runw
├── 1-greyscale
│ ├── runx
│ └── runw
├── 2-drawCross
│ ├── runx
│ └── runw
├── 3-drawCrosses
│ ├── runx
│ └── runw
├── 4-globalVars
│ ├── runx
│ └── runw
└── howToWriteAFunctionInFourEasySteps.docx
├── ch8
├── 1-random
│ ├── runx
│ └── runw
├── 3-craps
│ ├── runx
│ └── runw
├── 4-isUpper
│ ├── runx
│ └── runw
└── 2-srandRepeated
│ ├── runx
│ └── runw
├── ch9
├── 1-flag
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 1-flag-allFixed
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
└── 1-flag-stripesFixed
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── ch26
├── 2-constexprs
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 4-5-6-smartPointers
│ ├── gdbx
│ ├── dddx
│ ├── runx
│ ├── gdbw
│ └── runw
├── 1-defaulted
│ └── 1-defaulted.vcxproj.user
├── 8-lambdas
│ └── 8-lambdas.vcxproj.user
├── 7-userDefLiterals
│ └── 7-userDefLiterals.vcxproj.user
└── 3-structuredBindings
│ └── 3-structuredBindings.vcxproj.user
├── ch21
├── 1-thru-7-shapes
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
├── 8-moveSemantics
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ └── runw
└── powerupsExercise
│ ├── runx
│ ├── gdbx
│ ├── dddx
│ ├── gdbw
│ ├── megaPowerup.cpp
│ ├── runw
│ └── PowerupSet.h
├── ch25
├── 1-sstream
│ ├── gdbx
│ ├── dddx
│ ├── runx
│ ├── gdbw
│ └── runw
├── 4-cmdLineArgs
│ ├── file1.txt
│ └── file2.txt
├── 2-format
│ └── 2-format.vcxproj.user
├── 3-format
│ └── 3-format.vcxproj.user
├── 5-bitManip
│ └── 5-bitManip.vcxproj.user
└── ioManipulators
│ └── ioManipulators.vcxproj.user
├── newWork
├── basicSSDLProject
│ ├── gdbx
│ ├── dddx
│ ├── runx
│ ├── main.cpp
│ ├── gdbw
│ └── runw
└── basicStandardProject
│ ├── main.cpp
│ └── basicStandardProject.vcxproj.user
├── ch19
├── 3-card
│ └── 3-card.vcxproj.user
├── 4-cardGroup
│ └── 4-cardGroup.vcxproj.user
├── 1-2-employees
│ └── 1-2-employees.vcxproj.user
├── 7-8-9-bigGame
│ ├── 7-8-9-bigGame.vcxproj.user
│ ├── io.h
│ └── io.cpp
└── 5-6-wasteAndCell
│ └── 5-6-wasteAndCell.vcxproj.user
├── ch20
├── 01-swap
│ └── 01-swap.vcxproj.user
├── 10-pair
│ ├── 10-pair.vcxproj.user
│ └── main.cpp
├── 11-stack
│ └── 11-stack.vcxproj.user
├── 02-concepts
│ └── 02-concepts.vcxproj.user
├── 03-printConcepts
│ └── 03-printConcepts.vcxproj.user
├── 04-05-06-intVector
│ └── 04-05-06-intVector.vcxproj.user
├── 09-vectorTemplate
│ └── 09-vectorTemplate.vcxproj.user
├── 07-08-vectorTemplate
│ └── 07-08-vectorTemplate.vcxproj.user
└── vectorTemplateWConcepts
│ └── vectorTemplateWConcepts.vcxproj.user
├── ch23
├── 2-span
│ └── 2-span.vcxproj.user
├── 1-iterators
│ └── 1-iterators.vcxproj.user
├── algorithm
│ └── algorithm.vcxproj.user
├── 3-initializer_lists
│ └── 3-initializer_list.vcxproj.user
└── range-based-for-and-auto
│ └── range-based-for-and-auto.vcxproj.user
├── HOW__TO_CONTACT_AUTHOR.txt
├── ch28
├── 1-hello
│ ├── 1-hello.vcxproj.user
│ └── hello.c
├── 3-fileIO
│ └── 3-fileIO.vcxproj.user
├── 2-consoleIO
│ └── 2-consoleIO.vcxproj.user
├── 4-stringIO
│ └── 4-stringIO.vcxproj.user
├── 5-passcode
│ └── 5-passcode.vcxproj.user
└── 6-stringStats
│ └── 6-stringStats.vcxproj.user
├── ch14
├── 3-passcode
│ └── 3-passcode.vcxproj.user
├── strcpyVersions
│ └── strcpyVersions.vcxproj.user
└── 1-and-2-charArrays
│ └── 1-and-2-charArrays.vcxproj.user
├── ch17
└── 1-2-3-string
│ └── 1-2-3-string.vcxproj.user
├── ch18
├── 1-2-stack
│ └── 1-2-stack.vcxproj.user
├── 3-4-string
│ ├── 3-4-string.vcxproj.user
│ └── main.cpp
└── 5-factorial
│ ├── 5-factorial.vcxproj.user
│ └── main.cpp
├── ch22
├── 1-2-lists
│ └── 1-2-lists.vcxproj.user
└── listsExercisesCode
│ └── listsExercisesCode.vcxproj.user
└── ch15
├── 1-date-wCtor
└── 1-date-wCtor.vcxproj.user
└── 2-date-bestSoFar
└── 2-date-bestSoFar.vcxproj.user
/ch16/3-4-5-makefiles/myclass.h:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ch27/6-userConversions/input.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/external/SSDL/mcve/gdbx:
--------------------------------------------------------------------------------
1 | gdb a.out
2 |
3 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-1/gdbx:
--------------------------------------------------------------------------------
1 | gdb a.out
2 |
3 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-1/dddx:
--------------------------------------------------------------------------------
1 | ddd a.out &
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-testSSDL/gdbx:
--------------------------------------------------------------------------------
1 | gdb a.out
2 |
3 |
--------------------------------------------------------------------------------
/external/SSDL/mcve/dddx:
--------------------------------------------------------------------------------
1 | ddd a.out &
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch16/3-4-5-makefiles/myclass.cpp:
--------------------------------------------------------------------------------
1 | #include "myclass.h"
2 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-testSSDL/dddx:
--------------------------------------------------------------------------------
1 | ddd a.out &
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch13/5-killerRobots/RobotGameLevel1.txt:
--------------------------------------------------------------------------------
1 | 5 3
2 | 10 10
3 | 4 -7
4 |
--------------------------------------------------------------------------------
/external/SSDL/unix/dddx:
--------------------------------------------------------------------------------
1 | export LD_LIBRARY_PATH=.
2 | ddd shared-test &
3 |
--------------------------------------------------------------------------------
/external/SSDL/unix/gdbx:
--------------------------------------------------------------------------------
1 | export LD_LIBRARY_PATH=.
2 | gdb shared-test
3 |
4 |
--------------------------------------------------------------------------------
/external/SSDL/unixTestWoLib/dddx:
--------------------------------------------------------------------------------
1 | export LD_LIBRARY_PATH=.
2 | ddd a.out &
3 |
--------------------------------------------------------------------------------
/external/SSDL/unixTestWoLib/gdbx:
--------------------------------------------------------------------------------
1 | export LD_LIBRARY_PATH=.
2 | gdb a.out
3 |
4 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/basic-bootstrap/theme.conf:
--------------------------------------------------------------------------------
1 | [theme]
2 | inherit = basic
3 |
--------------------------------------------------------------------------------
/external/fmt-master/support/rtd/theme/theme.conf:
--------------------------------------------------------------------------------
1 | [theme]
2 | inherit = basic
3 |
--------------------------------------------------------------------------------
/external/fmt-master/support/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | #* text=auto
3 |
--------------------------------------------------------------------------------
/ch13/3-capitalizeFile/input.txt:
--------------------------------------------------------------------------------
1 | Twinkle, twinkle, little bat!
2 | How I wonder what you're at!
--------------------------------------------------------------------------------
/9781484263051.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/9781484263051.jpg
--------------------------------------------------------------------------------
/ch1/drawingPad.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch1/drawingPad.pdf
--------------------------------------------------------------------------------
/ch16/3-4-5-makefiles/main.cpp:
--------------------------------------------------------------------------------
1 | #include "myclass.h"
2 |
3 | int main ()
4 | {
5 | return 0;
6 | }
7 |
--------------------------------------------------------------------------------
/external/fmt-master/test/fuzzing/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore artifacts from the build.sh script
2 | build-*/
3 |
4 |
--------------------------------------------------------------------------------
/external/fmt-master/test/header-only-test.cc:
--------------------------------------------------------------------------------
1 | // Header-only configuration test
2 |
3 | #include "fmt/core.h"
4 |
--------------------------------------------------------------------------------
/ch27/3-4-5-friends/areas.txt:
--------------------------------------------------------------------------------
1 | 8 2 1 4 Blovinia
2 | 9 3 3 8 Orkland
3 | 10 3 4 9 Morgravia
4 | 5 1 2 7 Slubgobia
--------------------------------------------------------------------------------
/external/fmt-master/include/fmt/posix.h:
--------------------------------------------------------------------------------
1 | #include "os.h"
2 | #warning "fmt/posix.h is deprecated; use fmt/os.h instead"
--------------------------------------------------------------------------------
/ch2/1-beach/media/beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/1-beach/media/beach.jpg
--------------------------------------------------------------------------------
/ch2/2-beach/media/beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/2-beach/media/beach.jpg
--------------------------------------------------------------------------------
/ch2/3-beach/media/beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/3-beach/media/beach.jpg
--------------------------------------------------------------------------------
/external/SDL2/include/SDL_revision.h:
--------------------------------------------------------------------------------
1 | #define SDL_REVISION "hg-13609:34cc7d3b69d3"
2 | #define SDL_REVISION_NUMBER 13609
3 |
--------------------------------------------------------------------------------
/ch12/3-splat/media/splat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/3-splat/media/splat.png
--------------------------------------------------------------------------------
/ch2/5-pupdog/media/beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/5-pupdog/media/beach.jpg
--------------------------------------------------------------------------------
/ch2/5-pupdog/media/pupdog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/5-pupdog/media/pupdog.png
--------------------------------------------------------------------------------
/external/SSDL/MSys/libssdl.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/MSys/libssdl.a
--------------------------------------------------------------------------------
/external/SSDL/MinGW/libssdl.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/MinGW/libssdl.a
--------------------------------------------------------------------------------
/ch2/4-flamingo/media/beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/4-flamingo/media/beach.jpg
--------------------------------------------------------------------------------
/ch2/5-pupdog/media/flamingo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/5-pupdog/media/flamingo.png
--------------------------------------------------------------------------------
/ch24/g++/montana/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if needed .dll isn't on the path
2 | PATH="../cardLibg++:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch24/g++/montana/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if needed .dll isn't on the path
2 | PATH="../cardLibg++:$PATH"
3 | ./montana
4 |
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2.lib
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/zlib1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/zlib1.dll
--------------------------------------------------------------------------------
/external/SSDL/test/media/yum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/yum.png
--------------------------------------------------------------------------------
/ch1/test-setup/media/bullseye.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch1/test-setup/media/bullseye.jpg
--------------------------------------------------------------------------------
/ch10/5-ticTacToeBoard/media/O.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch10/5-ticTacToeBoard/media/O.png
--------------------------------------------------------------------------------
/ch10/5-ticTacToeBoard/media/X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch10/5-ticTacToeBoard/media/X.png
--------------------------------------------------------------------------------
/ch2/4-flamingo/media/flamingo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/4-flamingo/media/flamingo.png
--------------------------------------------------------------------------------
/ch27/modules/ModulesDon'tWorkWithG++--NoMakefile.txt:
--------------------------------------------------------------------------------
1 | g++ doesn't support modules yet; this project is for Visual Studio only (for now).
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2_ttf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2_ttf.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2_ttf.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2_ttf.lib
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2main.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2main.lib
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2test.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2test.lib
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libogg-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libogg-0.dll
--------------------------------------------------------------------------------
/external/SSDL/libvs/Win32/SSDL.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/libvs/Win32/SSDL.pdb
--------------------------------------------------------------------------------
/external/SSDL/test/media/candy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/candy.png
--------------------------------------------------------------------------------
/Modules-C++20ForLazyProgrammers.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/Modules-C++20ForLazyProgrammers.pdf
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/candy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/candy.png
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/yum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/yum.png
--------------------------------------------------------------------------------
/ch29/1-3-sdlProgram/media/pupdog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch29/1-3-sdlProgram/media/pupdog.png
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2_image.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2_image.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2_image.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2_image.lib
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2_mixer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2_mixer.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/SDL2_mixer.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/SDL2_mixer.lib
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libFLAC-8.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libFLAC-8.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libjpeg-9.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libjpeg-9.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libmpg123-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libmpg123-0.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libopus-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libopus-0.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libpng16-16.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libpng16-16.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libtiff-5.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libtiff-5.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libvorbis-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libvorbis-0.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libwebp-7.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libwebp-7.dll
--------------------------------------------------------------------------------
/ch11/4-spritefish/media/discus-fish.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch11/4-spritefish/media/discus-fish.png
--------------------------------------------------------------------------------
/ch11/5-spritefish/media/discus-fish.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch11/5-spritefish/media/discus-fish.png
--------------------------------------------------------------------------------
/ch2/5-pupdog/media/9-pug-690566_640.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/5-pupdog/media/9-pug-690566_640.jpg
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/axis.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/axis.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/icon.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/icon.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/utf8.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/utf8.txt
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libfreetype-6.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libfreetype-6.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libmodplug-1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libmodplug-1.dll
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libopusfile-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libopusfile-0.dll
--------------------------------------------------------------------------------
/external/SSDL/test/media/sadPumpkin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/sadPumpkin.png
--------------------------------------------------------------------------------
/IoManipulators-C++20ForLazyProgrammers.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/IoManipulators-C++20ForLazyProgrammers.pdf
--------------------------------------------------------------------------------
/ch1/1-hello/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch1/3-drawDot/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch1/4-bugsHead/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch1/5-bugsHead/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch1/test-setup/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch10/3-minimum/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch12/3-splat/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/sadPumpkin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/sadPumpkin.png
--------------------------------------------------------------------------------
/ch2/1-beach/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch2/2-beach/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch2/3-beach/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch2/4-flamingo/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch2/5-pupdog/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch2/6-sound/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch24/g++/montana/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if the .so file isn't in the library path
2 | export LD_LIBRARY_PATH=../cardLibg++
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch24/g++/montana/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if the .so file isn't in the library path
2 | export LD_LIBRARY_PATH=../cardLibg++
3 | ./montana
4 |
5 |
--------------------------------------------------------------------------------
/ch3/4-star/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch4/1-mouse/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch4/2-searchBox/media/ammonitePuzzle.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch4/2-searchBox/media/ammonitePuzzle.jpg
--------------------------------------------------------------------------------
/ch4/3-searchGame/media/ammonitePuzzle.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch4/3-searchGame/media/ammonitePuzzle.jpg
--------------------------------------------------------------------------------
/ch5/1-askAge/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch5/5-switch/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch6/1-circles/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch7/5-comic/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch8/1-random/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch8/3-craps/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch8/4-isUpper/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/button.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/button.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/sample.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/sample.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/sample.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/sample.wav
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/testyuv.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/testyuv.bmp
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/libvorbisfile-3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2/lib/x86/libvorbisfile-3.dll
--------------------------------------------------------------------------------
/external/SSDL/libvs/Win32/SSDL_Debug.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/libvs/Win32/SSDL_Debug.lib
--------------------------------------------------------------------------------
/external/SSDL/libvs/Win32/SSDL_Release.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/libvs/Win32/SSDL_Release.lib
--------------------------------------------------------------------------------
/external/SSDL/test/media/goodPumpkin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/goodPumpkin.png
--------------------------------------------------------------------------------
/external/SSDL/test/media/haunted-house.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/haunted-house.jpg
--------------------------------------------------------------------------------
/external/fmt-master/test/header-only-test2.cc:
--------------------------------------------------------------------------------
1 | // Additional translation unit for the header-only configuration test
2 |
3 | #include "fmt/core.h"
4 |
--------------------------------------------------------------------------------
/ch1/2-helloMangled/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch1/6-colorSquares/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch1/7-quotation/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch1/8-labelSquares/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch10/2-lowestTemp/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch10/4-printCard/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch11/1-staircase/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch11/2-bouncingBall/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch11/4-spritefish/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch11/5-spritefish/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch12/1-keystate/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch12/3-splat/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/goodPumpkin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/goodPumpkin.png
--------------------------------------------------------------------------------
/ch26/2-constexprs/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch3/1-variables/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch3/2-divingBoard/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch3/3-star-wrong/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch4/2-searchBox/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch4/3-searchGame/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch5/2-averaging/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch5/3-alphaOrder/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch5/4-alphaOrder/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch5/loops-with-SSDL/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch7/1-greyscale/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch7/2-drawCross/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch7/3-drawCrosses/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch7/4-globalVars/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch7/howToWriteAFunctionInFourEasySteps.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch7/howToWriteAFunctionInFourEasySteps.docx
--------------------------------------------------------------------------------
/ch8/2-srandRepeated/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag-allFixed/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/i686-w64-mingw32/include/SDL2/SDL_revision.h:
--------------------------------------------------------------------------------
1 | #define SDL_REVISION "hg-13609:34cc7d3b69d3"
2 | #define SDL_REVISION_NUMBER 13609
3 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/include/SDL2/SDL_revision.h:
--------------------------------------------------------------------------------
1 | #define SDL_REVISION "hg-13609:34cc7d3b69d3"
2 | #define SDL_REVISION_NUMBER 13609
3 |
--------------------------------------------------------------------------------
/external/SSDL/test/media/jack-o-lantern.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/jack-o-lantern.png
--------------------------------------------------------------------------------
/external/SSDL/unixTestWoLib/readme.txt:
--------------------------------------------------------------------------------
1 | This directory is for testing the code, in Unix, without building a library. Useful only for developers of the library.
--------------------------------------------------------------------------------
/ch10/1-readInPrintOut/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch10/2-lowestTemp/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch10/3-minimum/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch10/4-printCard/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch10/5-ticTacToeBoard/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch11/1-staircase/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch11/4-spritefish/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch11/5-spritefish/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch12/1-keystate/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/haunted-house.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/haunted-house.jpg
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/jack-o-lantern.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/jack-o-lantern.png
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch21/1-thru-7-shapes/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch21/8-moveSemantics/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch21/powerupsExercise/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibStatic/framework.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
4 |
--------------------------------------------------------------------------------
/ch24/g++/montana/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if the .so file isn't in the library path
2 | export LD_LIBRARY_PATH=../cardLibg++
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch25/1-sstream/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch26/2-constexprs/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch27/7-coroutines/GeneratorDoesn'tWorkWithG++--NoMakefile.txt:
--------------------------------------------------------------------------------
1 | generator doesn't work with g++ -- so there's no Makefile; Visual Studio only on this one (for now).
--------------------------------------------------------------------------------
/ch29/1-3-sdlProgram/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch9/1-flag-stripesFixed/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/controllermap.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/controllermap.bmp
--------------------------------------------------------------------------------
/external/SSDL/test/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
5 |
--------------------------------------------------------------------------------
/external/fmt-master/support/rtd/index.rst:
--------------------------------------------------------------------------------
1 | If you are not redirected automatically, follow the
2 | `link to the fmt documentation `_.
3 |
--------------------------------------------------------------------------------
/ch10/1-readInPrintOut/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch10/3-minimum/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch10/5-ticTacToeBoard/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch11/2-bouncingBall/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch11/3-bouncingBallsArray/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch12/1-keystate/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch12/3-splat/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch21/1-thru-7-shapes/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch21/8-moveSemantics/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch21/powerupsExercise/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibStaticNoPCH/framework.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
4 |
--------------------------------------------------------------------------------
/ch25/1-sstream/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch25/4-cmdLineArgs/file1.txt:
--------------------------------------------------------------------------------
1 | This is file1.txt.
2 | It contains several lines,
3 | Like this one,
4 | And this.
5 | Only two lines differ from those of file2.txt.
--------------------------------------------------------------------------------
/ch25/4-cmdLineArgs/file2.txt:
--------------------------------------------------------------------------------
1 | This is file2.txt.
2 | It contains several lines,
3 | Like this one,
4 | And this.
5 | Only two lines differ from those of file1.txt.
--------------------------------------------------------------------------------
/ch29/1-3-sdlProgram/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch3/bugsHead-with-constexpr/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag-allFixed/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/external/SSDL/test/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch10/2-lowestTemp/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch10/4-printCard/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch11/1-staircase/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch11/2-bouncingBall/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch11/3-bouncingBallsArray/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch11/4-spritefish/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch11/5-spritefish/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch2/6-sound/media/321530__robbo799__church-bell.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/6-sound/media/321530__robbo799__church-bell.wav
--------------------------------------------------------------------------------
/ch21/1-thru-7-shapes/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch21/8-moveSemantics/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch26/2-constexprs/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch26/4-5-6-smartPointers/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch29/1-3-sdlProgram/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch4/3-searchGame/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch9/1-flag-allFixed/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch9/1-flag-stripesFixed/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p01_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p01_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p01_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p01_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p02_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p02_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p02_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p02_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p03_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p03_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p03_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p03_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p04_shape1.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p04_shape1.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p04_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p04_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p04_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p04_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p05_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p05_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p06_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p06_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p06_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p06_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p07_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p07_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p07_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p07_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p08_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p08_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p08_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p08_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p09_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p09_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p09_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p09_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p10_shape1.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p10_shape1.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p10_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p10_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p10_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p10_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p11_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p11_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p11_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p11_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p12_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p12_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p12_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p12_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p13_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p13_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p13_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p13_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p14_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p14_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p14_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p14_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p15_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p15_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p15_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p15_shape8.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p16_shape1.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p16_shape1.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p16_shape24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p16_shape24.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p16_shape8.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p16_shape8.bmp
--------------------------------------------------------------------------------
/external/SSDL/test/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/contents.rst:
--------------------------------------------------------------------------------
1 | ########
2 | Contents
3 | ########
4 |
5 | .. toctree::
6 | :maxdepth: 2
7 |
8 | usage
9 | api
10 | syntax
11 |
--------------------------------------------------------------------------------
/newWork/basicSSDLProject/gdbx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | gdb a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch10/1-readInPrintOut/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch10/5-ticTacToeBoard/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch11/3-bouncingBallsArray/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/media/sign-2881876-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/2-aliensBuzzOurWorld/media/sign-2881876-small.png
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/media/ufo-2718088-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/2-aliensBuzzOurWorld/media/ufo-2718088-small.png
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch2/6-sound/media/457729__razor5__boss-battle-2-0.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch2/6-sound/media/457729__razor5__boss-battle-2-0.wav
--------------------------------------------------------------------------------
/ch21/powerupsExercise/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch25/1-sstream/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if you haven't put libssdl.so in an appropriate path yet
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
5 |
--------------------------------------------------------------------------------
/ch26/4-5-6-smartPointers/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ch9/1-flag-stripesFixed/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin/SDL2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin/SDL2.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/trollface_24.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/trollface_24.bmp
--------------------------------------------------------------------------------
/newWork/basicSSDLProject/dddx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if libssdl.so isn't in the library path
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ddd a.out &
4 |
5 |
6 |
--------------------------------------------------------------------------------
/newWork/basicStandardProject/main.cpp:
--------------------------------------------------------------------------------
1 | //
2 |
3 | #include
4 |
5 | using namespace std;
6 |
7 | int main ()
8 | {
9 |
10 |
11 | return 0;
12 | }
13 |
--------------------------------------------------------------------------------
/ch1/test-setup/media/457729__razor5__boss-battle-2-0.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch1/test-setup/media/457729__razor5__boss-battle-2-0.wav
--------------------------------------------------------------------------------
/ch12/3-splat/media/445117__breviceps__cartoon-splat.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/3-splat/media/445117__breviceps__cartoon-splat.wav
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p01_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p01_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p02_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p02_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p04_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p04_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p06_shape1alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p06_shape1alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p06_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p06_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p07_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p07_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p08_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p08_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p09_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p09_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p10_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p10_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p11_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p11_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p13_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p13_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/p15_shape32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/p15_shape32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/bin/SDL2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/bin/SDL2.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2.a
--------------------------------------------------------------------------------
/external/fmt-master/support/cmake/fmt-config.cmake.in:
--------------------------------------------------------------------------------
1 | @PACKAGE_INIT@
2 |
3 | include(${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake)
4 | check_required_components(fmt)
5 |
--------------------------------------------------------------------------------
/ch26/4-5-6-smartPointers/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if you haven't put libssdl.so in an appropriate path yet
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
5 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2.dll.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2main.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2main.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/shapes/trollface_32alpha.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/test/shapes/trollface_32alpha.bmp
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin/zlib1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin/zlib1.dll
--------------------------------------------------------------------------------
/newWork/basicSSDLProject/runx:
--------------------------------------------------------------------------------
1 | #Run this on Unix systems if you haven't put libssdl.so in an appropriate path yet
2 | export LD_LIBRARY_PATH=../../external/SSDL/unix
3 | ./a.out
4 |
5 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2_test.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/libSDL2_test.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2.dll.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2_test.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2_test.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2main.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/libSDL2main.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/zlib1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/zlib1.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin/SDL2_ttf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin/SDL2_ttf.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/bin/zlib1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/bin/zlib1.dll
--------------------------------------------------------------------------------
/external/SSDL/test/media/457741__osiruswaltz__wall-bump-1.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/457741__osiruswaltz__wall-bump-1.wav
--------------------------------------------------------------------------------
/external/fmt-master/support/README:
--------------------------------------------------------------------------------
1 | This directory contains build support files such as
2 |
3 | * CMake modules
4 | * Build scripts
5 | * qmake (static build with dynamic libc only)
6 |
7 |
--------------------------------------------------------------------------------
/external/fmt-master/support/rtd/conf.py:
--------------------------------------------------------------------------------
1 | # Sphinx configuration for readthedocs.
2 |
3 | import os, sys
4 |
5 | master_doc = 'index'
6 | html_theme = 'theme'
7 | html_theme_path = ["."]
8 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/457741__osiruswaltz__wall-bump-1.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/457741__osiruswaltz__wall-bump-1.wav
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/zlib1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/zlib1.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libogg-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libogg-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/lib/libSDL2_ttf.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/lib/libSDL2_ttf.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/bin/SDL2_ttf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/bin/SDL2_ttf.dll
--------------------------------------------------------------------------------
/external/fmt-master/doc/basic-bootstrap/README:
--------------------------------------------------------------------------------
1 | Sphinx basic theme with Bootstrap support. Modifications are kept to
2 | a minimum to simplify integration in case of changes to Sphinx theming.
3 |
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/media/178267__alqutis__hovercar-short.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/2-aliensBuzzOurWorld/media/178267__alqutis__hovercar-short.wav
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/SDL2_image.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/SDL2_image.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libjpeg-9.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libjpeg-9.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libpng16-16.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libpng16-16.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libtiff-5.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libtiff-5.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libwebp-7.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin/libwebp-7.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/lib/libSDL2_image.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/lib/libSDL2_image.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libjpeg-9.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libjpeg-9.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libtiff-5.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libtiff-5.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libwebp-7.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libwebp-7.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/SDL2_mixer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/SDL2_mixer.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libFLAC-8.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libFLAC-8.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libmpg123-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libmpg123-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libopus-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libopus-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libvorbis-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libvorbis-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/lib/libSDL2_mixer.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/lib/libSDL2_mixer.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libFLAC-8.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libFLAC-8.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libogg-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libogg-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libopus-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libopus-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin/libfreetype-6.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin/libfreetype-6.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/lib/libSDL2_ttf.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/lib/libSDL2_ttf.dll.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/lib/libSDL2_ttf.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/lib/libSDL2_ttf.a
--------------------------------------------------------------------------------
/external/SSDL/test/media/326813__mrose6__echoed-screams-short.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/326813__mrose6__echoed-screams-short.wav
--------------------------------------------------------------------------------
/external/SSDL/test/media/342153__robcro6010__circus-theme-short.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/342153__robcro6010__circus-theme-short.wav
--------------------------------------------------------------------------------
/external/fmt-master/test/format-dyn-args-test.cc:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2020 Vladimir Solontsov
2 | // SPDX-License-Identifier: MIT Licence
3 |
4 | #include
5 |
6 | #include "gtest-extra.h"
7 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/326813__mrose6__echoed-screams-short.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/326813__mrose6__echoed-screams-short.wav
--------------------------------------------------------------------------------
/ch19/3-card/3-card.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/01-swap/01-swap.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch23/2-span/2-span.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/SDL2_image.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/SDL2_image.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libpng16-16.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/bin/libpng16-16.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/lib/libSDL2_image.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/lib/libSDL2_image.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libmodplug-1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libmodplug-1.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libopusfile-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libopusfile-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/SDL2_mixer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/SDL2_mixer.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libmpg123-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libmpg123-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libvorbis-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libvorbis-0.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/lib/libSDL2_mixer.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/lib/libSDL2_mixer.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/bin/libfreetype-6.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/bin/libfreetype-6.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/lib/libSDL2_ttf.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/lib/libSDL2_ttf.dll.a
--------------------------------------------------------------------------------
/external/SSDL/VS/SSDL.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/SSDL/test/media/388284__matypresidente__water-drop-short.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/388284__matypresidente__water-drop-short.wav
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/center-block.less:
--------------------------------------------------------------------------------
1 | // Center-align a block level element
2 |
3 | .center-block() {
4 | display: block;
5 | margin-left: auto;
6 | margin-right: auto;
7 | }
8 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/text-emphasis.less:
--------------------------------------------------------------------------------
1 | // Typography
2 |
3 | .text-emphasis-variant(@color) {
4 | color: @color;
5 | a&:hover {
6 | color: darken(@color, 10%);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/external/fmt-master/test/find-package-test/main.cc:
--------------------------------------------------------------------------------
1 | #include "fmt/format.h"
2 |
3 | int main(int argc, char** argv) {
4 | for(int i = 0; i < argc; ++i)
5 | fmt::print("{}: {}\n", i, argv[i]);
6 | }
7 |
--------------------------------------------------------------------------------
/newWork/basicSSDLProject/main.cpp:
--------------------------------------------------------------------------------
1 | //
2 |
3 | #include "SSDL.h"
4 |
5 | int main(int argc, char** argv)
6 | {
7 |
8 | SSDL_WaitKey(); //Wait for user to hit a key
9 | return 0;
10 | }
11 |
--------------------------------------------------------------------------------
/HOW__TO_CONTACT_AUTHOR.txt:
--------------------------------------------------------------------------------
1 | If you need to contact me...my email is
2 | briggs dot double-u at lynchburg dot edu
3 |
4 | If relevant, you can also suggest changes on the GitHub repository this folder came from.
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/342153__robcro6010__circus-theme-short.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/342153__robcro6010__circus-theme-short.wav
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/388284__matypresidente__water-drop-short.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/388284__matypresidente__water-drop-short.wav
--------------------------------------------------------------------------------
/ch13/1-hello/1-hello.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch13/average/average.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/10-pair/10-pair.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/11-stack/11-stack.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch25/2-format/2-format.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch25/3-format/3-format.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch27/modules/modules.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch28/1-hello/1-hello.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch28/3-fileIO/3-fileIO.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/lib/libSDL2_image.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/lib/libSDL2_image.dll.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libvorbisfile-3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/libvorbisfile-3.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/lib/libSDL2_mixer.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/lib/libSDL2_mixer.dll.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libmodplug-1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libmodplug-1.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libopusfile-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libopusfile-0.dll
--------------------------------------------------------------------------------
/external/SSDL/test/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.otf
--------------------------------------------------------------------------------
/external/SSDL/test/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.ttf
--------------------------------------------------------------------------------
/external/fmt-master/doc/_static/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/fmt-master/doc/_static/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/external/fmt-master/doc/_static/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/fmt-master/doc/_static/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/external/fmt-master/doc/_static/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/fmt-master/doc/_static/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/external/fmt-master/test/add-subdirectory-test/main.cc:
--------------------------------------------------------------------------------
1 | #include "fmt/format.h"
2 |
3 | int main(int argc, char** argv) {
4 | for(int i = 0; i < argc; ++i)
5 | fmt::print("{}: {}\n", i, argv[i]);
6 | }
7 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.otf
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/Sinister-Fonts_Werewolf-Moon/Werewolf Moon.ttf
--------------------------------------------------------------------------------
/ch14/3-passcode/3-passcode.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch16/6-7-8-date/6-7-8-date.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch17/1-2-3-string/1-2-3-string.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch18/1-2-stack/1-2-stack.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch18/3-4-string/3-4-string.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch18/5-factorial/5-factorial.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch19/4-cardGroup/4-cardGroup.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/02-concepts/02-concepts.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch22/1-2-lists/1-2-lists.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch23/1-iterators/1-iterators.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch23/algorithm/algorithm.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibDLL/framework.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
4 | // Windows Header Files
5 | #include
6 |
--------------------------------------------------------------------------------
/ch25/5-bitManip/5-bitManip.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch26/1-defaulted/1-defaulted.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch26/8-lambdas/8-lambdas.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch28/2-consoleIO/2-consoleIO.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch28/4-stringIO/4-stringIO.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch28/5-passcode/5-passcode.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/lib/libSDL2_image.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/lib/libSDL2_image.dll.a
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libvorbisfile-3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/libvorbisfile-3.dll
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/lib/libSDL2_mixer.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/lib/libSDL2_mixer.dll.a
--------------------------------------------------------------------------------
/external/SSDL/test/media/342153__robcro6010__circus-theme-short - Copy.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/342153__robcro6010__circus-theme-short - Copy.wav
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/342153__robcro6010__circus-theme-short - Copy.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/342153__robcro6010__circus-theme-short - Copy.wav
--------------------------------------------------------------------------------
/ch13/2-frequencies/2-frequencies.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch15/1-date-wCtor/1-date-wCtor.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch16/1-2-stopwatch/1-2-stopwatch.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch19/1-2-employees/1-2-employees.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch19/7-8-9-bigGame/7-8-9-bigGame.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/compileLibsBeforeUsesForBestResults.txt:
--------------------------------------------------------------------------------
1 | If you compile a program that *uses* a library before the library (!), that obviously won't work...so compile the cardLib you want first, then the program to use it.
--------------------------------------------------------------------------------
/ch27/1-2-protected/1-2-protected.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch27/3-4-5-friends/3-4-5-friends.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch27/7-coroutines/7-coroutines.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch28/6-stringStats/6-stringStats.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/SSDL/test/media/159509__mistersherlock__halloween-graveyd-short.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/159509__mistersherlock__halloween-graveyd-short.mp3
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/159509__mistersherlock__halloween-graveyd-short.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/159509__mistersherlock__halloween-graveyd-short.mp3
--------------------------------------------------------------------------------
/ch13/3-capitalizeFile/3-capitalizeFile.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch13/5-killerRobots/5-killerRobots.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch14/strcpyVersions/strcpyVersions.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch15/2-date-bestSoFar/2-date-bestSoFar.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch19/5-6-wasteAndCell/5-6-wasteAndCell.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/03-printConcepts/03-printConcepts.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch25/ioManipulators/ioManipulators.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/size.less:
--------------------------------------------------------------------------------
1 | // Sizing shortcuts
2 |
3 | .size(@width; @height) {
4 | width: @width;
5 | height: @height;
6 | }
7 |
8 | .square(@size) {
9 | .size(@size; @size);
10 | }
11 |
--------------------------------------------------------------------------------
/ch14/1-and-2-charArrays/1-and-2-charArrays.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/04-05-06-intVector/04-05-06-intVector.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/09-vectorTemplate/09-vectorTemplate.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch22/listsExercisesCode/listsExercisesCode.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch23/3-initializer_lists/3-initializer_list.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibDLL/cardLibDLL.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/usesStatic/usesStatic.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch26/7-userDefLiterals/7-userDefLiterals.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch27/6-userConversions/6-userConversions.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/opacity.less:
--------------------------------------------------------------------------------
1 | // Opacity
2 |
3 | .opacity(@opacity) {
4 | opacity: @opacity;
5 | // IE8 filter
6 | @opacity-ie: (@opacity * 100);
7 | filter: ~"alpha(opacity=@{opacity-ie})";
8 | }
9 |
--------------------------------------------------------------------------------
/ch20/07-08-vectorTemplate/07-08-vectorTemplate.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibStatic/cardLibStatic.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch26/3-structuredBindings/3-structuredBindings.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/background-variant.less:
--------------------------------------------------------------------------------
1 | // Contextual backgrounds
2 |
3 | .bg-variant(@color) {
4 | background-color: @color;
5 | a&:hover {
6 | background-color: darken(@color, 10%);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/ch13/4-killerRobotsUsingCin/4-killerRobotsUsingCin.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch20/vectorTemplateWConcepts/vectorTemplateWConcepts.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/usesStaticNoPCH/usesStaticNoPCH.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/newWork/basicStandardProject/basicStandardProject.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch19/7-8-9-bigGame/io.h:
--------------------------------------------------------------------------------
1 | // I/O functions
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef IO_H
5 | #define IO_H
6 |
7 | bool getYorNAnswer (const char question[]);
8 |
9 | class BadInput {};
10 |
11 | #endif //IO_H
12 |
--------------------------------------------------------------------------------
/ch23/range-based-for-and-auto/range-based-for-and-auto.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibDLL/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: source file corresponding to the pre-compiled header
2 |
3 | #include "pch.h"
4 |
5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
6 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibStaticNoPCH/cardLibStaticNoPCH.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch24/g++/montana/io.h:
--------------------------------------------------------------------------------
1 | // I/O functions
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef IO_H
5 | #define IO_H
6 |
7 | bool getYorNAnswer (const char question[]);
8 |
9 | class BadInput {};
10 |
11 | #endif //IO_H
12 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibStatic/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: source file corresponding to the pre-compiled header
2 |
3 | #include "pch.h"
4 |
5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
6 |
--------------------------------------------------------------------------------
/ch28/1-hello/hello.c:
--------------------------------------------------------------------------------
1 | // Hello, world! -- again! This time in C.
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include
5 |
6 | int main ()
7 | {
8 | printf ("Hello, world!\n");
9 |
10 | return 0;
11 | }
12 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/text-overflow.less:
--------------------------------------------------------------------------------
1 | // Text overflow
2 | // Requires inline-block or block for proper styling
3 |
4 | .text-overflow() {
5 | overflow: hidden;
6 | text-overflow: ellipsis;
7 | white-space: nowrap;
8 | }
9 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/cardLibStaticNoPCH/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: source file corresponding to the pre-compiled header
2 |
3 | #include "pch.h"
4 |
5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
6 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/usesDLL/io.h:
--------------------------------------------------------------------------------
1 | // I/O functions
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef IO_H
5 | #define IO_H
6 |
7 | bool getYorNAnswer (const char question[]);
8 |
9 | class BadInput {};
10 |
11 | #endif //IO_H
12 |
--------------------------------------------------------------------------------
/external/SDL2/docs/README-platforms.md:
--------------------------------------------------------------------------------
1 | Platforms
2 | =========
3 |
4 | We maintain the list of supported platforms on our wiki now, and how to
5 | build and install SDL for those platforms:
6 |
7 | https://wiki.libsdl.org/Installation
8 |
9 |
--------------------------------------------------------------------------------
/external/SDL2/lib/x86/LICENSE.modplug.txt:
--------------------------------------------------------------------------------
1 | The source code to this library used with SDL_mixer can be found here:
2 | https://hg.libsdl.org/SDL_mixer/file/default/external
3 | ---
4 |
5 | ModPlug-XMMS and libmodplug are now in the public domain.
6 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/usesStatic/io.h:
--------------------------------------------------------------------------------
1 | // I/O functions
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef IO_H
5 | #define IO_H
6 |
7 | bool getYorNAnswer (const char question[]);
8 |
9 | class BadInput {};
10 |
11 | #endif //IO_H
12 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/tab-focus.less:
--------------------------------------------------------------------------------
1 | // WebKit-style focus
2 |
3 | .tab-focus() {
4 | // Default
5 | outline: thin dotted;
6 | // WebKit
7 | outline: 5px auto -webkit-focus-ring-color;
8 | outline-offset: -2px;
9 | }
10 |
--------------------------------------------------------------------------------
/ch24/VisualStudio/usesStaticNoPCH/io.h:
--------------------------------------------------------------------------------
1 | // I/O functions
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef IO_H
5 | #define IO_H
6 |
7 | bool getYorNAnswer (const char question[]);
8 |
9 | class BadInput {};
10 |
11 | #endif //IO_H
12 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/docs/README-platforms.md:
--------------------------------------------------------------------------------
1 | Platforms
2 | =========
3 |
4 | We maintain the list of supported platforms on our wiki now, and how to
5 | build and install SDL for those platforms:
6 |
7 | https://wiki.libsdl.org/Installation
8 |
9 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/resize.less:
--------------------------------------------------------------------------------
1 | // Resize anything
2 |
3 | .resizable(@direction) {
4 | resize: @direction; // Options: horizontal, vertical, both
5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
6 | }
7 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/labels.less:
--------------------------------------------------------------------------------
1 | // Labels
2 |
3 | .label-variant(@color) {
4 | background-color: @color;
5 |
6 | &[href] {
7 | &:hover,
8 | &:focus {
9 | background-color: darken(@color, 10%);
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/COPYING:
--------------------------------------------------------------------------------
1 |
2 | The test programs in this directory tree are for demonstrating and
3 | testing the functionality of the SDL library, and are placed in the
4 | public domain.
5 |
6 | October 28, 1997
7 | --
8 | Sam Lantinga (slouken@libsdl.org)
9 |
--------------------------------------------------------------------------------
/external/SSDL/libvs/Win32/SSDL_Debug.lib.recipe:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/external/SSDL/test/media/Sinister-Fonts_Werewolf-Moon/Werewolf-Moon-Font-by-Chad-Savage_-_SinisterFonts.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/external/SSDL/test/media/Sinister-Fonts_Werewolf-Moon/Werewolf-Moon-Font-by-Chad-Savage_-_SinisterFonts.jpg
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin/LICENSE.modplug.txt:
--------------------------------------------------------------------------------
1 | The source code to this library used with SDL_mixer can be found here:
2 | https://hg.libsdl.org/SDL_mixer/file/default/external
3 | ---
4 |
5 | ModPlug-XMMS and libmodplug are now in the public domain.
6 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/bin/LICENSE.modplug.txt:
--------------------------------------------------------------------------------
1 | The source code to this library used with SDL_mixer can be found here:
2 | https://hg.libsdl.org/SDL_mixer/file/default/external
3 | ---
4 |
5 | ModPlug-XMMS and libmodplug are now in the public domain.
6 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/media/Sinister-Fonts_Werewolf-Moon/Werewolf-Moon-Font-by-Chad-Savage_-_SinisterFonts.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Apress/cpp20-for-lazy-programmers/HEAD/ch12/4-thru-8-bigGame/media/Sinister-Fonts_Werewolf-Moon/Werewolf-Moon-Font-by-Chad-Savage_-_SinisterFonts.jpg
--------------------------------------------------------------------------------
/external/fmt-master/.clang-format:
--------------------------------------------------------------------------------
1 | # Run manually to reformat a file:
2 | # clang-format -i --style=file
3 | Language: Cpp
4 | BasedOnStyle: Google
5 | IndentPPDirectives: AfterHash
6 | IndentCaseLabels: false
7 | AlwaysBreakTemplateDeclarations: false
8 | DerivePointerAlignment: false
9 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/progress-bar.less:
--------------------------------------------------------------------------------
1 | // Progress bars
2 |
3 | .progress-bar-variant(@color) {
4 | background-color: @color;
5 |
6 | // Deprecated parent class requirement as of v3.2.0
7 | .progress-striped & {
8 | #gradient > .striped();
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/external/SDL2/docs/README-wince.md:
--------------------------------------------------------------------------------
1 | WinCE
2 | =====
3 |
4 | Windows CE is no longer supported by SDL.
5 |
6 | We have left the CE support in SDL 1.2 for those that must have it, and we
7 | have support for Windows Phone 8 and WinRT in SDL2, as of SDL 2.0.3.
8 |
9 | --ryan.
10 |
11 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-1/runx:
--------------------------------------------------------------------------------
1 | echo "You should see a test of SSDL, with I/O, graphics, sound, mouse clicks. "
2 | echo " Before using the shared library, be sure and put it in a place where "
3 | echo " Unix will look for it; or export LD_LIBRARY_PATH="
4 | export LD_LIBRARY_PATH=.
5 | ./a.out
6 |
7 |
--------------------------------------------------------------------------------
/external/SSDL/mcve/runx:
--------------------------------------------------------------------------------
1 | echo "You should see a test of SSDL, with I/O, graphics, sound, mouse clicks. "
2 | echo " Before using the shared library, be sure and put it in a place where "
3 | echo " Unix will look for it; or export LD_LIBRARY_PATH="
4 | export LD_LIBRARY_PATH=.
5 | ./a.out
6 |
7 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/docs/README-wince.md:
--------------------------------------------------------------------------------
1 | WinCE
2 | =====
3 |
4 | Windows CE is no longer supported by SDL.
5 |
6 | We have left the CE support in SDL 1.2 for those that must have it, and we
7 | have support for Windows Phone 8 and WinRT in SDL2, as of SDL 2.0.3.
8 |
9 | --ryan.
10 |
11 |
--------------------------------------------------------------------------------
/external/SSDL/unix/runx:
--------------------------------------------------------------------------------
1 | echo "You should see a test of SSDL, with I/O, graphics, sound, mouse clicks. "
2 | echo " Before using the shared library, be sure and put it in a place where "
3 | echo " Unix will look for it; or export LD_LIBRARY_PATH="
4 | export LD_LIBRARY_PATH=.
5 | ./shared-test
6 |
7 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-testSSDL/runx:
--------------------------------------------------------------------------------
1 | echo "You should see a test of SSDL, with I/O, graphics, sound, mouse clicks. "
2 | echo " Before using the shared library, be sure and put it in a place where "
3 | echo " Unix will look for it; or export LD_LIBRARY_PATH="
4 | export LD_LIBRARY_PATH=.
5 | ./a.out
6 |
7 |
--------------------------------------------------------------------------------
/external/SSDL/unixTestWoLib/runx:
--------------------------------------------------------------------------------
1 | echo "You should see a test of SSDL, with I/O, graphics, sound, mouse clicks. "
2 | echo " Before using the shared library, be sure and put it in a place where "
3 | echo " Unix will look for it; or export LD_LIBRARY_PATH="
4 | export LD_LIBRARY_PATH=.
5 | ./a.out
6 |
7 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/reset-filter.less:
--------------------------------------------------------------------------------
1 | // Reset filters for IE
2 | //
3 | // When you need to remove a gradient background, do not forget to use this to reset
4 | // the IE filter for IE9 and below.
5 |
6 | .reset-filter() {
7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
8 | }
9 |
--------------------------------------------------------------------------------
/ch16/1-2-stopwatch/main.cpp:
--------------------------------------------------------------------------------
1 | // Program that uses Stopwatches and Times
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include "time.h"
5 | #include "stopwatch.h"
6 |
7 | int main(int argc, char** argv)
8 | {
9 | Time duration;
10 | Stopwatch myStopwatch;
11 |
12 | // ...
13 | return 0;
14 | }
15 |
--------------------------------------------------------------------------------
/external/SSDL/MSys/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if you haven't put SDL-MinGW folders in appropriate places
2 | PATH="../../SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | ./static-test.exe
4 |
--------------------------------------------------------------------------------
/external/SSDL/MinGW/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if you haven't put SDL-MinGW folders in appropriate places
2 | PATH="../../SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | static-test.exe
4 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/nav-divider.less:
--------------------------------------------------------------------------------
1 | // Horizontal dividers
2 | //
3 | // Dividers (basically an hr) within dropdowns and nav lists
4 |
5 | .nav-divider(@color: #e5e5e5) {
6 | height: 1px;
7 | margin: ((@line-height-computed / 2) - 1) 0;
8 | overflow: hidden;
9 | background-color: @color;
10 | }
11 |
--------------------------------------------------------------------------------
/ch10/3-minimum/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch12/3-splat/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch25/1-sstream/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch1/3-drawDot/main.cpp:
--------------------------------------------------------------------------------
1 | // Draw a dot at the center of the screen
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include "SSDL.h"
5 |
6 | int main (int argc, char** argv)
7 | {
8 | // draws a dot at the center position (320, 240)
9 | SSDL_RenderDrawPoint (320, 240);
10 |
11 | SSDL_WaitKey ();
12 |
13 | return 0;
14 | }
15 |
--------------------------------------------------------------------------------
/ch10/2-lowestTemp/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch10/4-printCard/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch11/1-staircase/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch11/2-bouncingBall/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch11/4-spritefish/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch11/5-spritefish/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch12/1-keystate/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch26/2-constexprs/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch29/1-3-sdlProgram/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag-allFixed/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/external/SSDL/test/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch10/1-readInPrintOut/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch10/5-ticTacToeBoard/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch21/1-thru-7-shapes/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch21/8-moveSemantics/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch21/powerupsExercise/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch26/4-5-6-smartPointers/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch9/1-flag-stripesFixed/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/newWork/basicSSDLProject/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch11/3-bouncingBallsArray/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/gdbw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if .dll's SDL2 needs aren't in the PATH
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | gdb a.out
4 |
--------------------------------------------------------------------------------
/ch16/1-2-stopwatch/stopwatch.h:
--------------------------------------------------------------------------------
1 | // stopwatch.h: defines class Stopwatch
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef STOPWATCH_H
5 | #define STOPWATCH_H
6 |
7 | #include "time.h"
8 |
9 | class Stopwatch
10 | {
11 | public:
12 | Stopwatch () {}
13 | private:
14 | Time start_, stop_;
15 | };
16 |
17 | #endif //STOPWATCH_H
--------------------------------------------------------------------------------
/external/SSDL/test/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW systems if you haven't put SDL-MinGW folders in appropriate places
2 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
3 | a.out
4 |
--------------------------------------------------------------------------------
/ch13/1-hello/main.cpp:
--------------------------------------------------------------------------------
1 | // Hello, world! program
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | // It prints "Hello, world!" on the screen.
5 | // Quite an accomplishment, huh?
6 |
7 | #include
8 |
9 | using namespace std;
10 |
11 | int main ( )
12 | {
13 | cout << "Hello, world!" << endl;
14 |
15 | return 0;
16 | }
17 |
--------------------------------------------------------------------------------
/ch16/1-2-stopwatch/time.h:
--------------------------------------------------------------------------------
1 | // time.h: defines class Time
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef TIME_H // If TIME_H is not defined...
5 | #define TIME_H
6 |
7 | class Time
8 | {
9 | public:
10 | Time () : hours_(0), minutes_(0), seconds_(0) {}
11 | private:
12 | int hours_, minutes_, seconds_;
13 | };
14 |
15 | #endif //TIME_H
16 |
--------------------------------------------------------------------------------
/ch2/1-beach/main.cpp:
--------------------------------------------------------------------------------
1 | // Program to show an image on the screen
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include "SSDL.h"
5 |
6 | int main (int argc, char **argv)
7 | {
8 | // Show image
9 | SSDL_Image BEACH = SSDL_LoadImage ("media/beach.jpg");
10 | SSDL_RenderImage (BEACH, 0, 0);
11 |
12 | SSDL_WaitKey();
13 |
14 | return 0;
15 | }
16 |
--------------------------------------------------------------------------------
/external/fmt-master/support/cmake/FindSetEnv.cmake:
--------------------------------------------------------------------------------
1 | # A CMake script to find SetEnv.cmd.
2 |
3 | find_program(WINSDK_SETENV NAMES SetEnv.cmd
4 | PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows;CurrentInstallFolder]/bin")
5 | if (WINSDK_SETENV AND PRINT_PATH)
6 | execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${WINSDK_SETENV}")
7 | endif ()
8 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/alerts.less:
--------------------------------------------------------------------------------
1 | // Alerts
2 |
3 | .alert-variant(@background; @border; @text-color) {
4 | background-color: @background;
5 | border-color: @border;
6 | color: @text-color;
7 |
8 | hr {
9 | border-top-color: darken(@border, 5%);
10 | }
11 | .alert-link {
12 | color: darken(@text-color, 10%);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/external/fmt-master/support/cmake/fmt.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | exec_prefix=@CMAKE_INSTALL_PREFIX@
3 | libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
4 | includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
5 |
6 | Name: fmt
7 | Description: A modern formatting library
8 | Version: @FMT_VERSION@
9 | Libs: -L${libdir} -l@FMT_LIB_NAME@
10 | Cflags: -I${includedir}
11 |
12 |
--------------------------------------------------------------------------------
/ch27/modules/main.cpp:
--------------------------------------------------------------------------------
1 | // Telling the world hello in different languages using modules
2 | // -- for _C++20 for Lazy Programmers_
3 |
4 | import printGreetings; // for printHello, NUM_LANGUAGES
5 |
6 | int main()
7 | {
8 | for (int lang = 0; lang < languages::NUM_LANGUAGES; ++lang)
9 | printHello (lang); // for each language, say hello
10 |
11 | return 0;
12 | }
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/test/autogen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Regenerate configuration files
4 | cp acinclude.m4 aclocal.m4
5 | found=false
6 | for autoconf in autoconf autoconf259 autoconf-2.59
7 | do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
8 | done
9 | if test x$found = xfalse; then
10 | echo "Couldn't find autoconf, aborting"
11 | exit 1
12 | fi
13 |
--------------------------------------------------------------------------------
/external/fmt-master/support/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 | include $(CLEAR_VARS)
3 |
4 | LOCAL_MODULE := fmt_static
5 | LOCAL_MODULE_FILENAME := libfmt
6 |
7 | LOCAL_SRC_FILES := ../src/format.cc
8 |
9 | LOCAL_C_INCLUDES := $(LOCAL_PATH)
10 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
11 |
12 | LOCAL_CFLAGS += -std=c++11 -fexceptions
13 |
14 | include $(BUILD_STATIC_LIBRARY)
15 |
16 |
--------------------------------------------------------------------------------
/ch21/powerupsExercise/megaPowerup.cpp:
--------------------------------------------------------------------------------
1 | //MegaPowerup class: a Powerup for an arcade game
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include "megaPowerup.h"
5 |
6 | void MegaPowerup::animate ()
7 | {
8 | if (!isAnimated ()) { draw (); return; }
9 |
10 | int whichColor = framesLeftInAnimation_ / FRAMES_PER_COLOR;
11 | SSDL_RenderClear(colors_[whichColor]);
12 | --framesLeftInAnimation_;
13 | }
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/i686-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake:
--------------------------------------------------------------------------------
1 | set(PACKAGE_VERSION "2.0.12")
2 |
3 | if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
4 | set(PACKAGE_VERSION_COMPATIBLE FALSE)
5 | else()
6 | set(PACKAGE_VERSION_COMPATIBLE TRUE)
7 | if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
8 | set(PACKAGE_VERSION_EXACT TRUE)
9 | endif()
10 | endif()
11 |
12 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake:
--------------------------------------------------------------------------------
1 | set(PACKAGE_VERSION "2.0.12")
2 |
3 | if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
4 | set(PACKAGE_VERSION_COMPATIBLE FALSE)
5 | else()
6 | set(PACKAGE_VERSION_COMPATIBLE TRUE)
7 | if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
8 | set(PACKAGE_VERSION_EXACT TRUE)
9 | endif()
10 | endif()
11 |
12 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/lib/pkgconfig/SDL2_mixer.pc:
--------------------------------------------------------------------------------
1 | prefix=/opt/local/i686-w64-mingw32
2 | exec_prefix=${prefix}
3 | libdir=${exec_prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: SDL2_mixer
7 | Description: mixer library for Simple DirectMedia Layer
8 | Version: 2.0.4
9 | Requires: sdl2 >= 2.0.7
10 | Libs: -L${libdir} -lSDL2_mixer
11 | Cflags: -I${includedir}/SDL2
12 |
13 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_mixer/x86_64-w64-mingw32/lib/pkgconfig/SDL2_mixer.pc:
--------------------------------------------------------------------------------
1 | prefix=/opt/local/x86_64-w64-mingw32
2 | exec_prefix=${prefix}
3 | libdir=${exec_prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: SDL2_mixer
7 | Description: mixer library for Simple DirectMedia Layer
8 | Version: 2.0.4
9 | Requires: sdl2 >= 2.0.7
10 | Libs: -L${libdir} -lSDL2_mixer
11 | Cflags: -I${includedir}/SDL2
12 |
13 |
--------------------------------------------------------------------------------
/ch1/1-hello/main.cpp:
--------------------------------------------------------------------------------
1 | // Hello, world! program
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | // It prints "Hello, world!" on the screen.
5 | // Quite an accomplishment, huh?
6 |
7 | #include "SSDL.h"
8 |
9 | int main (int argc, char** argv)
10 | {
11 | sout << "Hello, world! (Press any key to quit.)\n";
12 |
13 | SSDL_WaitKey (); // Wait for user to hit any key
14 |
15 | return 0;
16 | }
17 |
--------------------------------------------------------------------------------
/ch1/1-hello/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/3-drawDot/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch12/3-splat/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch2/1-beach/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch2/2-beach/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch2/3-beach/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch2/5-pupdog/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch2/6-sound/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch20/10-pair/main.cpp:
--------------------------------------------------------------------------------
1 | // A little program to use std::pair
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include
5 | #include
6 | #include
7 |
8 | using namespace std;
9 |
10 | int main ()
11 | {
12 | pair p (1, "C++20 for Lazy Programmers");
13 | cout << "The number " << p.first << " C++ text EVER is " << p.second << "!\n";
14 |
15 | return 0;
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/ch3/4-star/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch4/1-mouse/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch5/1-askAge/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch5/5-switch/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch6/1-circles/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch7/5-comic/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch8/1-random/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch8/3-craps/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch8/4-isUpper/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch9/1-flag/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/lib/pkgconfig/SDL2_image.pc:
--------------------------------------------------------------------------------
1 | prefix=/opt/local/i686-w64-mingw32
2 | exec_prefix=${prefix}
3 | libdir=${exec_prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: SDL2_image
7 | Description: image loading library for Simple DirectMedia Layer
8 | Version: 2.0.5
9 | Requires: sdl2 >= 2.0.8
10 | Libs: -L${libdir} -lSDL2_image
11 | Cflags: -I${includedir}/SDL2
12 |
13 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/lib/pkgconfig/SDL2_ttf.pc:
--------------------------------------------------------------------------------
1 | prefix=/opt/local/i686-w64-mingw32
2 | exec_prefix=${prefix}
3 | libdir=${exec_prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: SDL2_ttf
7 | Description: ttf library for Simple DirectMedia Layer with FreeType 2 support
8 | Version: 2.0.15
9 | Requires: sdl2 >= 2.0.8
10 | Libs: -L${libdir} -lSDL2_ttf
11 | Cflags: -I${includedir}/SDL2
12 |
--------------------------------------------------------------------------------
/ch1/2-helloMangled/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/4-bugsHead/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/5-bugsHead/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/6-colorSquares/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/7-quotation/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/8-labelSquares/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/test-setup/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch10/2-lowestTemp/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch10/3-minimum/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch10/4-printCard/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch11/1-staircase/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch11/4-spritefish/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch11/5-spritefish/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch12/1-keystate/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch2/4-flamingo/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch25/1-sstream/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch26/2-constexprs/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch3/1-variables/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch3/2-divingBoard/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch3/3-star-wrong/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch4/2-searchBox/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch4/3-searchGame/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch5/2-averaging/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch5/3-alphaOrder/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch5/4-alphaOrder/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch7/1-greyscale/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch7/2-drawCross/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch7/3-drawCrosses/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch7/4-globalVars/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_image/x86_64-w64-mingw32/lib/pkgconfig/SDL2_image.pc:
--------------------------------------------------------------------------------
1 | prefix=/opt/local/x86_64-w64-mingw32
2 | exec_prefix=${prefix}
3 | libdir=${exec_prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: SDL2_image
7 | Description: image loading library for Simple DirectMedia Layer
8 | Version: 2.0.5
9 | Requires: sdl2 >= 2.0.8
10 | Libs: -L${libdir} -lSDL2_image
11 | Cflags: -I${includedir}/SDL2
12 |
13 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2_ttf/x86_64-w64-mingw32/lib/pkgconfig/SDL2_ttf.pc:
--------------------------------------------------------------------------------
1 | prefix=/opt/local/x86_64-w64-mingw32
2 | exec_prefix=${prefix}
3 | libdir=${exec_prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: SDL2_ttf
7 | Description: ttf library for Simple DirectMedia Layer with FreeType 2 support
8 | Version: 2.0.15
9 | Requires: sdl2 >= 2.0.8
10 | Libs: -L${libdir} -lSDL2_ttf
11 | Cflags: -I${includedir}/SDL2
12 |
--------------------------------------------------------------------------------
/ch10/1-readInPrintOut/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch10/5-ticTacToeBoard/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch11/2-bouncingBall/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch12/4-thru-8-bigGame/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch21/1-thru-7-shapes/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch21/8-moveSemantics/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch21/powerupsExercise/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch29/1-3-sdlProgram/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch5/loops-with-SSDL/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch8/2-srandRepeated/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch9/1-flag-allFixed/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch9/1-flag-stripesFixed/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch1/2-helloMangled/main.cpp:
--------------------------------------------------------------------------------
1 | // Hello, world! program
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | // It prints "Hello, world!" on the screen.
5 | // Quite an accomplishment, huh?
6 |
7 |
8 | #include "SSDL.h"
9 |
10 | int main (int argc, char** argv) {
11 | sout <<
12 | "Hello, world! (Press any key to quit.)\n";
13 |
14 | SSDL_WaitKey (); // Wait for user to hit any key
15 |
16 | return 0;
17 | }
18 |
--------------------------------------------------------------------------------
/ch11/3-bouncingBallsArray/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch12/2-aliensBuzzOurWorld/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch26/4-5-6-smartPointers/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch3/bugsHead-with-constexpr/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/newWork/basicSSDLProject/runw:
--------------------------------------------------------------------------------
1 | #Run this on MinGW/MSys systems if you haven't put SDL-MinGW folders in appropriate places
2 | #MSys doesn't need the PATH extensions, but they won't hurt it
3 | PATH="../../external/SDL2-MinGW/SDL2/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_image/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_mixer/i686-w64-mingw32/bin:../../external/SDL2-MinGW/SDL2_ttf/i686-w64-mingw32/bin:$PATH"
4 | ./a.out
5 |
--------------------------------------------------------------------------------
/ch18/5-factorial/main.cpp:
--------------------------------------------------------------------------------
1 | // Program to demonstrate factorials
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include
5 |
6 | using namespace std;
7 |
8 | unsigned long long factorial (unsigned n)
9 | {
10 | if (n == 0) return 1;
11 | else return n * factorial (n-1);
12 | }
13 |
14 | int main ()
15 | {
16 | cout << "The factorial of 3 is " << factorial (3) << '\n';
17 |
18 | return 0;
19 | }
20 |
--------------------------------------------------------------------------------
/external/SSDL/mcve/testWithoutLibrary.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {3c1b3060-1d3b-4510-8eaa-f302cdd658c7}
9 |
10 |
11 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/nav-vertical-align.less:
--------------------------------------------------------------------------------
1 | // Navbar vertical align
2 | //
3 | // Vertically center elements in the navbar.
4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
5 |
6 | .navbar-vertical-align(@element-height) {
7 | margin-top: ((@navbar-height - @element-height) / 2);
8 | margin-bottom: ((@navbar-height - @element-height) / 2);
9 | }
10 |
--------------------------------------------------------------------------------
/external/SDL2/docs/README-psp.md:
--------------------------------------------------------------------------------
1 | PSP
2 | ======
3 | SDL port for the Sony PSP contributed by
4 | Captian Lex
5 |
6 | Credit to
7 | Marcus R.Brown,Jim Paris,Matthew H for the original SDL 1.2 for PSP
8 | Geecko for his PSP GU lib "Glib2d"
9 |
10 | Building
11 | --------
12 | To build for the PSP, make sure psp-config is in the path and run:
13 | make -f Makefile.psp
14 |
15 |
16 |
17 | To Do
18 | ------
19 | PSP Screen Keyboard
20 |
--------------------------------------------------------------------------------
/external/SSDL/MSys/readme.txt:
--------------------------------------------------------------------------------
1 | To install SSDL for MSys, run make in this directory.
2 |
3 | It currently makes the static version of the library. If you want shared, you can move the resulting libssdl.dll to a path where the OS can find it, or edit runw and gdbw scripts to know the path to this folder too.
4 |
5 | static-test tests the library; you can run it to verify that make worked (that is, that the library built and the program runs). Run it thus: bash runw
6 |
--------------------------------------------------------------------------------
/external/SSDL/MinGW/readme.txt:
--------------------------------------------------------------------------------
1 | To install SSDL for MinGW, run make in this directory.
2 |
3 | It currently makes the static version of the library. If you want shared, you can move the resulting libssdl.dll to a path where the OS can find it, or edit runw and gdbw scripts to know the path to this folder too.
4 |
5 | static-test tests the library; you can run it to verify that make worked (that is, that the library built and the program runs). Run it thus: bash runw
6 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-1/testWithoutLibrary.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {3c1b3060-1d3b-4510-8eaa-f302cdd658c7}
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ch21/powerupsExercise/PowerupSet.h:
--------------------------------------------------------------------------------
1 | //PowerupSet class: a Shape that is a vector of Powerup
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #ifndef POWERUPSET_H
5 | #define POWERUPSET_H
6 |
7 | #include
8 | #include "powerup.h"
9 |
10 | class PowerupSet //inheritance?
11 | {
12 | public:
13 | PowerupSet (const char* text = "") : Shape (0, 0, text) {}
14 | PowerupSet (const PowerupSet&);
15 |
16 | void animate();
17 | };
18 |
19 | #endif
20 |
--------------------------------------------------------------------------------
/external/SSDL/mcve-testSSDL/testWithoutLibrary.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {3c1b3060-1d3b-4510-8eaa-f302cdd658c7}
9 |
10 |
11 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/bootstrap/mixins/responsive-visibility.less:
--------------------------------------------------------------------------------
1 | // Responsive utilities
2 |
3 | //
4 | // More easily include all the states for responsive-utilities.less.
5 | .responsive-visibility() {
6 | display: block !important;
7 | table& { display: table; }
8 | tr& { display: table-row !important; }
9 | th&,
10 | td& { display: table-cell !important; }
11 | }
12 |
13 | .responsive-invisibility() {
14 | display: none !important;
15 | }
16 |
--------------------------------------------------------------------------------
/external/SDL2-MinGW/SDL2/docs/README-psp.md:
--------------------------------------------------------------------------------
1 | PSP
2 | ======
3 | SDL port for the Sony PSP contributed by
4 | Captian Lex
5 |
6 | Credit to
7 | Marcus R.Brown,Jim Paris,Matthew H for the original SDL 1.2 for PSP
8 | Geecko for his PSP GU lib "Glib2d"
9 |
10 | Building
11 | --------
12 | To build for the PSP, make sure psp-config is in the path and run:
13 | make -f Makefile.psp
14 |
15 |
16 |
17 | To Do
18 | ------
19 | PSP Screen Keyboard
20 |
--------------------------------------------------------------------------------
/external/fmt-master/doc/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | find_program(DOXYGEN doxygen)
2 | if (NOT DOXYGEN)
3 | message(STATUS "Target 'doc' disabled (requires doxygen)")
4 | return ()
5 | endif ()
6 |
7 | add_custom_target(doc
8 | COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py ${FMT_VERSION}
9 | SOURCES api.rst syntax.rst usage.rst build.py conf.py _templates/layout.html)
10 |
11 | install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
12 | DESTINATION share/doc/fmt OPTIONAL)
13 |
--------------------------------------------------------------------------------
/ch18/3-4-string/main.cpp:
--------------------------------------------------------------------------------
1 | // Driver program to test move constructor and move =
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include
5 | #include "string.h"
6 |
7 | using namespace std;
8 |
9 | int main ()
10 | {
11 | String str1 = "after", str2 = "noon";
12 | String newString;
13 | newString = str1 + str2;
14 | // Use debugger to verify it goes through && functions
15 | // and copies correctly
16 |
17 | return 0;
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/external/fmt-master/test/cuda-test/cpp14.cc:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | // The purpose of this part is to ensure NVCC's host compiler also supports
4 | // the standard version. See 'cuda-cpp14.cu'.
5 | //
6 | // https://en.cppreference.com/w/cpp/preprocessor/replace#Predefined_macros
7 | static_assert(__cplusplus >= 201402L, "expect C++ 2014 for host compiler");
8 |
9 | auto make_message_cpp() -> std::string {
10 | return fmt::format("host compiler \t: __cplusplus == {}", __cplusplus);
11 | }
12 |
--------------------------------------------------------------------------------
/external/SDL2/README-SDL.txt:
--------------------------------------------------------------------------------
1 |
2 | Please distribute this file with the SDL runtime environment:
3 |
4 | The Simple DirectMedia Layer (SDL for short) is a cross-platform library
5 | designed to make it easy to write multi-media software, such as games
6 | and emulators.
7 |
8 | The Simple DirectMedia Layer library source code is available from:
9 | https://www.libsdl.org/
10 |
11 | This library is distributed under the terms of the zlib license:
12 | http://www.zlib.net/zlib_license.html
13 |
14 |
--------------------------------------------------------------------------------
/ch2/2-beach/main.cpp:
--------------------------------------------------------------------------------
1 | // Program to show an image on the screen
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include "SSDL.h"
5 |
6 | int main(int argc, char **argv)
7 | {
8 | // Set window parameters
9 | SSDL_SetWindowSize (400, 300); // make a 400x300 window
10 | SSDL_SetWindowTitle ("My trip to the beach");
11 |
12 | // Show image
13 | SSDL_Image BEACH = SSDL_LoadImage ("media/beach.jpg");
14 | SSDL_RenderImage (BEACH, 0, 0);
15 |
16 | SSDL_WaitKey();
17 |
18 | return 0;
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/ch27/modules/printGreetings.ixx:
--------------------------------------------------------------------------------
1 | // Module for printing greetings in various languages
2 | // -- for _C++20 for Lazy Programmers_
3 |
4 | export module printGreetings;
5 |
6 | import std.core;
7 | export import greetings;
8 |
9 | export void printHello (int language)
10 | {
11 | std::cout << languages::helloMessage [language] << '\n';
12 | }
13 |
14 | export void printGoodbye (int language)
15 | {
16 | std::cout << languages::goodbyeMessage[language] << '\n';
17 | }
18 |
19 |
--------------------------------------------------------------------------------
/ch19/7-8-9-bigGame/io.cpp:
--------------------------------------------------------------------------------
1 | // I/O functions
2 | // -- from _C++20 for Lazy Programmers_
3 |
4 | #include
5 | #include // for toupper
6 | #include "io.h"
7 |
8 | using namespace std;
9 |
10 | bool getYorNAnswer (const char question [])
11 | {
12 | char answer;
13 |
14 | do
15 | {
16 | cout << question;
17 | cin >> answer;
18 | answer = toupper (answer);
19 | }
20 | while (answer != 'Y' && answer != 'N');
21 |
22 | return answer == 'Y';
23 | }
24 |
--------------------------------------------------------------------------------