Page not found
Search results
C++ class example program
C++ class program example: In our program, we create a class named programming ... create an object of this class and call these functions. C++ programming code #include<iostream> using namespace std ; ...
Yogesh Suneja - 08/01/2018 - 20:44
Delay function in C
Delay in C: delay function is used to suspend execution of a program for a particular ... the "dos.h" header file which is not a part of standard C library. (adsbygoogle = window.adsbygoogle ... || []).push({}); C programming code for delay #include<stdio.h> #include<stdlib.h> main ...
Yogesh Suneja - 29/09/2018 - 13:46
C sound program
... sound of a specified frequency. Used for adding music to a C program, try to use some random values in loop, vary delay and enjoy. ... void sound(unsigned frequency); C programming code for sound (Turbo C compiler only) #include <dos.h> int ...
Yogesh Suneja - 28/09/2018 - 10:51
C program to compare large numbers (integers)
... positive, zero or negative, we will take care of it in our program. Algorithm of comparing: If both numbers are positive: If the ... number which is smaller in magnitude is the larger one. C program to compare numbers using string #include <stdio.h> ...
Yogesh Suneja - 16/11/2019 - 09:19
C program for pattern matching
Pattern matching in C: C program to check if a string is present in an another string, for example, the ...
Yogesh Suneja - 01/12/2019 - 08:56
Prime number program in C
Prime number program in C language to check whether a number is prime or composite , to ... || []).push({}); Prime number in C language #include <stdio.h> int main ( ) { ...
Yogesh Suneja - 01/10/2020 - 23:20
C++ new operator example
C++ new operator example: C++ code using "new" operator to allocate memory on heap dynamically. C++ ...
Yogesh Suneja - 11/12/2019 - 11:11
Pattern programs in C
Pattern programs in C language, showing how to create various patterns of numbers and stars. The ... inputs the numbers of rows to print. Pattern program in C #include <stdio.h> int main ( ) { int ... ** *** **** ***** to print above pattern see the code below: Star pattern in C #include <stdio.h> int ...
Yogesh Suneja - 02/10/2020 - 00:19
Paint program in C
Paint program in C to draw different shapes using mouse such as line, circle, pixel and many ... change the color, clear the screen. /* To understand the code see output below the code, it will help you in understanding the code. */ C paint program #include<graphics.h> #include<dos.h> ...
Yogesh Suneja - 23/11/2019 - 12:26
Hello world program in C
How to write a hello world program in C language? To learn a programming language, you must start writing programs in it, and this could be your first C program. Let's have a look at the program first. #include <stdio.h> ...
Yogesh Suneja - 01/10/2020 - 22:47