Latest Posts From Vijaykrishna Ram

Sprintf C Cpp

Using the sprintf() function in C/C++

In this article, we’ll take a look at using the sprintf() function in C / C++. This is an important function if you want to write characters from a format string into a buffer. Let’s….

Leftshift Rightshift C Cpp(1)

Using the Left Shift and Right Shift operators in C / C++

In this article, we’ll take a look at using the left shift and right shift operators in C/C++. These two operators are very useful if you want to do some bit-manipulation operations. Let’s look at….

Fseek C Cpp(2)

A Guide for using the fseek() function in C/C++

In this article, we’ll take a look at using the fseek() function in C/C++. fseek() is a very useful function to traverse through a file. We can ‘seek’ to different locations, by moving the file….

Ternary Op C Cpp

Understanding the Ternary Operator in C/C++

In this article, we’ll take a look at understanding the ternary operator in C / C++. The ternary operator (? 馃檪 is a very useful operator, which is very similar to if-else statements. This is….

Power C Cpp(5)

Understanding the Power Function in C/C++

In this article, we’ll take a look at understanding the power function in C / C++. The power function computes the power of a base, raised to an exponent number. Let’s look at this function….

Execvp C Cpp(2)

How to use the execvp() function in C/C++

In this article, we’ll take a look at using the execvp() function in C / C++. In UNIX, the execvp() function is very useful if you want to run another program using our C program…..

Itoa C Cpp

Implementing the itoa() function in C / C++

In this article, we’ll take a look at implementing the itoa() function in C/C++. This is a useful utility function which converts an integer into a null-terminated string. However, it isn’t supported natively by most….

Strstr C

A Guide to using strstr() in C/C++

In this article, we’ll take a look at using the strstr() function in C / C++. The strstr() function is very useful if you want to find out whether one string is a sub-string of….

Strdup In C

A Guide to using the strdup() function in C/C++

In this article, we’ll take a look at using the strdup() function in C/C++. The strdup() function is very useful if you want to duplicate the contents of a string onto another string. Let’s see….

Fread C Cpp

A Complete Guide to fread() in C/C++

In this article, we’ll take a look at using fread() in C/C++. The fread() function is very useful if you want to store the contents of reading a file into a buffer. Let’s take a….

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages