Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

C++ Programming Code Examples

C++ > Pyramid Patterns Code Examples

Print Star Triangle - right top corner

C Program to Add two Complex Numbers - This C Program adds two complex numbers. A Complex Number is a number that can be put in the form a + bi, where a and b are real numbers & i is called imaginary unit, where...

C Finds All Roots of A Quadratic Equation - Step by step descriptive logic to find roots of Quadratic Equation using Switch Case. Input coefficients of quadratic equation. Store it in some variable say a, b, c. Find discriminant of

Folder Protection Software in C Language - This software can convert your File/Folder to Control Panel and can Restore again. Path of the file. This software is not responsible for any loss in data. New name of your folder/file

C Read and Write Strings gets() and puts() - String is an 'Array of characters'. In this guide, we learn how to declare strings, how to work with strings in C language and how to use the 'pre-defined' string handling functions. String

C Find Volume and Surface Area of Sphere - C Program calculates the volume and surface area of sphere. The formula used in this code Surface_area = 4 * Pi * r2, Volume = 4/3 * Pi * r3 where r is the radius of the sphere, Pi= 22/7

C Program to find lower Triangular Matrix - Read elements in a matrix and check whether the matrix is a lower triangular matrix or not. To find whether a matrix is lower triangular or not we need to check if all elements above...

C Specifies the buffer that Stream will use - Send to a buffered stream to filep1 and send to an unbuffered stream to filep2. Set buf to null to turn off buffering. The buffer must be BUFSIZ characters long. BUFSIZ is defined in

Code Sum of two One-Dimensional Arrays - Computes the sum of two one-dimensional arrays using malloc. The program allocates 2 one-dimentional arrays using malloc() call and then does the addition and stores the...