Category: C++

While Loop In Java, Javascript, C++, C#, Python Programming Languages 0

While Loop In Java, Javascript, C++, C#, Python Programming Languages

Programming languages like Javascript, C++, C#, Python provides while loops in order to iterate over the given list, array, set etc. while loop is a very important part of the programming language because of its functionality. In this tutorial, we will examine and compare while loop for programming languages like...

0

How To Read Input with fscanf() function In C Programming Language?

C programming language libraries provides some standard functions which can be used in different platforms like Linux and Windows. In this tutorial we will learn how to use fscan()function, return values and parameters with examples. Declaration and Parameters fscanf() function will accepts a file stream in FILE type and format specifiers as...

0

C Programming Gets() Function Tutorial with Examples

C and C++ programming language provide the functiongets() in order to read input from standard input which is generally a terminal. gets is the short form of the get string where string shortens as s . In this tutorial, we will learn functiongets() usage with different examples and compare with functionscanf(). Declaration The...

0

What Is Segmentation Faults and Causes?

Segmentation faults are common run-time error for C programs. When we run the program we will get segmentation violation or segm4 entation fault or similar errors and the program exits. Segmentation faults generally observed inside weak or untested applications. Common Causes Of Segmentation Faults There may be a lot of different causes...

0

How To Use GCC Compiler Options Like Optimization, Flags?

gcc is very popular compiler in Linux world. gcc provides interpreter and compiler for programming languages like C, C++, Java etc. In this tutorial we will examine popular compiler options like error, pre-processor, output, optimization etc. Example C Application Code During this tutorial we will use following simple example code. As we...

0

Cmake Tutorial To Build and Compile In Linux

Binaries are created by building or compiling source like C, C++ etc. In simple applications we can build by using the compiler like gcc directly. But this is inconvenient if the application is big and have a lot of source code, configuration file and build options. Developers generally prefers build...

1

C – Printf Tutorial with Examples

C and C++ programming language a printf function which is used to print given values or data to the standard output or current terminal. printf supports different formatting types. In this tutorial we will look them in detail. Syntax Syntax of printf is like below.

Print printf function can be used simply just...

0

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...

Enjoy this blog? Please spread the word :)