<?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-25T23:04:33+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/assembly/8086_88/command_overview?rev=1708041837&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/loops/while?rev=1365667420&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/control_structures/while?rev=1708041976&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/while?rev=1708041848&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/examples/ftp_scanner?rev=1708041925&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/examples/mysql_bruteforce?rev=1708041925&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/c/graphics.h/setmousequeuestatus?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/examples/smbscan?rev=1357809303&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/loops/do?rev=1515738547&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures?rev=1358463006&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/while?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures?rev=1708040896&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/start?rev=1501372323&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/while?rev=1361019359&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures?rev=1371218987&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/control_structures?rev=1708040906&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/external_interrupts/attachinterrupt?rev=1708041866&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmouseclick?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/rewind?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getch?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/do?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/examples/uiwebview_using_local_resources?rev=1408407926&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/do?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setrgbpalette?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/registermousehandler?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/sector?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/case?rev=1708040895&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strtok?rev=1361639445&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/while?rev=1708041961&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/kbhit?rev=1708041900&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/continue?rev=1708041847&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/putc?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/putpixel?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/system?rev=1708041889&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/for?rev=1708041847&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/math/min?rev=1708041860&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/examples/iisscan?rev=1357809369&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/do?rev=1708041960&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/ismouseclick?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/ungetch?rev=1360707830&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_eof?rev=1362005186&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/putch?rev=1359922245&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fgetpos?rev=1361069952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/break?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/bitwise_operators/bitwisecompoundor?rev=1708041856&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/fputwc?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/interrupts/nointerrupts?rev=1708041864&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/mousey?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/math/max?rev=1708041861&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/break?rev=1708041848&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/constants/progmem?rev=1708041856&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/loops/for?rev=1366269081&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/mbtowc?rev=1403877396&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/mousex?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_data_seek?rev=1362002576&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/putimage?rev=1708041953&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_fetch_field?rev=1362094056&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/bitwise_operators/bitwisecompoundand?rev=1708041855&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getpixel?rev=1439308760&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/random_numbers/randomseed?rev=1708041857&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/time.h/clock?rev=1708041884&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/feof?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/interrupts/interrupts?rev=1708041864&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/imagesize?rev=1708041951&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/assembly/8086_88/command_overview?rev=1708041837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:03:57+02:00</dc:date>
        <title>Assembly Language</title>
        <link>https://code-reference.com/assembly/8086_88/command_overview?rev=1708041837&amp;do=diff</link>
        <description>Assembly Language

8086/88 Overview
CommandDescriptionExampleAAAASCII adjust after additionno example yetAADASCII adjust before divideno example yetAAMASCII adjust alter multiplyno example yetAASASCII adjust after subtractno example yetADCAdd with carryno example yetADDAddno example yetANDAndno example yetCALLCallno example yetCBWConvert byte to wordno example yetCLCClear carry flagno example yetCLDClear direction flagno example yetCLIClear interrupt flagno example yetCMCComplement carry flagno …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/loops/while?rev=1365667420&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-11T10:03:40+02:00</dc:date>
        <title>while</title>
        <link>https://code-reference.com/java/loops/while?rev=1365667420&amp;do=diff</link>
        <description>while (condition) {

//command

}


a while loop do something while a condition

example of while loop in java


package codereferececomjava;

public class CodeRefereceComJava {
 
