Java Programming Code Examples
Java > Java AWT Code Examples
Demonstrating keystroke events
C++ Programing Implement String in STL -
'Insert substring' in a string. 'Erase substring' from a string. 'Append substring' to a string. Replace the string with a substrng. Size of a string. Find substring in a string. Display the
Implement Slicker Algorithm that Avoids -
Program to find the "Area of Ploygon" using "Slicker Algorithm". algorithm assumes the usual mathematical convention that positive y points upwards. Enter the number of points
Convert from degree Fahrenheit to Celsius -
C programming code to input temperature in degree Fahrenheit and convert it to degree Centigrade. Code convert temperature from Fahrenheit to Celsius in the C programming.
Using Quick Sort Algorithm in C Language -
'Quicksort' is a divide and Conquer algorithm. 'Pick an element' from the array, this element is called as pivot element, divide the unsorted 'array of elements' in 2 arrays with values less
Calculating Difference Between two Time -
Ask to enter two time periods and these two periods are stored in structure variables t1 t2 respectively. The computeTimeDifference() Function calculates the Difference Between
Searchs Specified File Specified Character -
C programming language code to search specified file for specified character. See if correct number of command line arguments. Opening file for input and look for character.
UnOrdered Permutation Algorithm in C++ -
It initializes the value current level, permutes the remaining values to the 'higher levels'. As the Assigning Action of the values reaches to the "Highest Level", it prints the permutation
C Code Traverse the Tree Non-Recursively -
C language code, using iteration, searches for a given node in a tree. The tree we have used is the binary search tree. A binary search tree follows a concept of nodes whose numbers...