c++

C++ Date Class – Manipulate Dates in C++

November 15, 2009

Finally! I did it! Assignment #4 is complete, and I can manipulate dates pretty effing easily now. No doubt there is already some vastly superior date manipulation library already out there… stupid school. Just kidding. I learned a LOT with this assignment. #include <iostream> using namespace std; class Date { private: /* | \ PRIVATE [...]

Read the full article →

Vote Counting Machine: Borda & Plurality

November 5, 2009

This was my version of a C++ assignment to count votes from a text file. It’s not super useful outside the classroom, but I’m posting it anyway. // // Bryan Simonson // Assignment #3 // Vote Counter // #include <fstream> #include <string> #include <iostream> using namespace std; // Function prototypes int MenuSelect(void); void LoadData(char vote[][100], [...]

Read the full article →

C++ Change Dispenser (My First C++ Program)

October 7, 2009

One of these days I’ll actually know how to program c++ pretty well, and when that happens, I plan to write some kickass software. But when that happens, I figured it would be pretty amusing to look back at my very first c++ program (besides the mandatory “Hello World!” app). This was our first assignment [...]

Read the full article →
Private