This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Programming Languages: Application and Interpretation by Shriram Krishnamurthi | |
http://www.amazon.com/Operating-System-Concepts-Abraham-Silberschatz/dp/1118129385 | |
http://rads.stackoverflow.com/amzn/click/0201734842 | |
http://rads.stackoverflow.com/amzn/click/0321113586 | |
http://rads.stackoverflow.com/amzn/click/0321227255 | |
http://www.nostarch.com/lyah.htm | |
http://www.amazon.com/The-Programming-Language-2nd-Edition/dp/0131103628 | |
http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 | |
http://www.amazon.com/The-Pragmatic-Programmer-Journeyman-Master/dp/020161622X | |
http://www.amazon.com/Design-Patterns-Object-Oriented-Professional-Computing/dp/0201634988 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ostream> | |
#include <string> | |
namespace dts { | |
void whisper(std::ostream &out, std::string msg) { | |
for(char &next : msg) { | |
out << ((next >= 'A' && next <= 'Z') ? (next - ('Z' - 'z')) : next); | |
} | |
} | |
NewerOlder