<?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-04-25T13:40:38+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/switchcase?rev=1708041848&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/java/control_structures/switch?rev=1365602129&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/switch?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types/booleanvariables?rev=1708041851&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/c/graphics.h/clearmouseclick?rev=1708041958&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/graphics.h/setmousequeuestatus?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/else?rev=1708041848&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/control_structures/case?rev=1358523699&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/break?rev=1708041961&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/case?rev=1358856230&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/default?rev=1358523684&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/examples/mysql_bruteforce?rev=1708041925&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/analog_io/analogreference?rev=1360951441&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/keywords/default?rev=1708041962&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/usb_leonardo_and_due_only/mousekeyboard?rev=1708041859&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/graphics.h/restorecrtmode?rev=1708041958&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/switch?rev=1708041963&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/graphics.h/mousey?rev=1708041951&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/arduino/time/delay?rev=1708041862&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/c/graphics.h/setgraphmode?rev=1708041949&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/c/graphics.h/ismouseclick?rev=1708041949&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/arduino/control_structures/switchcase?rev=1708041848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:08+02:00</dc:date>
        <title>switch / case statements</title>
        <link>https://code-reference.com/arduino/control_structures/switchcase?rev=1708041848&amp;do=diff</link>
        <description>Like if statements, switch...case controls the flow of programs by allowing programmers to specify different code that should be executed in various conditions.  In particular, a switch statement compares the value of a variable to the values specified in case statements.  When a case statement is found whose value matches that of the variable, the code in that case statement is run.</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/java/control_structures/switch?rev=1365602129&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T15:55:29+02:00</dc:date>
        <title>switch</title>
        <link>https://code-reference.com/java/control_structures/switch?rev=1365602129&amp;do=diff</link>
        <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/cpp/control_structures/switch?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>Switch</title>
        <link>https://code-reference.com/cpp/control_structures/switch?rev=1708041872&amp;do=diff</link>
        <description>Switch

----------

Switch is a loop that is used in c++ to find the many scenarios of an event or object. For example, let's test to see the many scenarios of if someone chooses an item from a menu.


#include &lt;iostream&gt;

