Do you know this example tricks?

Delphi / ADO Database

Table ve query ile thread kullanımı

JavaScript Tutorial / Form

Submit focus()

C Tutorial / Stdlib h

Mbstowcs

C++ Tutorial / Data Types

Shift left

C / Ctype H

Int isblank(int ch)

VB.Net by API / System Diagnostics

New StackTrace

Java Tutorial / Swing Event

Finding the Next Focusable Component

JavaScript DHTML / Dojo Toolkit

Use splitpane

Java / File Input Output

Write some data in binary

Java Tutorial / Internationalization

New DecimalFormat(# #) two digits

JavaScript Tutorial / JQuery

To unbind all click events from all paragraphs

Python / XML

Subclassing the Default ContentHandler

Sample Android Codes

Android / UI

Demonstrates using a LinearLayout background to group related TextViews, EditTexts, and Buttons

Android / UI

Compass View

Android / UI

LinearLayout for ListAdapter

Android / 2D Graphics

Capture Image and display

Android / File

Get File Name Without Extension

Android / 2D Graphics

Using BitmapFactory to decode Resource

Android / 2D Graphics

Rotate Bitmap

Android / Core Class

Log events

Android / Date Type

Write Date to AudioTrack

Android / UI

Import android app AlertDialog

Android / UI

Show Toast

Android / Development

JSON

Sample C# Codes

C# / ADO Database

On row updating and updated event

C# / Date Time

Gets the days in year

C# / Language Basics

Throw exception from getter

C# / Data Types

Fill all enum value to a List

C# / Development Class

Get all methods from a class

C# / Data Types

Convert a hex string into a byte array with one byte for every 2 hex characters

C# / ADO Database

Delete data from database table using SqlDataAdapter

C# / Reflection

Get variable base type and public numbers

C# / GUI Windows Form

Directory tree and property grid

C# / WPF

Hosting a Windows Forms Property Grid in WPF

C# / Date Time

Example of the TimeSpan relational operators

C# / File Stream

Retrieves the date from the beginning of the WinSat filename and creates a datetime object from it

Sample Java Codes

Java / Swing JFC

Extends DefaultTableModel to create your own table model and build table from that

Java / Collections Data Structure

Returns the minimum value in an short-type array

Java / Data Type

Provides a number of static methods which interact with java nio charset Charset to analyze and transform the strings identifing

Java / Ant

Get current location

Java / JSP

Prints a conversion table of miles per gallon to kilometers per liter

Java / XML

Finds and returns the last child node with the given name

Java / SWT Jface Eclipse

Group Label and Button

Java / SWT Jface Eclipse

Demonstrates drawing points It draws a sine wave

Java / Advanced Graphics

Blur an Image

Java / GWT

DataSources can bind directly to simple XML documents where field values appear as attributes or subelements ; (Smart GWT)

Java / Data Type

Create an Boolean object from boolean value

Java / J2ME

MIDlet to invoke a CGI script (POST method is used) (2)

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.