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...

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...

Process Binary Trees – Java

This program demonstrates a few routines for processing binary sort trees. It uses a binary sort tree of strings. The user types in strings. The user’s string is converted to lower case, and — if it is not already in the tree — it is inserted into...

Simulation of console-I/O program BirthdayProblemDemo

Simulation of console-I/O program BirthdayProblemDemo, using ConsoleApplet as a basis. See the file ConsoleApplet.java for more information. David Eck eck@hws.edu Java /*******************************************************...

Keyboard Animation Applet – Java

The KeyboardAnimation2 applet provides a generic framework for applets both display an animation and respond to keyboard events. The animation runs only when the applet has the keyboard focus and can respond to key presses. The appearance of the applet changes,...

Stop-Watch Java Program

A component that acts as a simple stop-watch. When the user clicks on it, this componet starts timing. When the user clicks again, it displays the time between the two clicks. Clicking a third time starts another timer, etc. While it is timing, the label just displays...

BirthdayProblem Demonstration

How many random people do you have to select before you find a duplicate birthday (that is, two peole who were born on the same day of the same month, but not necessarily in the same year). This program simulates the process. (It ignores the possibility of people born...

Text Tool

Text Tool [code=’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 * * purpose of...
Page 1 of 3123