The ‘C programming’ Archives
Posted September 5, 2019 by

How to Find Factorial of a Number Using Recursion

Recursion is maybe the easiest yet most problematic concept for the beginners to grasp. But you will get hand of this concept after this Tech-Recipe. Click on “Continue Reading” to read about Recursion and a very easy example.

Posted September 1, 2019 by

How to Make C++ Program More Readable and Modular

If you’re a beginner this Tech-Recipe is for you. If you’re a professional coder than this Tech-Recipe is a happy reminder. A reminder of why your school professor emphasized so much on writing programs with more modularity. Modularity is the beauty of any code, it improves readability which leads to better understandability. 

Posted February 18, 2016 by

Create a Folder Using CMD in Windows

Not many Windows users are familiar with CMD. The common misconception is that only programmers and computer geeks use CMD. Basically, CMD is a tool that you can use to communicate with your Windows computer. Though the user interface and other input methods are introduced, CMD is one tool that you cannot take for granted. […]

Posted November 30, 2012 by

Automatically Focusing on an Object When a Windows Phone App Is Loaded

For example, when developing an app that asks for a password before users can actually use it, developers should set focus on the password box and display the keyboard automatically. This is a good user interface practice to prompt users which step is next. The Visual Studio steps required to do this are documented below.

Category C programming

Posted November 29, 2012 by

Change the Default XAML Page in a Windows Phone App

When creating a Windows phone application, Visual Studio defaults the initial page to MainPage.xaml. However, in many cases, developers need to customize the first loaded page to a different file instead.

Category C programming

Posted November 2, 2011 by

Two Common Mistakes in Floating Point Arithmetic in C

This tutorial will demonstrate two rules that must be respected when performing floating point arithmetic in C. Following these rules will prevent loss of information. Examples with walk through explanation provided.

Category C programming

Posted January 30, 2010 by

Cocoa: Convert number to comma-separated NSString

At some point in your Mac, iPhone, or iPad development you may find the need to express a long number (1000000000) as a comma-separated string (1,000,000,000) to make life easier on your users. The NSNumberFormatter class is a rich tool for converting numbers to strings supporting different types of currencies and localizations. It’s also the […]

Category C programming

Posted June 25, 2006 by

C/C++ Doubly Linked List

This tutorial demonstrates the implementation of a doubly linked list and the removal of the prev pointer for a singly linked list.

Category C programming

Posted March 14, 2006 by

C++: Template Classes

If you need to know how to layout a template class and for what this is used, continue reading this tutorial.

Category C programming

Posted March 1, 2006 by

C++: Pointers, Pass by Value, Pass by Reference

You just cannot properly explain pointers without first knowing the basics of passing by value/reference.

Category C programming

Posted March 1, 2006 by

C++: Destructor

The following tech recipe describes how to implement a C++’s Destructor efficiently.

Category C programming

Posted March 1, 2006 by

C++: Constructor

This tech recipe explains the implementation of C++’s for many constructors types.

Category C programming