Category Archives: Snippets
CSS || How To Zoom & Enlarge An Image On Mouse Hover Using CSS
The following is a module which demonstrates how to zoom and enlarge an image on mouse hover using CSS. 1. Usage The
CSS || How To Create Horizontal Divider Line With Words In The Middle Using CSS
The following is a module which demonstrates how to create a horizontal divider line with words in the middle using CSS. 1.
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++ || 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
Python || Find The Average Using A List – Omit Highest And Lowest Scores
This page will consist of a program which calculates the average of a specific amount of numbers using a list. REQUIRED KNOWLEDGE
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
Java || Snippet – How To Send Text Over A Network Using Socket
The following is sample code which demonstrates the use of the “socket” function call for interprocess communication over a network. The following
Python || Snippet – How To Send Text Over A Network Using Socket, Send, & Recv
The following is sample code which demonstrates the use of the “socket“, “connect“, “send“, and “recv” function calls for interprocess communication over
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++ || Snippet – How To Create A File Of Any Size
The following is sample code which demonstrates how to create a file of any size using the fseek and fwrite function calls.
C++ || Snippet – How To Use Memory Mapped Files
The following is sample code which demonstrates the use of the “mmap”, “munmap” and “getpagesize” function calls on Unix based systems. A