    public static void main(String[] args) {

        int i=4;
              
        while(i==4) {
        
             i++;
         }
         
        System.out.println(&quot;i is :&quot; + i );
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/control_structures/while?rev=1708041976&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:16+02:00</dc:date>
        <title>while</title>
        <link>https://code-reference.com/objective-c/control_structures/while?rev=1708041976&amp;do=diff</link>
        <description>syntax



while (condition is true/untrue) {
    statement;
}

or 

while ( condition == true ) {
    do something until condition untrue
    }


while example objective c


        NSInteger i=0;
         while (i &lt; 42) {
                i++;
                if (i==42) NSLog(@&quot;whoooha &quot;);
        }</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures/while?rev=1708041848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:08+02:00</dc:date>
        <title>while loops</title>
        <link>https://code-reference.com/arduino/control_structures/while?rev=1708041848&amp;do=diff</link>
        <description>Description

while loops will loop continuously, and infinitely, until the expression inside the parenthesis, () becomes false. Something must change the tested variable, or the while loop will never exit. This could be in your code, such as an incremented variable, or an external condition, such as testing a sensor.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/examples/ftp_scanner?rev=1708041925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:25+02:00</dc:date>
        <title>simple ftp scanner</title>
        <link>https://code-reference.com/c/examples/ftp_scanner?rev=1708041925&amp;do=diff</link>
        <description>simple ftp scanner

written by MoD and ZehDeh 2001

example of a simple ftp scanner in c


#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
#include &lt;netdb.h&gt;
#include &lt;netinet/in.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;sys/types.h&gt;
#include &lt;sys/select.h&gt;


void logintoftp();

char tmp[256];
char name[300], pass[300], buf[300], buf2[300];
char snd[1024], rcv[1024];
int n;

int sockfd;

int main(int argc, char **argv)
{
	char sendln[1024], recvln[4048], buf1[800], buf2[1000];
	char *p, *q;
	int len, offset =…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/examples/mysql_bruteforce?rev=1708041925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:25+02:00</dc:date>
        <title>MySQL Bruteforce</title>
        <link>https://code-reference.com/c/examples/mysql_bruteforce?rev=1708041925&amp;do=diff</link>
        <description>MySQL Bruteforce

written while a boring day

more information on &lt;http://code-reference.com&gt;


#include &lt;stdio.h&gt;
#include &lt;mysql/mysql.h&gt;
#include &lt;curses.h&gt;
#include &lt;string.h&gt;
#include &lt;stdlib.h&gt;

// Deutsch oder English
#define GER 1
#define ENG 0
/*
**************************************************************************************************
*  MYSQL Bruteforce Programm aus purer lange Weile geschrieben 
*   23.03 2010 by cd 
*
*   gcc mysql-bruteforce.c -o mysql-bruteforce -lmysqlcli…</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/c/graphics.h/setmousequeuestatus?rev=1708041956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:56+02:00</dc:date>
        <title>setmousequeuestatus</title>
        <link>https://code-reference.com/c/graphics.h/setmousequeuestatus?rev=1708041956&amp;do=diff</link>
        <description>setmousequeuestatus

Syntax of setmousequeuestatus


#include &quot;graphics.h&quot;
voud setmousequeuestatus(int kind, bool status=true);
  

Description of setmousequeuestatus


The setmousequeuestatus function is available in the winbgim
implementation of BGI graphics. This function controls whether mouse
events of a particular kind are queued for processing. If the status
parameter is false, then mouse events of the specified kind are not
queued. This means that each time a mouse event of that kind oc…</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/examples/smbscan?rev=1357809303&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-10T10:15:03+02:00</dc:date>
        <title>smbscan.sh</title>
        <link>https://code-reference.com/bash/examples/smbscan?rev=1357809303&amp;do=diff</link>
        <description>Requirements

smbmount, smbclient,nmblookup (samba tools)

nmap (Network Mapper)

grep, sed, dialog


 a smb scanner written in shell by me 



#!/bin/bash
# This script scans smb servers a given network
# and mounts anonymous shared directories
# example: ./smbscan.sh or ./smbscan iprange
# http://www.code-reference.com/ 

# clean old temp files
#rm -f *.out

if [ `id -u` -ne 0 ]; then
  echo &quot;You must be root to use this script.&quot;
  exit 1
fi

FILESYSTEM=cifs
SMBM=/usr/bin/smbmount
SMBC=/usr/bi…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/loops/do?rev=1515738547&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:07+02:00</dc:date>
        <title>do</title>
        <link>https://code-reference.com/java/loops/do?rev=1515738547&amp;do=diff</link>
        <description>do {
 command;
} while (condition);



a do loop will run while a condition is false

example of do loop in java


package codereferececomjava;

public class CodeRefereceComJava {
 
    public static void main(String[] args) {
    
        int i=4;
        
        do {
         i++;
        } while(i==4);
        
        System.out.println(&quot;i is :&quot; + i );
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures?rev=1358463006&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-17T23:50:06+02:00</dc:date>
        <title>control structures Overview</title>
        <link>https://code-reference.com/c/control_structures?rev=1358463006&amp;do=diff</link>
        <description>control structures Overview
 Name                 Description              break break  case case  continue continue  default default  do do  else else  for for  goto goto  if if  return return  switch switch  while while 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/while?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>while</title>
        <link>https://code-reference.com/cpp/control_structures/while?rev=1708041872&amp;do=diff</link>
        <description>while

    
    #include &lt;iostream&gt; /* including standard library */

    while ( condition == true ) {
    do something until condition untrue
    }


cpp Sourcecode Example



#include &lt;iostream&gt; /* including standard library */

using namespace std;
int main(void) {
    int i=0;
    
    while (i &lt;= 99) {
        cout &lt;&lt; i &lt;&lt; endl;
        i++;
    }
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures?rev=1708040896&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:16+02:00</dc:date>
        <title>control structures Overview</title>
        <link>https://code-reference.com/arduino/control_structures?rev=1708040896&amp;do=diff</link>
        <description>control structures Overview
 Name                 Description              break break  continue continue  dowhile dowhile  else else  for for  goto goto  if if  return return  switchcase switchcase  while while 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/start?rev=1501372323&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-07-30T01:52:03+02:00</dc:date>
        <title>Programming Library / Reference with examples</title>
        <link>https://code-reference.com/start?rev=1501372323&amp;do=diff</link>
        <description>Be a part of our community and help to improve this reference.




This is a Wiki for all possible programming languages ​​with descriptions and examples.

The goal is to create a programming library reference for all the programming languages ​​out there

So do not hesitate to add some example code, adjust or correct the content</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/while?rev=1361019359&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-16T13:55:59+02:00</dc:date>
        <title>while</title>
        <link>https://code-reference.com/c/control_structures/while?rev=1361019359&amp;do=diff</link>
        <description>while

    
    #include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    while ( condition == true ) {
    do something until condition untrue
    }


C Sourcecode Example



#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main(void) {
    int i=0;
    
    while (i &lt;= 10) {
        printf(&quot;%i\n&quot;,i);
        i++;
    }
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures?rev=1371218987&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-06-14T16:09:47+02:00</dc:date>
        <title>control structures Overview</title>
        <link>https://code-reference.com/cpp/control_structures?rev=1371218987&amp;do=diff</link>
        <description>control structures Overview
 Name                 Description              break break  continue continue  do do  goto goto  if if  return return  while while  Switchused for finding the specific case of a set of scenarios 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>delay()</title>
        <link>https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff</link>
        <description>Description

Pauses the program for the amount of time (in miliseconds) specified as parameter.   (There are 1000 milliseconds in a second.)

Syntax

delay(ms)

Parameters

ms: the number of milliseconds to pause (unsigned long)

Returns

nothing

Example


int ledPin = 13;                 // LED connected to digital pin 13

void setup()
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
}

void loop()
{
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);          …</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/control_structures?rev=1708040906&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:26+02:00</dc:date>
        <title>objective-c:control_structures</title>
        <link>https://code-reference.com/objective-c/control_structures?rev=1708040906&amp;do=diff</link>
        <description>for

if

while</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/external_interrupts/attachinterrupt?rev=1708041866&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:26+02:00</dc:date>
        <title>attachInterrupt()</title>
        <link>https://code-reference.com/arduino/external_interrupts/attachinterrupt?rev=1708041866&amp;do=diff</link>
        <description>Description

Specifies a function to call when an external interrupt occurs.  Replaces any previous function that was attached to the interrupt.  Most Arduino boards have two external interrupts: numbers 0 (on digital pin 2) and 1 (on digital pin 3). The table below shows the available interrupt pins on various boards.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>fsetpos</title>
        <link>https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff</link>
        <description>int fsetpos(FILE *stream, const fpos_t *pos); 


reset the position indicator to  using fsetpos()
stores the current file position indicator to the location indicated by the information in pos
Returns non-zero on error.

C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
    FILE *stream;
    fpos_t file_pos;
    int c;
    int i;

    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Ca…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fseek</title>
        <link>https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff</link>
        <description>int fseek(FILE *stream, long int offset, int origin);


Sets file position for stream stream and clears end-of-file indicator. For a binary stream, file position is set to offset bytes from the position indicated by origin: beginning of file for SEEK_SET, current position for SEEK_CUR, or end of file for SEEK_END. Behaviour is similar for a text stream, but offset must be zero or, for SEEK_SET only, a value returned by ftell. Returns non-zero on error.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:58+02:00</dc:date>
        <title>clearmouseclick</title>
        <link>https://code-reference.com/c/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff</link>
        <description>clearmouseclick

Syntax of clearmouseclick


#include &quot;graphics.h&quot;
void clearmouseclick(int kind);
  

Description of clearmouseclick


The clearmouseclick function is available in the winbgim implementation
of BGI graphics. This is just like getmouseclick, except it does not
provide the x and y coordinates of the event. The value of the argument
kind may be any of the constants listed above. After calling
getmouseclick, for a particular kind of event, the ismouseclick will
return false for that…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-22T02:30:47+02:00</dc:date>
        <title>Keywords in C 89/99</title>
        <link>https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff</link>
        <description>C89 Keywords

	*  auto
	*  break
	*  case
	*  char
	*  const
	*  continue
	*  default
	*  do
	*  double
	*  else
	*  enum
	*  extern
	*  float
	*  for
	*  goto
	*  if
	*  int
	*  long
	*  register
	*  return
	*  short
	*  signed
	*  sizeof
	*  static
	*  struct
	*  switch
	*  typedef
	*  union
	*  unsigned
	*  void
	*  volatile
	*  while</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getmouseclick?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>getmouseclick</title>
        <link>https://code-reference.com/c/graphics.h/getmouseclick?rev=1708041947&amp;do=diff</link>
        <description>getmouseclick

Syntax of getmouseclick


#include &quot;graphics.h&quot;
voud getmouseclick(int kind, int&amp;amp; x, int&amp;amp; y);
  

Description of getmouseclick


The getmouseclick function is available in the winbgim implementation of
BGI graphics. This function sets x and y to the pixel coordinates of an
unprocessed event of the specified kind. If there is no such event, then
the function sets both x and y to -1. The value of the argument kind may
be any of the constants listed above. After calling getmo…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>putchar</title>
        <link>https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff</link>
        <description>putchar


    int putchar(int char); 


put a character into stdout

C Sourcecode Example


/* 
 * putchar example code
 * http://code-reference.com/c/stdio.h/putchar
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
  int c;
  c = 0; // ASCII Code a
  
  while (c &lt; 255) { // count chars in a while loop
     putchar(c);
     c++;
  }
 
  putchar('\n');
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/rewind?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>rewind</title>
        <link>https://code-reference.com/c/stdio.h/rewind?rev=1708041944&amp;do=diff</link>
        <description>rewind


    void rewind(FILE *stream);


equal like fseek(stream, 0L, SEEK_SET); clearerr(stream);
Resets the read pointer to the beginning of the File and clear the error
indicator

C Sourcecode Example


/* 
 * rewind example code
 * http://code-reference.com/c/stdio.h/rewind 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main (void) {
FILE *stream;
int c;
long seek_position;

seek_position = 21;

stream=fopen(&quot;test.txt&quot;…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getch?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>getch</title>
        <link>https://code-reference.com/c/graphics.h/getch?rev=1708041957&amp;do=diff</link>
        <description>getch

Syntax of getch


#include &quot;graphics.h&quot;
int getch(void);
  

Description of getch


The getch function is available in the winbgim implementation of BGI
graphics. You do not need to include conio.h; just include graphics.h.
The function reads one character from the keyboard and returns its ASCII
value (without waiting for a return key). In order to work, the user must
click in the graphics window (i.e., the Windows focus must be in the
graphics window). For special keys, the getch functio…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/do?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>do</title>
        <link>https://code-reference.com/cpp/control_structures/do?rev=1708041872&amp;do=diff</link>
        <description>do
  Syntax 
  do instruction while ( condition );
cpp Sourcecode Example


#include &lt;iostream&gt; /* including standard library */

using namespace std;

int main( void ) {
int i;
    
    do
        cout &lt;&lt; &quot;Hello World no &quot; &lt;&lt; i &lt;&lt; endl;
    while (i++);
    
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/examples/uiwebview_using_local_resources?rev=1408407926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-08-19T02:25:26+02:00</dc:date>
        <title>UIWebView using local resources</title>
        <link>https://code-reference.com/objective-c/examples/uiwebview_using_local_resources?rev=1408407926&amp;do=diff</link>
        <description>Sometimes you need or want to load a UIWebView displaying content provided with an app. If there is more then one site it might make sense to have an external .css or .js file for all your html content. Whatever, I was facing this problem currently and decided to provide my solution to you.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/do?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>do</title>
        <link>https://code-reference.com/c/control_structures/do?rev=1708041885&amp;do=diff</link>
        <description>do
  Syntax 
  do instruction while ( condition );
C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void ) {
int i;
    
    do
        printf(&quot;Hello World no %i\n&quot;,i);
    while (i++);
    
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setrgbpalette?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>setrgbpalette</title>
        <link>https://code-reference.com/c/graphics.h/setrgbpalette?rev=1708041947&amp;do=diff</link>
        <description>setrgbpalette

Syntax of setrgbpalette


#include &lt;graphics.h&gt;
void setrgbpalette(int colornum, int red, int green, int blue);
  

Description of setrgbpalette


setrgbpalette can be used with the IBM 8514 and VGA drivers.
colornum defines the palette entry to be loaded, while red, green, and
blue define the component colors of the palette entry.
For the IBM 8514 display (and the VGA in 256K color mode), colornum is in
the range 0 to 255. For the remaining modes of the VGA, colornum is in
the ra…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/registermousehandler?rev=1708041956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:56+02:00</dc:date>
        <title>registermousehandler</title>
        <link>https://code-reference.com/c/graphics.h/registermousehandler?rev=1708041956&amp;do=diff</link>
        <description>registermousehandler

Example of registermousehandler


/* mouse example */
#include &quot;graphics.h&quot;

// The click_handler will be called whenever the left mouse button is
// clicked. It checks copies the x,y coordinates of the click to
// see if the click was on a red pixel. If so, then the boolean
// variable red_clicked is set to true. Note that in general
// all handlers should be quick. If they need to do more than a little
// work, they should set a variable that will trigger the work going,
…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>description</title>
        <link>https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff</link>
        <description>int fputchar( int c );


description

The fputchar() function writes the character specified by the argument c to the output stream stdout. This function is identical to the putchar() function. 

example


#include &lt;stdio.h&gt;

int main( void )
  {
    FILE *fp;
    int c;

    fp = fopen( &quot;file.txt&quot;, &quot;r&quot; );
    if( fp != NULL ) {
      c = fgetc( fp );
      while( c != EOF ) {
        fputchar( c );
        c = fgetc( fp );
      }
      fclose( fp );
    }
  }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/sector?rev=1708041956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:56+02:00</dc:date>
        <title>sector</title>
        <link>https://code-reference.com/c/graphics.h/sector?rev=1708041956&amp;do=diff</link>
        <description>sector

Syntax of sector


#include &lt;graphics.h&gt;
void sector(int x, int y, int stangle, int endangle, int xradius, int
yradius);
  

Description of sector


Draws and fills an elliptical pie slice using (x,y) as the center point,
xradius and yradius as the horizontal and vertical radii, respectively,
and drawing from stangle to endangle. The pie slice is outlined using the
current color, and filled using the pattern and color defined by
setfillstyle or setfillpattern.
The angles for sector are g…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>getc</title>
        <link>https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff</link>
        <description>getc


    int getc(FILE *stream);


Returns next character from (input) stream stream, or EOF on end-of-file or error.

C Sourcecode Example


/* 
 * getc example code
 * http://code-reference.com/c/stdio.h/getc
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
    FILE *stream;
    int c;

    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Cannot open file.\n&quot;);
        return 1;
    }
      
   whi…</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/case?rev=1708040895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:15+02:00</dc:date>
        <title>case</title>
        <link>https://code-reference.com/bash/case?rev=1708040895&amp;do=diff</link>
        <description>case

The case and select constructs are technically not loops, 
since they do not iterate the execution of a code block. Like loops,
however, they direct program flow according to conditions at the top or bottom of the block.

Controlling program flow in a code block

case (in) / esac

The case construct is the shell scripting analog to switch in C/C++. 
It permits branching to one of a number of code blocks, depending on condition tests. 
It serves as a kind of shorthand for multiple if/then/e…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strtok?rev=1361639445&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-23T18:10:45+02:00</dc:date>
        <title>strtok</title>
        <link>https://code-reference.com/c/string.h/strtok?rev=1361639445&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
char *strtok(char *str1, const char *str2);


description of strtok

Function strtok breaks a string (str1) into individual strings based on the so-called token. The string is separated by one delimiter (str2).
“str2” may contain multiple tokens, e.g. str2 = “\ n” (ie separation in space, comma, New Line, Point).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/while?rev=1708041961&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:01+02:00</dc:date>
        <title>c:keywords:while</title>
        <link>https://code-reference.com/c/keywords/while?rev=1708041961&amp;do=diff</link>
        <description>see while</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/kbhit?rev=1708041900&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:00+02:00</dc:date>
        <title>kbhit</title>
        <link>https://code-reference.com/c/conio.h/kbhit?rev=1708041900&amp;do=diff</link>
        <description>int kbhit();


description of kbhit

used to find ou if a key has been pressed or not


#include &lt;stdio.h&gt;
#include &lt;conio.h&gt;

int main( void )
{
   while (kbhit())
      printf(&quot;you have touched key.\n&quot;);
     
   return 0;
}


output of kbhit c example
  you have touched a key</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures/continue?rev=1708041847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:07+02:00</dc:date>
        <title>continue</title>
        <link>https://code-reference.com/arduino/control_structures/continue?rev=1708041847&amp;do=diff</link>
        <description>The continue statement skips the rest of the current iteration of a loop (do, for, or while).  It continues by checking the conditional expression of the loop, and proceeding with any subsequent iterations.

Example



for (x = 0; x &lt; 255; x ++)
{
    if (x &gt; 40 &amp;&amp; x &lt; 120){      // create jump in values
        continue;
    }

    digitalWrite(PWMpin, x);
    delay(50);
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/putc?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>putc</title>
        <link>https://code-reference.com/c/stdio.h/putc?rev=1708041941&amp;do=diff</link>
        <description>putc


    int putc(int char, FILE *stream); 


put char into a stream.

C Sourcecode Example


/* 
 * putc example code
 * http://code-reference.com/c/stdio.h/putc 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int main( void )
{
  int c;
  FILE *stream, *destination;
  
  stream = fopen(&quot;test.txt&quot;, &quot;r&quot;);
  destination = fopen(&quot;test_copy.txt&quot;,&quot;w&quot;);

  if (stream == 0 || destination == 0) { 
     perror(&quot;cannot open stream&quot;);
  …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/putpixel?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>putpixel</title>
        <link>https://code-reference.com/c/graphics.h/putpixel?rev=1708041947&amp;do=diff</link>
        <description>putpixel

Syntax of putpixel


#include &lt;graphics.h&gt;
void putpixel(int x, int y, int color);
  

Description of putpixel


putpixel plots a point in the color defined by color at (x,y).


Example of putpixel


/* putpixel example */

#include &lt;graphics.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;stdio.h&gt;
#include &lt;conio.h&gt;
#include &lt;dos.h&gt;

#define PIXEL_COUNT 1000
#define DELAY_TIME  100  /* in milliseconds */

int main()
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;
   int i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff</link>
        <description>syntax
   break;
   
   Description: break ends a loop immediately
C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void ) {

int i;
i=0;

while (1) {
    i++;
    if (i==42) {
        break;
        }
  }

printf(&quot;The answer is %i\n&quot;,i);
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/system?rev=1708041889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:49+02:00</dc:date>
        <title>system</title>
        <link>https://code-reference.com/c/stdlib.h/system?rev=1708041889&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
     int system(const char *string);


system calls a command on the shell

system c code example


/* 
 * system example code
 * http://code-reference.com/c/stdlib.h/system
 */
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
 
int main (void)
{
  char * command = &quot;uname -a&quot;;
  
  int cmd = system( command );
 
  if( cmd == -1 ) { printf( &quot;Error while initalize system command.\n&quot;); }
  else if( cmd &gt; 0 )   { printf( &quot;command return value  %d.\n&quot;, cmd ); }
  else  printf( &quot;success\n&quot; )…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures/for?rev=1708041847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:07+02:00</dc:date>
        <title>for statements</title>
        <link>https://code-reference.com/arduino/control_structures/for?rev=1708041847&amp;do=diff</link>
        <description>Desciption

The for statement is used to repeat a block of statements enclosed in curly braces. An increment counter is usually used to increment and terminate the loop. The for statement is useful for any repetitive operation, and is often used in combination with arrays to operate on collections of data/pins.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/math/min?rev=1708041860&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:20+02:00</dc:date>
        <title>min(x, y)</title>
        <link>https://code-reference.com/arduino/math/min?rev=1708041860&amp;do=diff</link>
        <description>Description

Calculates the minimum of two numbers.

Parameters

x: the first number, any data type

y: the second number, any data type

Returns

The smaller of the two numbers.

Examples

sensVal = min(sensVal, 100); // assigns sensVal to the smaller of sensVal or 100
                             // ensuring that it never gets above 100.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-12-04T13:27:53+02:00</dc:date>
        <title>fgetc</title>
        <link>https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff</link>
        <description>fgetc


    int fgetc ( FILE * stream );


Returns next character from (input) stream stream, or EOF on end-of-file or error.

C Sourcecode Example


/* 
 * fgetc example code
 * http://code-reference.com/c/stdio.h/fgetc 
 */


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
  FILE *stream;
  char c;

  if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
    printf(&quot;Cannot open file.\n&quot;);
    return 1;
  }

  while((c = fget…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>fscanf</title>
        <link>https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff</link>
        <description>fscanf


    int fscanf(FILE *stream, const char *format, ...);


Performs formatted input conversion, reading from stream stream according to format format. The function returns when format is fully processed. Returns number of items converted and assigned, or EOF if end-of-file or error occurs before any conversion. Each of the arguments following format must be a pointer. Format string may contain:</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/examples/iisscan?rev=1357809369&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-10T10:16:09+02:00</dc:date>
        <title>IISscan.sh</title>
        <link>https://code-reference.com/bash/examples/iisscan?rev=1357809369&amp;do=diff</link>
        <description>Simple IIS network scanner

Requirements:
grep, nmap, netcat



#!/bin/bash
# A Simple IIS network scanner
# ./iisscan.sh 10.*.54.3-23 output
# http://code-reference.com
# thanks to Ge0rG
clear
if [ $# -ne 2 ]
    then
	echo &quot;$0 [ip room] [outputfile]&quot; &gt;&amp;2
	exit 0
	else
	    echo &quot;Written by cd ;) &quot;
	    echo &quot;scan started against to $1 on port 80&quot;
	    echo &quot;ScR1Ptk1dDi3 Pr0t3c7 Sy5t3m v 1.o&quot;;exit 1
  
	nmap $1 -p 80 -sS -oG ~/$1.out | grep open | cut '-d ' -f 2 
	cat ~/$1.out | grep open | cut…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/do?rev=1708041960&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:00+02:00</dc:date>
        <title>c:keywords:do</title>
        <link>https://code-reference.com/c/keywords/do?rev=1708041960&amp;do=diff</link>
        <description>see while</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/ismouseclick?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>ismouseclick</title>
        <link>https://code-reference.com/c/graphics.h/ismouseclick?rev=1708041949&amp;do=diff</link>
        <description>ismouseclick

Syntax of ismouseclick


#include &quot;graphics.h&quot;
bool ismouseclick(int kind);
  

Description of ismouseclick


The ismouseclick function is available in the winbgim implementation of
BGI graphics. This function returns true if there is an unprocessed mouse
event of the specified kind. The argument to ismouseclick is one of these
constants from the graphics.h file:
  WM_MOUSEMOVE
if you want to detect a mouse movement
  WM_LBUTTONDBLCLK
...detect when the left mouse button is double …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/ungetch?rev=1360707830&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-12T23:23:50+02:00</dc:date>
        <title>ungetch</title>
        <link>https://code-reference.com/c/conio.h/ungetch?rev=1360707830&amp;do=diff</link>
        <description>int ungetch(int ch);


description of ungetch

Pushes a character back into the keyboard buffer.



return

Successful execution ungetch returns the character ch.

If an error occurs, the function returns EOF.



#include &lt;stdio.h&gt;
#include &lt;ctype.h&gt;
#include &lt;conio.h&gt;

int main(void)
{
   int i=0;
   char ch;
   puts(&quot;Input an integer followed by a char:&quot;);

   while((ch = getche()) != EOF &amp;&amp; isdigit(ch))
      i = 10 * i + ch - 48; 

   if (ch != EOF)
      ungetch(ch);
  printf(&quot;\n\ni = %d, n…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-30T21:01:41+02:00</dc:date>
        <title>getchar</title>
        <link>https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff</link>
        <description>getchar


     #include &lt;ctype.h&gt;
     int getchar( void );

   Get a character
C Sourcecode Example


/* 
 * getchar example code
 * http://code-reference.com/c/stdio.h/getchar
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#include &lt;ctype.h&gt;

int main ( void ) {
   int chars;
   printf(&quot;type in . to end your input : &quot;);

   while ((chars = getchar()) != '.' ){
      putchar(chars);
   }
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_eof?rev=1362005186&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:46:26+02:00</dc:date>
        <title>mysql_eof</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_eof?rev=1362005186&amp;do=diff</link>
        <description>my_bool mysql_eof(MYSQL_RES *result)


description of mysql_eof

is used to test whether a quantitative result has been read completely. returns 0 until the end of the results has not yet been reached otherwise value is 0

This function is obsolete,use mysql_errno() or mysql_error()</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/putch?rev=1359922245&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T21:10:45+02:00</dc:date>
        <title>putch</title>
        <link>https://code-reference.com/c/conio.h/putch?rev=1359922245&amp;do=diff</link>
        <description>int putch(int c);


description of putch

prints characters on the screen.



putch gives the character c to the current text window. It is a text-mode function that displays output directly to the console.
putch replaces the newline character (\ n) characters are not merchandise return / line feed.



Depending _directvideo of the global variable, the string is written either directly or through a BIOS call to screen memory.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fgetpos?rev=1361069952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T03:59:12+02:00</dc:date>
        <title>fgetpos</title>
        <link>https://code-reference.com/c/stdio.h/fgetpos?rev=1361069952&amp;do=diff</link>
        <description>int fgetpos(FILE *stream, fpos_t *pos);


Stores current file position for stream stream in *pos. Returns non-zero on error.

Description

The fgetpos() function stores the file position indicator of the given file stream in the given position variable.

The position variable is of type fpos_t (which is defined in stdio.h) and is an object that can hold every possible position in a FILE.

fgetpos() returns zero upon success, and a non-zero value upon failure.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>ungetc</title>
        <link>https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff</link>
        <description>ungetc


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 int ungetc(int chr, FILE *stream);


Pushes chr (which must not be EOF), onto (input) stream stream such that it will be returned by the next read. Only one character of pushback is guaranteed (for each stream). Returns chr, or EOF on error.</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/break?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/cpp/control_structures/break?rev=1708041872&amp;do=diff</link>
        <description>syntax
   break;
   
   Description: break ends a loop immediately
cpp Sourcecode Example


#include &lt;iostream&gt; /* including standard library */

using namespace std;
int main ( void ) {

int i;
i=0;

while (1) {
    i++;
    if (i==42) {
        break;
        }
  }

cout &lt;&lt; &quot;The answer is &quot; &lt;&lt; i &lt;&lt;;
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T15:58:12+02:00</dc:date>
        <title>switch</title>
        <link>https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff</link>
        <description>description

The switch statement is a multi-select control structure. An expression is evaluated once and compared to 'constants'. In case of equality, the 'statements' that come after the 'constant' are processed. In switch 'statements' can only ordinary data types (ie, 'int', 'long', char, short, etc.) can be used.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/bitwise_operators/bitwisecompoundor?rev=1708041856&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:16+02:00</dc:date>
        <title>compound bitwise OR (|=)</title>
        <link>https://code-reference.com/arduino/bitwise_operators/bitwisecompoundor?rev=1708041856&amp;do=diff</link>
        <description>Description

The compound bitwise OR operator (|=) is often used with a variable and a constant to “set” (set to 1) particular bits in a variable.

Syntax:


x |= y;   // equivalent to x = x | y; 

Parameters

x: a char, int or long variable

y: an integer constant or char, int, or long</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/fputwc?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>fputwc</title>
        <link>https://code-reference.com/c/wchar.h/fputwc?rev=1708041933&amp;do=diff</link>
        <description>fputwc


   #include &lt;wchar.h&gt;
   wint_t fputwc(wchar_t, FILE *);


Description

fputwc writes a single wide-character to the stream at the position of the file pointer and advances the pointer.

If the write was successful, the character that was written is returned. Otherwise, the function returns WEOF.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/interrupts/nointerrupts?rev=1708041864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:24+02:00</dc:date>
        <title>noInterrupts()</title>
        <link>https://code-reference.com/arduino/interrupts/nointerrupts?rev=1708041864&amp;do=diff</link>
        <description>Description

Disables interrupts (you can re-enable them with interrupts()).  Interrupts allow certain important tasks to happen in the background and are enabled by default.  Some functions will not work while interrupts are disabled, and incoming communication may be ignored.  Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical sections of code.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/mousey?rev=1708041951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:51+02:00</dc:date>
        <title>mousey</title>
        <link>https://code-reference.com/c/graphics.h/mousey?rev=1708041951&amp;do=diff</link>
        <description>mousey

Syntax of mousey


#include &quot;graphics.h&quot;
int mousey(void);
  

Description of mousey


The mousey function is available in the winbgim implementation of BGI
graphics. It returns the most recent y coordinate of the mouse within the
graphics window. Y-coordinates start with 0 at the top edge of the window
and increase to getmaxy( ) at the bottom edge of the window.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/math/max?rev=1708041861&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:21+02:00</dc:date>
        <title>max(x, y)</title>
        <link>https://code-reference.com/arduino/math/max?rev=1708041861&amp;do=diff</link>
        <description>Description

Calculates the maximum of two numbers.

Parameters

x: the first number, any data type

y: the second number, any data type

Returns

The larger of the two parameter values.

Example

sensVal = max(senVal, 20); // assigns sensVal to the larger of sensVal or 20
                           // (effectively ensuring that it is at least 20)</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures/break?rev=1708041848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:08+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/arduino/control_structures/break?rev=1708041848&amp;do=diff</link>
        <description>break is used to exit from a do, for, or while loop, bypassing the normal loop condition. It is also used to exit from a switch statement.

Example


for (x = 0; x &lt; 255; x ++)
{
    digitalWrite(PWMpin, x);
    sens = analogRead(sensorPin);  
    if (sens &gt; threshold){      // bail out on sensor detect
       x = 0;
       break;
    }  
    delay(50);
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>ftell</title>
        <link>https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff</link>
        <description>ftell


    long int ftell(FILE *stream);


Returns current file position for stream stream, or -1 on error.

C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 
int main( void )
{
    FILE *stream;
    int c;
 
    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Cannot open file.\n&quot;);
        return 1;
      }
 
    while((c = fgetc(stream) ) != EOF) {
        printf(&quot;position of pointer in the stream i…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/constants/progmem?rev=1708041856&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:16+02:00</dc:date>
        <title>PROGMEM</title>
        <link>https://code-reference.com/arduino/constants/progmem?rev=1708041856&amp;do=diff</link>
        <description>Store data in flash (program) memory instead of SRAM.  There's a description of the various  types of memory available on an Arduino board.

The PROGMEM keyword is a variable modifier, it should be used only with the datatypes defined in pgmspace.h. It tells the compiler “put this information into flash memory”, instead of into SRAM, where it would normally go.</description>
    </item>
    <item rdf:about="https://code-reference.com/java/loops/for?rev=1366269081&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-18T09:11:21+02:00</dc:date>
        <title>for</title>
        <link>https://code-reference.com/java/loops/for?rev=1366269081&amp;do=diff</link>
        <description>for ( init; condition; increment ){
    statements;    
    }


description of for

a for loop do statements while the condition is true/untrue, the increment counts the loop, it is possible to use more than 1 condition in the for loop

example 1 of for in java




package codereferececomjava;
 
public class CodeRefereceComJava {
 
 
    public static void main(String[] args) {
        
        int myOtherCount=5;
 
 
        for (int i = 0; i &lt;= myOtherCount; i++) {
            System.out.print…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/mbtowc?rev=1403877396&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-27T15:56:36+02:00</dc:date>
        <title>mbtowc</title>
        <link>https://code-reference.com/c/stdlib.h/mbtowc?rev=1403877396&amp;do=diff</link>
        <description>mbtowc


    #include &lt;stdlib.h&gt;
        int mbtowc(whcar_t *pwc, const char *str, size_t n);
 

Description

converts a multibyte character into a wide character.
  &lt;setlocale.h&gt; &lt;wchar.h&gt; is for this example nessesary
mbtowc C Sourcecode Example


/* 
 * mbtowc example code
 * http://code-reference.com/c/stdlib.h/mbtowc 
 */
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt; 
#include &lt;wchar.h&gt; /*  wint_t*/
#include &lt;locale.h&gt; /* setlocale*/

int main(void)
{
  wchar_t wchar;
  char string[] = &quot;mbtowc: 測試…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/mousex?rev=1708041952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:52+02:00</dc:date>
        <title>mousex</title>
        <link>https://code-reference.com/c/graphics.h/mousex?rev=1708041952&amp;do=diff</link>
        <description>mousex

Syntax of mousex


#include &quot;graphics.h&quot;
int mousex(void);
  

Description of mousex


The mousex function is available in the winbgim implementation of BGI
graphics. It returns the most recent x coordinate of the mouse within the
graphics window. X-coordinates start with 0 at the left edge of the
window and increase to getmaxx( ) at the right edge of the window.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_data_seek?rev=1362002576&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:02:56+02:00</dc:date>
        <title>mysql_data_seek</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_data_seek?rev=1362002576&amp;do=diff</link>
        <description>void mysql_data_seek(MYSQL_RES *result, my_ulonglong offset)


description of mysql_data_seek

mysql_data_seek find any row in a result set.

the offset value is a row number from 0 to mysql_num_rows (result) -1.
As required for this feature is that the result set structure contains the entire result set, can mysql_data_seek() may be used only in conjunction with mysql_store_result(), not with mysql_use_result().</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/putimage?rev=1708041953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:53+02:00</dc:date>
        <title>putimage</title>
        <link>https://code-reference.com/c/graphics.h/putimage?rev=1708041953&amp;do=diff</link>
        <description>putimage

Syntax of putimage


#include &lt;graphics.h&gt;
void putimage(int left, int top, void *bitmap, int op);
  

Description of putimage


putimage puts the bit image previously saved with getimage back onto the
screen, with the upper left corner of the image placed at (left,top).
bitmap points to the area in memory where the source image is stored.
The op parameter to putimage specifies a combination operator that
controls how the color for each destination pixel onscreen is computed,
based on …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_fetch_field?rev=1362094056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T00:27:36+02:00</dc:date>
        <title>mysql_fetch_field</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_fetch_field?rev=1362094056&amp;do=diff</link>
        <description>MYSQL_FIELD *mysql_fetch_field(MYSQL_RES *result)


description of mysql_fetch_field

mysql_fetch_field provides a structure MYSQL_FIELD with information about the current field of quantitative results and advance the field pointer to the next field</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/bitwise_operators/bitwisecompoundand?rev=1708041855&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:15+02:00</dc:date>
        <title>compound bitwise AND (&amp;=)</title>
        <link>https://code-reference.com/arduino/bitwise_operators/bitwisecompoundand?rev=1708041855&amp;do=diff</link>
        <description>Description

The compound bitwise AND operator (&amp;=) is often used with a variable and a constant to force particular bits in a variable to the LOW state (to 0). This is often referred to in programming guides as “clearing” or “resetting” bits.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>tmpfile</title>
        <link>https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff</link>
        <description>FILE *tmpfile(void);


tmpfile

Creates temporary file which will be removed when closed or on normal program termination. 

standard mode (mode “wb+”)

Returns stream or NULL on failure.


C Sourcecode Example


/* 
 * tmpfile example code
 * http://code-reference.com/c/stdio.h/tmpfile 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void )
{
  FILE *stream = tmpfile();
  char c;

  if( stream == NULL ) {
  perror(&quot;Er…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fprintf</title>
        <link>https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff</link>
        <description>int fprintf(FILE *stream, const char *format, ...);


Converts (according to format format) and writes output to stream stream. Number of characters written, or negative value on error, is returned.



optional flag:



-  left adjust

+  always sign

0  zero pad

#  Alternate form: for conversion character o, first digit will be zero, for [xX], prefix 0x or 0X to non-zero value, for [eEfgG], always decimal point, for [gG] trailing zeros not removed. 



optional minimum width: if specified as *…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getpixel?rev=1439308760&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-08-11T17:59:20+02:00</dc:date>
        <title>getpixel</title>
        <link>https://code-reference.com/c/graphics.h/getpixel?rev=1439308760&amp;do=diff</link>
        <description>getpixel

Syntax of getpixel


#include &lt;graphics.h&gt;
unsigned getpixel(int x, int y);
  

Description of getpixel


getpixel gets the color of the pixel located at (x,y).


Example of getpixel


/* getpixel example */

#include &lt;graphics.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;stdio.h&gt;
#include &lt;conio.h&gt;
#include &lt;dos.h&gt;

#define PIXEL_COUNT 1000
#define DELAY_TIME  100  /* in milliseconds */

int main(void)
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;
   int i, x, y, col…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/random_numbers/randomseed?rev=1708041857&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:17+02:00</dc:date>
        <title>randomSeed(seed)</title>
        <link>https://code-reference.com/arduino/random_numbers/randomseed?rev=1708041857&amp;do=diff</link>
        <description>Description

randomSeed() initializes the pseudo-random number generator, causing it to start at an arbitrary point in its random sequence. This sequence, while very long, and random, is always the same.

If it is important for a sequence of values generated by random() to differ, on subsequent executions of a sketch, use randomSeed() to initialize the random number generator with a fairly random input, such as analogRead() on an unconnected pin.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/time.h/clock?rev=1708041884&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:44+02:00</dc:date>
        <title>clock</title>
        <link>https://code-reference.com/c/time.h/clock?rev=1708041884&amp;do=diff</link>
        <description>clock


    clock_t clock(void);


Description

The clock() function returns the processor time since the program started, or -1 if that information is unavailable.

To convert the return value to seconds, divide it by CLOCKS_PER_SEC. (Note: if your compiler is POSIX compliant, then CLOCKS_PER_SEC is always defined as 1000000.)</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/feof?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>feof</title>
        <link>https://code-reference.com/c/stdio.h/feof?rev=1708041940&amp;do=diff</link>
        <description>int feof(FILE *stream);


checks that are applied to a stream or data or the end-of-file indicator is set.

Used to determine if the end of the file (stream) specified, has been reached. When a file is being read sequentially one line, or one piece of data at a time (by means of a loop, say), this is the function you check every iteration, to see if the end of the file has come.

Returns non-zero if end-of-file indicator is set for stream stream.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/interrupts/interrupts?rev=1708041864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:24+02:00</dc:date>
        <title>interrupts()</title>
        <link>https://code-reference.com/arduino/interrupts/interrupts?rev=1708041864&amp;do=diff</link>
        <description>Description

Re-enables interrupts (after they've been disabled by noInterrupts()).  Interrupts allow certain important tasks to happen in the background and are enabled by default.  Some functions will not work while interrupts are disabled, and incoming communication may be ignored.  Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical sections of code.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fputc</title>
        <link>https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff</link>
        <description>fputc


    int fputc(int ch, FILE *stream); 


Writes ch, to stream stream. Returns ch, or EOF on error.

C Sourcecode Example


/* 
 * fputc example code
 * http://code-reference.com/c/stdio.h/fputc 
 */


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 
int main( void )
{
  FILE *stream, *stream_target;
  char c;
 
  if((stream=fopen(&quot;test.txt&quot;,&quot;rb&quot;))==NULL) {
    printf(&quot;Cannot open file.\n&quot;);
    return 1;
  }
 
  if((stream_targ…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/imagesize?rev=1708041951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:51+02:00</dc:date>
        <title>imagesize</title>
        <link>https://code-reference.com/c/graphics.h/imagesize?rev=1708041951&amp;do=diff</link>
        <description>imagesize

Syntax of imagesize


#include &lt;graphics.h&gt;
unsigned imagesize(int left, int top, int right, int bottom);
  

Description of imagesize


imagesize determines the size of the memory area required to store a bit
image. If the size required for the selected image is greater than or
equal to 64K - 1 bytes, imagesize returns 0xFFFF (-1).</description>
    </item>
</rdf:RDF>
