Category Archives: C++

C++ || How To Remove All Whitespace From A String Using C++

The following is a module with functions which demonstrates how to remove all whitespace from a string using C++. 1. Remove All

C++ || How To Get The File Name & File Extension From A Path Using C++

The following is a module with functions which demonstrates how to parse a file name and file extension from a path using

C++ || Roman Numeral Conversion – How To Convert Roman Numeral To Integer & Integer To Roman Numeral Using C++

The following is a program with functions which demonstrates how to convert roman numerals to integer, and integers to roman numerals. The

C++ || Telephone Digit Program – How To Convert Letters To Numbers Using C++

The following is a program with functions which demonstrates how to implement a telephone digit program which converts the letters on a

C++ || How To Find All Combinations Of Well-Formed Brackets Using C++

The following is a program with functions which demonstrates how to find all combinations of well-formed brackets. The task is to write

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