The Programmer Blog RSS

The Programmer Blog is here to help you, the programmer. We do our best to provide useful resources that offer explanations to popular programming problems, across a variety of programming languages. If you would like to suggest a blog topic or have a question, please leave us a message.

BookGuide, C++

Here is a quick list of the top C++ books to get you started from beginning to end. This list of C++ books is a collaborative effort and has been compiled from a variety of sources If you would like to suggest a book please don't hesitate to message us. Enjoy! Beginner C++ Books Introductory, no previous programming experience C++ Primer  (Stanley...

Read more

Git

Removing your latest commit from your local (or remote) Git repository is a common task when you've committed the wrong files and/or code. Here are a few short and sweet examples using Git that show how to undo a commit (without twelve paragraphs of theory explaining it).   Undo last commit from local Git repository Problem You just executed a git commit. You did not execute a git...

Read more

Enjoy Super Bowl 52 with some new Dev Gear! Take 20% OFF any order until midnight. SUPERBOWL52 Use coupon code SUPERBOWL52 during checkout and get 20% OFF any purchase. Expires 2/5/18.

Read more

c#, Dictionary, foreach, iterate

In the world of C# programming it's common to trip over something as easy as iterating over a dictionary. We've put together a quick reference guide below to give you a quick intro or refresher into manipulating dictionaries in C#. Initializing an example Dictionary So first let's initialize a sample dictionary, named exampleDictionary. We will populate it with two key value...

Read more

admin, c#

Forcing your .NET applcation to run as administrator is actually pretty straightforward. WIth a small web.config update your app will boot as admin by default.   Running .NET as Admin First we want to modify the application manifest that is embedded in the program. This will work on Visual Studio 2008 and higher. If your project does not yet have a app manifest file,...

Read more