C – Page 7 – POFTUT

C Variables and Definition

[rps-include post=6557] Most important function is storing data while the application running. The data may be  age, username, picture, full name etc. To hold data variables are used. Variables are stored in the memory. After application run all variables are cleaned. So variables do not persists between application runs. As variables stored in memory they … Read more

C Syntax and Basics

[rps-include post=6557] We have successfully compiled our application. But while compiling we have no detailed information about the program. In this chapter we will look basics of C programming language. Token The smallest part of a C program is tokens. Compilers start by reading source code and parsing tokens. If there is an unexpected token … Read more

How To Setup C Development Environment

[rps-include post=6557] We will start with setting up our working environment. To develop C applications we need some compiler . Compiler is a tool that converts our code into executable format for the specified platform. We call specified platform because Windows is different from Mac-OS or Linux. Executable application can be run on operating systems. Pure … Read more

Patch Command Tutorial With Examples For Linux

Patch is a command that is used to apply patch files to the files like source code, configuration. Patch files holds the difference between original file and new file. In order to get the difference or patch we use diff tool. Software is consist of a bunch of source code. The source code is developed by … Read more

How To Compile C and C++ Applications with GCC?

GCC is de facto compiler UNIX and LINUX Operating Systems. GCC is the acronym of the GNU Compiler Collection. As the name Collection suggest GCC supports C, C++, Java, Ada, Go, etc. In this post, we will look at how to compile C and C++ applications. Installing By default compiler, related tools are not installed. … Read more

What Is Unix?

Unix operating system is the root of multi-tasking operating systems. We can call Unix as the first modern operating system that provides advanced operating system features like kernel, development tool, user and admin commands, multi-tasking, etc. Unix operating system is developed 1970’s in Bell Labs research center by Ken Thompson, Dennis Richie, and others. Unix … Read more

C# Programming Language Null Reference Exception and Solution

Null Reference Exception is one of the most occurring exception. Object oriented languages generally creates new object for the variables. But if it is not created and not set by the developer trying to access an variable object will cause Null Reference Exception. In this examples we will use Csharp programming language for Null Reference Exception. … Read more