Author: M. Saqib

Indian Hill C Coding Styles and Standards

This document is a result of a committee formed at Indian Hill to establish a common set of coding standards and recommendations for the Indian Hill community. The scope of this work is the coding style, not the functional organization of programs. The standards in this document are not specific to ESS programming only.

Read More

C Programming Questions

What is C language? The programming language C was originally developed by Dennis Ritchie of Bell Laboratories and was designed to run on a PDP-11 with a UNIX operating system. Although it was originally intended to run under...

Read More

Effective Java 3rd Edition

Written for the working Java developer, Joshua Bloch’s Effective Java Programming Language Guide provides a truly useful set of over 50 best practices and tips for writing better Java code. With plenty of advice from an...

Read More

Capitalize Sentences and Words – C# Programming Examples

In C# programming, text manipulation is essential for creating clean and readable content. Whether you’re dealing with user input, processing text files, or enhancing the presentation of your application, understanding how to capitalize sentences and words plays a crucial role.

Read More

Generating Controlled Random Numbers in C#

Generating random numbers is a fundamental requirement in various programming scenarios, from creating dynamic content to simulating unpredictable events. In C#, the System.Random class provides a versatile solution for generating random values. In this article, are going to explore the basics of random number generation in C# and write practical examples that showcase its applications.

Read More

C Program: Number Shuffling Game

This C program is a simple console-based implementation of a number-shuffling game. The game presents a grid of numbers, and the objective is to rearrange them in ascending order. The player can move the numbers by pressing the corresponding number keys, and the game tracks the number of moves taken to complete the puzzle.

Read More

Snake Game – C Imlementation

This C program simulates the game “snake” which is usually available in old mobile phones. A string of characters moves on the screen according to arrow keys pressed by user. If it touches itself or screen boundary, the program terminates. When the snake moves, in arbitrary screen positions some digit (1-9) appears. The objective of the game is to make the snake eat the said digit, so that it is added to the score. When a digit is eaten, the size of the snake increases by the number of characters equal to the value of the digit.

Read More