int main() {
   int choice;

   cout &lt;&lt; &quot;Choose an option:&quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;1. OJ&quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;2. Milk&quot;&lt;&lt;endl;
   cout &lt;&lt; &quot;3. Water &quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;4. Soda&quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;5. Gatorade&quot; &lt;&lt; endl;
   
   cin &gt;&gt; choice;
   
   // notice the {}, these are…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/data_types/booleanvariables?rev=1708041851&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:11+02:00</dc:date>
        <title>boolean</title>
        <link>https://code-reference.com/arduino/data_types/booleanvariables?rev=1708041851&amp;do=diff</link>
        <description>A boolean holds one of two values, true or false.  (Each boolean variable occupies one byte of memory.)

Example


int LEDpin = 5;       // LED on pin 5
int switchPin = 13;   // momentary switch on 13, other side connected to ground

boolean running = false;

void setup()
{
  pinMode(LEDpin, OUTPUT);
  pinMode(switchPin, INPUT);
  digitalWrite(switchPin, HIGH);      // turn on pullup resistor
}

void loop()
{
  if (digitalRead(switchPin) == LOW)
  {  // switch is pressed - pullup keeps pin high …</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/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/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/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/arduino/control_structures/else?rev=1708041848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:08+02:00</dc:date>
        <title>if / else</title>
        <link>https://code-reference.com/arduino/control_structures/else?rev=1708041848&amp;do=diff</link>
        <description>if/else allows greater control over the flow of code than the basic if statement, by allowing multiple tests to be grouped together. For example, an analog input could be tested and one action taken if the input was less than 500, and another action taken if the input was 500 or greater. The code would look like this:</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/control_structures/case?rev=1358523699&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-18T16:41:39+02:00</dc:date>
        <title>case (switch)</title>
        <link>https://code-reference.com/c/control_structures/case?rev=1358523699&amp;do=diff</link>
        <description>see switch</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/break?rev=1708041961&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:01+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/c/keywords/break?rev=1708041961&amp;do=diff</link>
        <description>The break keyword causes loops to end and is used in switch statements to end a case.

Syntax

break;</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/case?rev=1358856230&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-22T13:03:50+02:00</dc:date>
        <title>switch</title>
        <link>https://code-reference.com/c/keywords/case?rev=1358856230&amp;do=diff</link>
        <description>since C 89

-&gt; control structures switch</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/default?rev=1358523684&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-18T16:41:24+02:00</dc:date>
        <title>default (switch)</title>
        <link>https://code-reference.com/c/control_structures/default?rev=1358523684&amp;do=diff</link>
        <description>see switch</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/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/analog_io/analogreference?rev=1360951441&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T19:04:01+02:00</dc:date>
        <title>analogReference(type)</title>
        <link>https://code-reference.com/arduino/analog_io/analogreference?rev=1360951441&amp;do=diff</link>
        <description>Description

Configures the reference voltage used for analog input (i.e. the value used as the top of the input range).  The options are:

* DEFAULT: the default analog reference of 5 volts (on 5V Arduino boards) or 3.3 volts (on 3.3V Arduino boards)
* INTERNAL: an built-in reference, equal to 1.1 volts on the ATmega168 or ATmega328 and 2.56 volts on the ATmega8 (not available on the Arduino Mega)
* INTERNAL1V1: a built-in 1.1V reference (Arduino Mega only)
* INTERNAL2V56: a built-in 2.56V refe…</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/keywords/default?rev=1708041962&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:02+02:00</dc:date>
        <title>c:keywords:default</title>
        <link>https://code-reference.com/c/keywords/default?rev=1708041962&amp;do=diff</link>
        <description>see switch</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/usb_leonardo_and_due_only/mousekeyboard?rev=1708041859&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:19+02:00</dc:date>
        <title>Mouse and Keyboard libraries</title>
        <link>https://code-reference.com/arduino/usb_leonardo_and_due_only/mousekeyboard?rev=1708041859&amp;do=diff</link>
        <description>These core libraries allow an Arduino Leonardo, Micro, or Due board to appear as a native Mouse and/or Keyboard to a connected computer.

A word of caution on using the Mouse and Keyboard libraries: if the Mouse or Keyboard library is constantly running, it will be difficult to program your board. Functions such as Mouse.move() and Keyboard.print() will move your cursor or send keystrokes to a connected computer and should only be called when you are ready to handle them. It is recommended to us…</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/graphics.h/restorecrtmode?rev=1708041958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:58+02:00</dc:date>
        <title>restorecrtmode</title>
        <link>https://code-reference.com/c/graphics.h/restorecrtmode?rev=1708041958&amp;do=diff</link>
        <description>restorecrtmode

Syntax of restorecrtmode


#include &lt;graphics.h&gt;
void restorecrtmode(void);
  

Description of restorecrtmode


restorecrtmode restores the original video mode detected by initgraph.
This function can be used in conjunction with setgraphmode to switch back
and forth between text and graphics modes. textmode should not be used
for this purpose; use it only when the screen is in text mode, to change
to a different text mode.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/switch?rev=1708041963&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:03+02:00</dc:date>
        <title>c:keywords:switch</title>
        <link>https://code-reference.com/c/keywords/switch?rev=1708041963&amp;do=diff</link>
        <description>see switch</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/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/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/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/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/c/graphics.h/setgraphmode?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>setgraphmode</title>
        <link>https://code-reference.com/c/graphics.h/setgraphmode?rev=1708041949&amp;do=diff</link>
        <description>setgraphmode

Syntax of setgraphmode


#include &lt;graphics.h&gt;
void setgraphmode(int mode);
  

Description of setgraphmode


setgraphmode selects a graphics mode different than the default one set
by initgraph. mode must be a valid mode for the current device driver.
setgraphmode clears the screen and resets all graphics settings to their
defaults (current position, palette, color, viewport, and so on).
You can use setgraphmode in conjunction with restorecrtmode to switch
back and forth between t…</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/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>
</rdf:RDF>
