<?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-19T01:05:50+02:00</dc:date>
        <items>
            <rdf:Seq>
                <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/java/control_structures/switch?rev=1365602129&amp;do=diff"/>
                <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/cpp/control_structures/switch?rev=1708041872&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/java/control_structures/break?rev=1708041837&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?rev=1358463006&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/keywords/break?rev=1708041961&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/control_structures?rev=1708040896&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/objective-c/examples/uiwebview_using_local_resources?rev=1408407926&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/c/keywords?rev=1358818247&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types/string?rev=1708041852&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strncmp?rev=1361062552&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/goto?rev=1708041847&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/c/graphics.h/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/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/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/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/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/java/control_structures/break?rev=1708041837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:03:57+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/java/control_structures/break?rev=1708041837&amp;do=diff</link>
        <description>break;


continiue breaks a loop at a given point and exit the loop

example of break in java


package codereferececomjava;

public class CodeRefereceComJava {

 
    public static void main(String[] args) {

        int i;
        for (i=42;i&lt;=45;i++) {
            if (i==43) break;
            System.out.println(&quot;The answer is probably &quot;+i);
        }
 
    }
}</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?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/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/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/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/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/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/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/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/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/arduino/data_types/string?rev=1708041852&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:12+02:00</dc:date>
        <title>string</title>
        <link>https://code-reference.com/arduino/data_types/string?rev=1708041852&amp;do=diff</link>
        <description>Description

Text strings can be represented in two ways.  you can use the String data type, which is part of the core as of version 0019, or you can make a string out of an array of type char and null-terminate it.  This page described the latter method. For more details on the String object, which gives you more functionality at the cost of more memory, see the String object page.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strncmp?rev=1361062552&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T01:55:52+02:00</dc:date>
        <title>strncmp</title>
        <link>https://code-reference.com/c/string.h/strncmp?rev=1361062552&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;

int strncmp(const char *str1, const char *str2, size_t n);


The strcmp() function compares the two strings s1 and s2.  It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. The strncmp() function is similar, except it only compares the first (at most) n characters of s1 and s2.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures/goto?rev=1708041847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:07+02:00</dc:date>
        <title>goto</title>
        <link>https://code-reference.com/arduino/control_structures/goto?rev=1708041847&amp;do=diff</link>
        <description>Transfers program flow to a labeled point in the program

Syntax

label: 

goto label;   sends program flow to the label

====Tip   ====
The use of goto is discouraged in C programming, and some authors of C programming books claim that the goto statement is never necessary, but used judiciously, it can simplify certain programs. The reason that many programmers frown upon the use of goto is  that with the unrestrained use of goto statements, it is easy to create a program with undefined program…</description>
    </item>
</rdf:RDF>
