Muhammad Husnain avatar Muhammad Husnain avatar

About Muhammad Husnain

LinkedIn

Husnain is a professional Software Engineer and a researcher who loves to learn, build, write, and teach. Having worked various jobs in the IT industry, he especially enjoys finding ways to express complex ideas in simple ways through his content. In his free time, Husnain unwinds by thinking about tech fiction to solve problems around him.

Articles by Muhammad Husnain

C++ Howtos

  1. How to Find the Longest Common Substring in C++
  2. How to Copy Constructor of Linked List in C++
  3. Custom Exception in C++
  4. How to Overload the == Operator in C++
  5. How to Sort Linked List in C++
  6. C++ Escape Characters
  7. C++ Getters and Setters
  8. C++ Inheriting Constructors
  9. Functors in C++
  10. How to Fix the Undefined Reference to Main Error in C++
  11. How to Handle Arguments Using getopt in C++
  12. How to Initialize 2D Vectors in C++
  13. Pragma Once in C++
  14. The new Keyword and No Match for Operator Error in C++
  15. How to Compare String and Character in C++
  16. Const Member Function in C++
  17. Double Free or Corruption Error in C++
  18. How to Add Timed Delay in C++
  19. How to Fix the Multiple Definitions of a Function Error in C++
  20. Character Input in While Loop Using C++
  21. How to Detect Keypress in Windows Using C++
  22. Multiple Code Files in C++
  23. Operator Precedence and Associativity in C++
  24. Recursive Fibonacci in C++
  25. Class Template Inheritance in C++
  26. Cotangent Function in C++
  27. Difference Between DWORD and Unsigned Int in C++
  28. Reflection in C++
  29. Serial Port Connection in C++
  30. How to Compile and Run C++ 11 Codes in Dev C++
  31. How to Compile C++ Codes in macOS
  32. How to Dereference Pointers in C++
  33. Undefined Reference to Class::Function() in C++
  34. How to Use the this Pointer in C++
  35. Reference Operator in C++
  36. How to Understand the Extern Keyword in C++

MySQL Howtos

  1. How to Select Multiple Values Using WHERE in MySQL

C# Howtos

  1. How to Set Up Client-Server Communication in C#
  2. How to Group by Multiple Columns in LINQ Queries Using C#
  3. How to Remove Illegal Characters in Filename in C#
  4. How to Select Query for Database in C#

Linux Howtos

  1. How to Check if String Contains a Substring in Bash
  2. Multiple if Conditions in Bash Script
  3. Ternary Operator in Bash Script
  4. How to Check Exit Code in Bash
  5. How to Read From a File or User Input in Bash
  6. How to Echo Tab Characters in Bash Script
  7. How to Exit From Bash Script
  8. How to Get IP Address in CentOS
  9. The eval Command in Bash Script
  10. How to Fix the Mkvirtualenv Command Not Found Error in Bash
  11. How to Solve Syntax Error Near Unexpected Token in Bash
  12. How to Check Kernel Version in Linux
  13. How to Get IPv4 Address on Unix and Linux
  14. How to Open a File at Specific Line Number Using Vi and Vim Editors
  15. How to Implement the for Loop in Bash
  16. How to Remove File Extension Using Bash

C Howtos

  1. How to Print Binary of Number in C
  2. Try Catch in C
  3. Bitwise Operations in C
  4. How to Create Formatted Strings in C
  5. How to Format Specifiers in C

Python How-To's

  1. How to Detect and Remove Outliers in Python
  2. How to Implement Polynomial Regression in Python
  3. How to Get Function Signature