C++ code example shown here how to write to text file.
Java code example to append text to file in Java
Essentially the trick is to draw the panel/frame/etc. into a BufferedImage and use the ImageIO class to write it to an image file.
Detect Internet Explorer
An example Dates with the Ordinal Suffix . Below is the code that will do this.
This example has an ordinal suffix: Sunday 15th July
XML Code to display XML data in an HTML table
Program shows copying one text file from source location to any other location (destination), plus possibility of changing its name, and also shows many language features in exception handling. This program should be run from the command prompt
How to read text file and print its contents to the console line by line.
Asp code example to show the date a file was created
PHP code to encode any email address into HTML entities so that spam bots do not find it
Two simple functions to read an write tab seperated files (like CSV files, etc).
This function removes all duplicated lines of the given text file.
Basic commands for reading a text file one line at a time.
The .NET Framework doesn't support automatic detection of character encoding in the default file I/O methods. This is a quick function that returns True in the specified file is Unicode.
An example to check Weekend
The example below defines a loop that starts with i=0. The loop will continue to run as long as i is less than, or equal to 5. i will increase by 1 each time the loop runs.
The example below defines a loop that starts with i=0. The loop will continue to run as long as i is less than, or equal to 5. i will increase by 1 each time the loop runs:
PHP example for listing directory contents
Jave code for PDF Generation using iText JAR