50 C/C++ source code websites

It’s well known that C/C++ languages are the most dominant programming languages around. As I mentioned in the previous post "Top 10 best applications written in C/C++" that most of the big softwares, operating systems, games and other scientific tools...

Famous Programming Languages – Authors and History

Today I have compiled a list of ten programming languages with their application domains and little historic background. Also I have mentioned the names of the developers of these languages along with their little biography. I hope you will find this article quite...

Java Program to demonstrate of Linked List

This is a very simple demonstration of linked list in java programming language. Very nice and well commented java source code for beginners. User can “get” and “set” the list items as well as traverse through “previous” and...

Java Program to show Stack Implementation

This is a simple Java program to demonstrate Stack data structure implementation. An object of type IntStack is a stack of real numbers, with the standard stack operations push(int N), pop(), and isEmpty(). A makeEmpty() operation is also provided to remove all items...

Data Structures and Algorithm Analysis in Java

Provides a proven approach to algorithms & data structures using the exciting Java programming language as the implementation tool. With Java, the author highlights conceptual topics, focusing on ADTs and the analysis of algorithms for efficiency as well as...

Java Programming Questions

What is Java Programming Language? The Java programming language is a high-level language that can be characterized by all of the following buzzwords: Simple Architecture neutral Object oriented Portable Distributed High performance Interpreted Multithreaded Robust...

Effective Java Programming Language Guide

Written for the working Java developer, Joshua Bloch’s Effective Java Programming Language Guide provides a truly useful set of over 50 best practices and tips for writing better Java code. With plenty of advice from an indisputable expert in the field, this...

Stack implementation with array

This java code basically implements stack functionality. It can Pop and Push an item in stack with the help of array. The item can only be an integer number and inernally the java program uses arrays to maintain items in stack. [code=’java’]...

Photo

A small java program to show photo on JPanel. User can select any image file from the hard drive and show on the frame. Image file can be jpg, gif, bmp or any other supported graphics file. [code=’c’]...

Core Java(TM) 2, Volume II–Advanced Features (7th Edition)

The seventh edition of Core Java(TM) 2, Volume II, covers advanced user-interface programming and the enterprise features of the Java 2 Platform, Standard Edition (J2SE?). Like Volume I (which covers the most important language and library features), this book has...

Head First Java

This is an excellent book, far more capable than any of the scores of Java-for-novices books that have come before it. Kathy Sierra and Bert Bates deserve rich kudos–and big sales–for developing this book’s new way of teaching the Java programming...

J2ME in a Nutshell (O’Reilly Java)

Java 2 Micro Edition (J2ME) generally, and classes within it specifically. In addition to an annotated API reference, this book holds a lot of information about graphical user interfaces (GUIs) for small devices, the special considerations of designing applications...

Dynamic array of integers

An object of class DynamicArrayOfInt acts like an array with unlimited size. The method put(position,value) is used to store the value at the specifed position in the array. There is no pre-set limit on how large position can be, although for very large values there...

RGB Color Chooser Applet – Java

A RGBColorChooser shows three sliders that the user can manipulate to set the red, green, and blue, components of a color. A color patch shows the selected color, and there are three labels that show the numerical values of all the components. Values are in the range...

Ouputs the Zodiac signs

Ouputs the Zodiac sign corresponding to a given date. Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the *...

HighLow java Game

his program lets the user play HighLow, a simple card game that is described in the output statements at the beginning of the main() routine. After the user plays several games, the user’s average score is reported. Java...

Mouse Events Information Applet

A simple applet that displays information about mouse events as they occur. Since double-buffering is not used, the display flickers quite a bit. Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This...

Download Upload Statistics Manager

This program is for those who have a fixed limit for downloading/uploading. It creates and saves the statistics of the numerical value passed by the user. Before use the user needs to create 2 text files every month. One named : stats<monthnumber>.txt and...

Java applet – HighLow Game

This applet is a simple card game. The user sees a card and tries to predict whether the next card will be higher or lower. Aces are the lowest-valued cards. If the user makes three correct predictions, the user wins. If not, the user loses. This version of the game...
Page 1 of 3123