Category Archives: C++

C++ || Yahoo! Sports – Current Batting Order – Programming Interview Test (Question 3 of 3)

The following is sample code which demonstrates a solution to the Yahoo! Sports programming interview question titled “Current Batting Order.” The test

C++ || Yahoo! Sports – Top 10 Fantasy Players – Programming Interview Test (Question 2 of 3)

The following is sample code which demonstrates a solution to the Yahoo! Sports programming interview question titled “Top 10 Fantasy Players.” The

C++ || Yahoo! Sports – Player IDs Extractor – Programming Interview Test (Question 1 of 3)

The following is sample code which demonstrates a solution to the Yahoo! Sports programming interview question titled “Player-IDs-extractor.” The test was taken

C++ || Snippet – Custom “strtok” Function To Split A String Into Tokens Using Multiple Delimiters

The following is a custom “strtok” function which splits a string into individual tokens according to delimiters. So for example, if you

C++ || Multi Digit, Decimal & Negative Number Infix To Postfix Conversion & Evaluation

The following is sample code which demonstrates the implementation of a multi digit, decimal, and negative number infix to postfix converter and

C++ || Simple Tokenizer Lexer Using A Finite State Machine

The following is sample code which demonstrates the implementation of a simple Lexer using a table driven Finite State Machine. In its

C++ || Snippet – How To Send Text Over A Network Using A TCP Connection

The following is sample code which demonstrates the use of the “socket“, “connect“, “bind“, “read“, and “write” function calls for interprocess communication

C++ || Snippet – How To Send Text Over A Network Using A UDP Connection

The following is sample code which demonstrates the use of the “socket“, “bind“, “recvfrom“, and “sendto” function calls for interprocess communication over

C++ || Knapsack Problem Using Dynamic Programming

The following is another homework assignment which was presented in an Algorithm Engineering class. Using a custom timer class, the following is

C++ || Decrease By Half Sorting Using Bubble Sort, Quick Sort, & Optimized Bubble Sort

The following is another homework assignment which was presented in an Algorithm Engineering class. Using a custom timer class, the following is

C++ || Knapsack Problem Using Exhaustive Search

The following is another homework assignment which was presented in an Algorithm Engineering class. Using a custom timer class, the following is

C++ || Empirical Analysis Using Min Element, Bubble Sort, & Selection Sort

The following is another homework assignment which was presented in an Algorithm Engineering class. Using a custom timer class, the following is

C++ || Snippet – Custom Template “ToString” Function For Primitive Data Types

The following is a custom template “ToString” function which converts the value of a primitive data type (i.e: int, double, long, unsigned,

C++ || Multi Process Server & Client Hash Table Using Thread Pools, Message Queues, & Signal Handlers

The following is another homework assignment which was presented in an Operating Systems Concepts class. Using commandline arguments, the following is a