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++ > Mathematics Code Examples

Program to Compute DFT Coefficients Directly





Use of typedef in Structure in C Language - Typedef makes the code short and improves readability. In the above discussion we have seen that while using structs every time we have to use the lengthy syntax, which makes

C Programs Prints Prime Number Pyramid - Printing Prime Number Pyramid. To Evaluate Number is Prime or not Consecutively divide that number from 2 to n/2. To find whether 17 is 'Prime or Not' divide that number from 2 to

Coordinate Point in XY Coordinate System - C Program to read a coordinate point in a XY coordinate system & determine its quadrant. The program accepts X and Y. Depending on the Value of X & Y we need to Determine on

Sorting Elements in Lexicographical Order - C Language program code 'Sort Elements' in lexicographical order (dictionary order). This program takes 10 words(10 strings) from the user and sorts them in lexicographical order.

Program Create a File & Store Information - C Code creates a file & store information. We frequently use files for storing information which can be processed by our programs. In order to store information permanently and

Types of functions in The C Programming - Predefined standard library functions - such as puts(), gets(), printf(), scanf()... These are the functions which already have a definition in header files (.h files like stdio.h), so we just

C Program to Open, Read & Close the File - C various file opening modes: File is opened using fopen() c function, while opening you can use any of the following mode as per the requirement. Mode "r": It is a read only mode,

C Code Copy One String to Another String - C program code to copy one string to another without using inbuilt library function 'strcpy()' Input string and 'store it' to some variable say text1. Declare another variable to 'store copy'