<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-18T20:45:54+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/initgraph?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/dowhile?rev=1708041848&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/write?rev=1378710442&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/c/graphics.h/initgraph?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>initgraph</title>
        <link>https://code-reference.com/c/graphics.h/initgraph?rev=1708041955&amp;do=diff</link>
        <description>initgraph

Syntax of initgraph


#include &lt;graphics.h&gt;
void initgraph(int *graphdriver, int *graphmode, char *pathtodriver);
  

Description of initgraph


initgraph initializes the graphics system by loading a graphics driver
from disk (or validating a registered driver), and putting the system
into graphics mode.
To start the graphics system, first call the initgraph function.
initgraph loads the graphics driver and puts the system into graphics
mode. You can tell initgraph to use a particular…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures/dowhile?rev=1708041848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:08+02:00</dc:date>
        <title>do - while</title>
        <link>https://code-reference.com/arduino/control_structures/dowhile?rev=1708041848&amp;do=diff</link>
        <description>The do loop works in the same manner as the while loop, with the exception that the condition is tested at the end of the loop, so the do loop will always run at least once.


do
{
    // statement block
} while (test condition);


Example


do
{
  delay(50);          // wait for sensors to stabilize
  x = readSensors();  // check the sensors

} while (x &lt; 100);</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:00+02:00</dc:date>
        <title>Print Writer</title>
        <link>https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff</link>
        <description>----------

The PrintWriter class is a simple way of writing to files in Java io. It can be used in many ways and offers a great deal of methods inside the class. Some of these are quite common methods throughout the language itself. I will go through them step by step, giving examples for each. Let's get started:</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printstream/write?rev=1378710442&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-09-09T09:07:22+02:00</dc:date>
        <title>write</title>
        <link>https://code-reference.com/java/io/printstream/write?rev=1378710442&amp;do=diff</link>
        <description>Writes count or one byte to target stream/buffer.


write(int oneByte);
write(byte[] buffer, int offset, int length);



Language Example



      try(    //Try-with-resource-block
            FileWriter stream = new FileWriter(&quot;output.txt&quot;); // create file 
            BufferedWriter output = new BufferedWriter(stream);
         ) {
     
        output.write(&quot;Hello Harddisk&quot;);             // Write to Stream
       //This is an auto-closable block so no need of &quot;output.close();&quot;
       }
      …</description>
    </item>
</rdf:RDF>
