<?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-25T20:21:51+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/arduino/constants/progmem?rev=1708041856&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h?rev=1708040903&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/java/io/printstream/format?rev=1366011044&amp;do=diff"/>
                <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/c/mysql/mysql.h/mysql_escape_string?rev=1362010868&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/how_to/string_substitutions?rev=1533315125&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h?rev=1708040904&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strcoll?rev=1708041974&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strtok?rev=1361639445&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h?rev=1362000920&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/snprintf?rev=1361804212&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/cscanf?rev=1359922510&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/strtod?rev=1708041892&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strrchr?rev=1361062063&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types/stringobject?rev=1708041852&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/atol?rev=1708041891&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/atoi?rev=1708041891&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/gets?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/strtol?rev=1708041889&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/atof?rev=1708041888&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/c/string.h/memchr?rev=1708041974&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/wctomb?rev=1708041891&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/strtoul?rev=1708041891&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strcspn?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strchr?rev=1420913459&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/wcstombs?rev=1708041888&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/wchar.h/fgetws?rev=1708041934&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/cgets?rev=1359922865&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memset?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strxfrm?rev=1361066569&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memcmp?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strcpy?rev=1396667049&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/replace?rev=1708042325&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vsprintf?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_hex_string?rev=1361832386&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strncat?rev=1378308016&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_real_escape_string?rev=1361836035&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strcat?rev=1361067308&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memmove?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/outtextxy?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h?rev=1708040903&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/println?rev=1708042322&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/toarray?rev=1366267847&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/outtext?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strncpy?rev=1361062528&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/define?rev=1359054534&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/toupper?rev=1708041924&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vfscanf?rev=1361805756&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/datatypes?rev=1515738546&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/cputs?rev=1359922049&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strspn?rev=1361063627&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/tolower?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strerror?rev=1361058590&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/fputws?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/sprintf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/btowc?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vprintf?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/how_to?rev=1533247083&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/control_structures/if?rev=1708041977&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/kbhit?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/time?rev=1362601246&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/ctime?rev=1362601677&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/quick_reference?rev=1449750950&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/fgets?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/wiki/syntax?rev=1501533425&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/settextjustify?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/mblen?rev=1708041890&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vsscanf?rev=1361806054&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextline?rev=1365581665&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/c/graphics.h/getch?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner?rev=1369672518&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strcmp?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/touppercase?rev=1365581482&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/tolowercase?rev=1365581466&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringwithformat?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/charat?rev=1365581451&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memcpy?rev=1708041975&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/objective-c/foundation.framework/nsstring.h/stringbyappendingformat?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setfillstyle?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isdigit?rev=1708041922&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isupper?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getcolor?rev=1708041954&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/string.h/strstr?rev=1361064726&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/time.h/ctime?rev=1708041883&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/textwidth?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isspace?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/utilities/sizeof?rev=1708041864&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vfprintf?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/islower?rev=1708041924&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isalpha?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isgraph?rev=1708041922&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strpbrk?rev=1361060696&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsarray.h/initwithobjects?rev=1708042341&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/initwindow?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/iscntrl?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/ispunct?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/getpass?rev=1360368631&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/object/equals?rev=1365581557&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isprint?rev=1708041873&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/print?rev=1708042322&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isgraph?rev=1708041873&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isalnum?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isxdigit?rev=1708041924&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isupper?rev=1708041923&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/c/graphics.h/getbkcolor?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isascii?rev=1708041922&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c?rev=1515738548&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/islower?rev=1708041875&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h?rev=1360415761&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingstring?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isprint?rev=1708041922&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isxdigit?rev=1708041875&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isdigit?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/ispunct?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextdouble?rev=1365581618&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isspace?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isascii?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/iscntrl?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/cprintf?rev=1439031039&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/puts?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isblank?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isblank?rev=1708041874&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/stdio.h/sscanf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isalpha?rev=1708041875&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isalnum?rev=1708041875&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/rename?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/remove?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmaxcolor?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash?rev=1533246328&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/java/io/printstream?rev=1362625494&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/isequaltostring?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getpalettesize?rev=1708041953&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/control_structures/continue?rev=1708041837&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/printf?rev=1408637388&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/main?rev=1515738546&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_error?rev=1362006439&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/graphics.h/getx?rev=1708041954&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/control_structures/if?rev=1365582955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextlong?rev=1365581680&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setlinestyle?rev=1708041950&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/variable_scope_and_qualifiers/const?rev=1708041853&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/variables/global_variable?rev=1708041842&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/classes/extends?rev=1366963338&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/math/random?rev=1708042323&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/time.h/asctime?rev=1708041883&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/c/graphics.h/getmaxmode?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_info?rev=1361892865&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/getenv?rev=1708041890&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/graphics.h/graphresult?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/playground/c/stdio.h/printf?rev=1501372178&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/control_structures/else?rev=1708041838&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strlen?rev=1396667300&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/c/graphics.h/gety?rev=1708041954&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmodename?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/math/round?rev=1365581526&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextfloat?rev=1365581634&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/system/exit?rev=1708042324&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/bsearch?rev=1708041888&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/c/examples/ftp_scanner?rev=1708041925&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h?rev=1708041981&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/variable_scope_and_qualifiers/variabledeclaration?rev=1360957675&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsstring.h/caseinsensitivecompare?rev=1708042344&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextshort?rev=1365581695&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/grapherrormsg?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/variables/array?rev=1366179085&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/return?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/descriptionwithlocale?rev=1708042347&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextint?rev=1365581650&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmaxheight?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/bash/how_to/tests?rev=1533268704&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/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/c/string.h?rev=1708040903&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:23+02:00</dc:date>
        <title>string.h Overview</title>
        <link>https://code-reference.com/c/string.h?rev=1708040903&amp;do=diff</link>
        <description>string.h Overview
 Name                 Description              memchr memchr  memcmp memcmp  memcpy memcpy  memmove memmove  memset memset  strcat strcat  strchr strchr  strcmp strcmp  strcoll strcoll  strcpy strcpy  strcspn strcspn  strerror strerror  strlen strlen  strncat strncat  strncmp strncmp  strncpy strncpy  strpbrk strpbrk  strrchr strrchr  strspn strspn  strstr strstr  strtok strtok  strxfrm strxfrm 
automatically generated overview ...

Change this page if you have a better descrip…</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/java/io/printstream/format?rev=1366011044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-15T09:30:44+02:00</dc:date>
        <title>format</title>
        <link>https://code-reference.com/java/io/printstream/format?rev=1366011044&amp;do=diff</link>
        <description>format args to the format string format and write the result to the stream


format(String format, Object... args);

return value: stream

 sign  Description  0 if the place is not busy they prints a 0	# if the place is not busy they prints nothing	. decimal separator Separates and decimal places.	, Groups the numbers (a group is as large as the distance from ”,” to ”.”).	; Delimiter. To the left of the pattern is positive, the right for negative numbers.	- The default character for the negative…</description>
    </item>
    <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/c/mysql/mysql.h/mysql_escape_string?rev=1362010868&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-28T01:21:08+02:00</dc:date>
        <title>mysql_escape_string</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_escape_string?rev=1362010868&amp;do=diff</link>
        <description>unsigned long mysql_escape_string(MYSQL *mysql, char *to, const char *from, unsigned long length)


description of mysql_escape_string

mysql_escape_string escape a mysql string

” will be escaped
; will not be escaped

! mysql_escape_string is outdated use mysql_real_escape_string instead !</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/how_to/string_substitutions?rev=1533315125&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-03T18:52:05+02:00</dc:date>
        <title>bash: &quot;How To&quot; ... utilize string substitutions</title>
        <link>https://code-reference.com/bash/how_to/string_substitutions?rev=1533315125&amp;do=diff</link>
        <description>bash: &quot;How To&quot; ... utilize string substitutions
  string parameter substitution  operationwhatcodeexample using:
export TST='abcabcaa'result from
(abcabcaa)removefirst occurrence of substring 'xyz' in stringSTR=${STR/'xyz'}echo ${TST/'bc'}aabcaa
 (abcabcaa)substring 'xyz' everywhere in stringSTR=${STR//'xyz'}echo ${TST//'bc'}aaaa
 (abcabcaa)substring 'xyz' at very beginning of string (prefix)STR=${STR#'xyz'}echo ${TST#'abca'}bcaa
 (abcabcaa)substring 'xyz' at very end of string (suffix)STR=${STR…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h?rev=1708040904&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:24+02:00</dc:date>
        <title>stdlib.h</title>
        <link>https://code-reference.com/c/stdlib.h?rev=1708040904&amp;do=diff</link>
        <description>Numeric conversions
 Function                 Description                 atof        converts a string to a floating-point value    atoi        converts a string to a integer value    atol        converts a string to a long integer value    strtod      converts a string to a double value    strtol      converts a string to a long integer value    strtoul     converts a string to a unsigned integer value   
Mathematical functions
 Function                 Description                 abs        c…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strcoll?rev=1708041974&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:14+02:00</dc:date>
        <title>strchr</title>
        <link>https://code-reference.com/c/string.h/strcoll?rev=1708041974&amp;do=diff</link>
        <description>int strcoll(const char *str1, const char *str2); 


 strcoll compares 2 strings

C Sourcecode Example


/* 
 * strcoll c example code
 * http://code-reference.com/c/string.h/strcoll 
 */
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */
 
#include &lt;string.h&gt;
 
int main( void ) {
 
char string[] = &quot;am i the same&quot;;
char string2[] = &quot;i whant to be the same&quot;;
char string3[] = &quot;am i the same&quot;;
 
if( strcoll(string,string2) != 0 )
  printf( &quot;%s…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:00+02:00</dc:date>
        <title>Print Writer</title>
        <link>https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff</link>
        <description>----------

The PrintWriter class is a simple way of writing to files in Java io. It can be used in many ways and offers a great deal of methods inside the class. Some of these are quite common methods throughout the language itself. I will go through them step by step, giving examples for each. Let's get started:</description>
    </item>
    <item rdf:about="https://code-reference.com/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/mysql/mysql.h?rev=1362000920&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T22:35:20+02:00</dc:date>
        <title>mysql Overview</title>
        <link>https://code-reference.com/c/mysql/mysql.h?rev=1362000920&amp;do=diff</link>
        <description>mysql Overview
 Name                 Description              mysql_affected_rows mysql_affected_rows  mysql_autocommit mysql_autocommit  mysql_change_user mysql_change_user  mysql_character_set_name mysql_character_set_name  mysql_close mysql_close  mysql_commit mysql_commit  mysql_connect mysql_connect  mysql_create_db mysql_create_db  mysql_data_seek mysql_data_seek  mysql_debug mysql_debug  mysql_drop_db mysql_drop_db  mysql_dump_debug_info mysql_dump_debug_info  mysql_eof mysql_eof  mysql_e…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/snprintf?rev=1361804212&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T15:56:52+02:00</dc:date>
        <title>snprintf</title>
        <link>https://code-reference.com/c/stdio.h/snprintf?rev=1361804212&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int snprintf(char *restrict s, size_t n, const char *restrict format, ...);


description of snprintf

The function snprintf() format the format specified by arguments of the printf format specification and writes the result to the specified string by dest. size specifies the maximum length of the string at least. The string in least receive in any case a terminating NULL character. In no…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/cscanf?rev=1359922510&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T21:15:10+02:00</dc:date>
        <title>cscanf</title>
        <link>https://code-reference.com/c/conio.h/cscanf?rev=1359922510&amp;do=diff</link>
        <description>int cscanf(char *format[, address, ...]); 


description of cscanf

reads input from the console and reformat it.



cscanf reads directly from the console of a series of input fields one character at. 

Then each field is formatted according to the format specifier is passed cscanf in the format designated by the pointer format string.
Finally stores cscanf formatted input to the direction indicated by the argument address memory address and shows the input on the screen.
There must be as many …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/strtod?rev=1708041892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:52+02:00</dc:date>
        <title>strtod</title>
        <link>https://code-reference.com/c/stdlib.h/strtod?rev=1708041892&amp;do=diff</link>
        <description>strtod


    #include &lt;stdlib.h&gt;
    double strtod(const char *str, char **endptr);


strtod converts a string into a double variable

strtod c code example


/* 
 * strtod example code
 * http://code-reference.com/c/stdlib.h/strtod
 */
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;

int main ( void )
{
  char string[] =&quot;2040 strtod string 5&quot;;
  char *endptr;
  double number;

  number = strtod(string, &amp;endptr);
  printf(&quot;String is %s\n&quot;,string);
  printf(&quot;Double is %f\n&quot;, number);

  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strrchr?rev=1361062063&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T01:47:43+02:00</dc:date>
        <title>strrchr</title>
        <link>https://code-reference.com/c/string.h/strrchr?rev=1361062063&amp;do=diff</link>
        <description>strrchr


#include &lt;stdlib.h&gt;
char *strrchr(const char *str, int c);


description of strrchr

strrchr () is a string function that finds the last occurrence of a character in a string. As a result, the pointer comes to this character or the null pointer if this character is not found.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/data_types/stringobject?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/stringobject?rev=1708041852&amp;do=diff</link>
        <description>Description

The String class, part of the core as of version 0019, allows you to use and manipulate strings of text in more complex ways than  character arrays do. You can concatenate Strings, append to them, search for and replace substrings, and more.  It takes more memory than a simple character array, but it is also more useful.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/atol?rev=1708041891&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:51+02:00</dc:date>
        <title>atol</title>
        <link>https://code-reference.com/c/stdlib.h/atol?rev=1708041891&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
     long int atol(const char *str); 


    convert a string to long integer

C Sourcecode Example


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

#include &lt;stdlib.h&gt;

int main(void){

    char string[]=&quot;1234&quot;;
    long int  i;
    
printf(&quot;string = %s \n&quot;, string );
printf(&quot;int = %li \n&quot;, atol(string) );

i = atol(string);
i = i + i;
printf(&quot;i + i = %li\n&quot;, i);

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/atoi?rev=1708041891&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:51+02:00</dc:date>
        <title>atoi</title>
        <link>https://code-reference.com/c/stdlib.h/atoi?rev=1708041891&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    int atoi(const char *str);


    convert a string to integer

C Sourcecode Example


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

#include &lt;stdlib.h&gt;

int main(void){

    char string[]=&quot;1234&quot;;
    int  i;
    
printf(&quot;string = %s \n&quot;, string );
printf(&quot;int = %i \n&quot;, atoi(string) );

i = atoi(string);
i = i + i;
printf(&quot;i + i = %i\n&quot;, i);

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/gets?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>gets</title>
        <link>https://code-reference.com/c/stdio.h/gets?rev=1708041941&amp;do=diff</link>
        <description>gets


    char *gets(char *str); 


Copies characters from stdin into str until newline encountered, end-of-file reached, or error occurs. Does not copy newline. NUL-terminates s. Returns str, or NULL on end-of-file or error. Should not be used because of the potential for buffer overflow.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/strtol?rev=1708041889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:49+02:00</dc:date>
        <title>strtol</title>
        <link>https://code-reference.com/c/stdlib.h/strtol?rev=1708041889&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    long int strtol(const char *str, char **endptr, int base);


strtol Converting a string to an long integer

str: the string to be converted

endptr: address of a pointer variable that points to the last character read, so the character that is not owned by a number

base: base between 2 and 36



Be found unprefixed numbers, these numbers in base 10 are accepted.

If the base '0 'is specified, the strings make a reference to the basis used

(leading “0x” for hexadecimal, …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/atof?rev=1708041888&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:48+02:00</dc:date>
        <title>atof</title>
        <link>https://code-reference.com/c/stdlib.h/atof?rev=1708041888&amp;do=diff</link>
        <description>atof


    #include &lt;stdlib.h&gt;
    double atof(const char *str);


Description


       The atof() function converts the initial portion of the string pointed to by
       nptr to double.  The behavior is the same as

           strtod(nptr, (char **) NULL);

       except that atof() does not detect errors.</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/c/string.h/memchr?rev=1708041974&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:14+02:00</dc:date>
        <title>c:string.h:memchr</title>
        <link>https://code-reference.com/c/string.h/memchr?rev=1708041974&amp;do=diff</link>
        <description>void *memchr(const void *str, int c, size_t n);


 memchr finds the firs occurrence of a character and return a pointer to it.


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

#include &lt;string.h&gt;

int main( void ) {

char string[] = &quot;Find the firs occurrence of a character and count it !&quot;;
if( memchr(string,'o',strlen(string)) == NULL ) {
     printf( &quot;Cant find o character\n&quot; ); 
   }
    else {
      printf( &quot;found character o at po…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/wctomb?rev=1708041891&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:51+02:00</dc:date>
        <title>wctomb</title>
        <link>https://code-reference.com/c/stdlib.h/wctomb?rev=1708041891&amp;do=diff</link>
        <description>wctomb


    #include &lt;stdlib.h&gt;
    int wctomb(char *str, wchar_t wchar); 
 

Description

wctomb converts a wide character to a multibyte character in the string.

wctomb maximum MB_CUR_MAX sign stores in a string.

The behavior of wctomb is affected by the LC_CTYPE category of the current locale</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/strtoul?rev=1708041891&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:51+02:00</dc:date>
        <title>strtoul</title>
        <link>https://code-reference.com/c/stdlib.h/strtoul?rev=1708041891&amp;do=diff</link>
        <description>strtoul


    #include &lt;stdlib.h&gt;
    unsigned long int strtoul(const char *str, char **endptr, int base);


strtoul Converting a string to an unsigned long integer

str: the string to be converted

endptr: address of a pointer variable that points to the last character read, so the character that is not owned by a number

base: base between 2 and 36



Be found unprefixed numbers, these numbers in base 10 are accepted.

If the base '0 'is specified, the strings make a reference to the basis use…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strcspn?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>strcspn</title>
        <link>https://code-reference.com/c/string.h/strcspn?rev=1708041975&amp;do=diff</link>
        <description>#include &lt;string.h&gt;
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    size_t strcspn(const char *str1, const char *str2);


Description

strcspn find the first occurrence of any character in str2

strcspn C Example Code


/* 
 * strcspn c example code
 * http://code-reference.com/c/string.h/strcspn 
 */
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
#include &lt;stdlib.h&gt; /* for strlen */
int main ( void )
{
  char string[] = &quot;te=st@code-reference.com&quot;;
  char search_keys[] = &quot;?! ,$%:;&amp;/()=&quot;;
  …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strchr?rev=1420913459&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-10T19:10:59+02:00</dc:date>
        <title>strchr</title>
        <link>https://code-reference.com/c/string.h/strchr?rev=1420913459&amp;do=diff</link>
        <description>char *strchr(const char *str, int c);


 strchr finds the first occurrence of a character and return a pointer to it.

C Sourcecode Example


/* 
 * strchr c example code
 * http://code-reference.com/c/string.h/strchr 
 */
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#include &lt;string.h&gt;

int main( void ) {
char *ptr;
char string[] = &quot;Find the first occurrence of a character and count it !&quot;;
if( strchr(string,'o') == NULL )
  printf(…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/wcstombs?rev=1708041888&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:48+02:00</dc:date>
        <title>wcstombs</title>
        <link>https://code-reference.com/c/stdlib.h/wcstombs?rev=1708041888&amp;do=diff</link>
        <description>wcstombs


    #include &lt;stdlib.h&gt;
    size_t wcstombs(char *str, const wchar_t *pwcs, size_t n); 
 

Description

wcstombs converts a wide character string into a multibyte character string.

conversion stops after the size n is reached.


The behavior of wcstombs is affected by the LC_CTYPE category of the current locale</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/wchar.h/fgetws?rev=1708041934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:34+02:00</dc:date>
        <title>fgetws</title>
        <link>https://code-reference.com/c/wchar.h/fgetws?rev=1708041934&amp;do=diff</link>
        <description>fgetws


   #include &lt;wchar.h&gt;
   wchar_t *fgetws(wchar_t *restrict, int, FILE *stream);


Description

fgetws reads wide characters into “*restrict” from “stream”

fgetws will also stop reading if it encounters a newline character. In which case,

the newline character will put into the string as long as the number of characters

does not exceed “length - 1”. 



The function will also stop reading if it reaches the end of the stream. 

If an error or EOF occurs, the function returns NULL inste…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/cgets?rev=1359922865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T21:21:05+02:00</dc:date>
        <title>cgets</title>
        <link>https://code-reference.com/c/conio.h/cgets?rev=1359922865&amp;do=diff</link>
        <description>char *cgets(char *str);


description of cgets

Reads a string from the console.



cgets reads a string of characters from the console and stores the string (and the string length) in the location pointed to by str.



cgets reads as long as a sign to mark the combination carriage return / line feed (CR / LF) occurs or the maximum number of characters has been read. When reading cgets the CR / LF combination is replaced by the combination of characters \ 0 (null terminator) before the string is…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/memset?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>memset</title>
        <link>https://code-reference.com/c/string.h/memset?rev=1708041975&amp;do=diff</link>
        <description>memset


    #include &lt;stdlib.h&gt;
    void *memset(void *str, int c, size_t n); 


memset Fill / overwrite memory region with certain characters

str = Target memory block /c string

c = value byte that is used to overwrite

n = number of chars to be copied</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strxfrm?rev=1361066569&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T03:02:49+02:00</dc:date>
        <title>strxfrm</title>
        <link>https://code-reference.com/c/string.h/strxfrm?rev=1361066569&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
size_t strxfrm(char *str1, const char *str2, size_t n);


description of strxfrm

The function strxfrm () transforms a null-terminated C string according to local settings. Thus the string can be safely compared using strcmp () with another. The transformed string is stored in a new string.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/memcmp?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>c:string.h:memcmp</title>
        <link>https://code-reference.com/c/string.h/memcmp?rev=1708041975&amp;do=diff</link>
        <description>int memcmp(const void *str1, const void *str2, size_t n);


check the size of a string and string2 and return a value
  less 0 	string1 lesser than string2
  equal 0 	string1 equal string2
  greater 0 	string1 greater than string2
 
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#include &lt;string.h&gt;
#define MAX 42
int main ( void )
{
  char string1[MAX]=&quot;Teststring&quot;;
  char string2[MAX]=&quot;test&quot;;
  int i;
  i = memcmp ( string1, string2,…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strcpy?rev=1396667049&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-05T05:04:09+02:00</dc:date>
        <title>strcpy</title>
        <link>https://code-reference.com/c/string.h/strcpy?rev=1396667049&amp;do=diff</link>
        <description>#include &lt;string.h&gt;
char *strcpy(char *str1, const char *str2);


Description

strcpy copy a c string pointed by str2 into the array pointed by str1 including the terminating null character.

strcpy C Example Code


/* 
 * strcpy c example code
 * http://code-reference.com/c/string.h/strcpy 
 */
#include &lt;stdio.h&gt; /* including standard library */
#include &lt;string.h&gt;
 
int main( void ) 
{
  char string[] = &quot;copy me&quot;; /* the size of the array is calculated automatically */
  char string2[20];

 
 …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/string/replace?rev=1708042325&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:05+02:00</dc:date>
        <title>replace</title>
        <link>https://code-reference.com/java/lang/string/replace?rev=1708042325&amp;do=diff</link>
        <description>public String replace(CharSequence target, CharSequence replacement)


description of replace

this method is used to replace a char Sequence

example of replace in java


package replace;

public class ReplaceString {

    public static void main(String[] args) {

        String str = &quot;Hello&quot;;
    
        str = str.replace(&quot;el&quot;, &quot;xx&quot;);
        System.out.println(&quot;String after replacement :&quot;+  str );
    
    
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vsprintf?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>vsprintf</title>
        <link>https://code-reference.com/c/stdio.h/vsprintf?rev=1708041943&amp;do=diff</link>
        <description>vsprintf


    int vsprintf(char *str, const char *format, va_list arg);


generate a string from a format string.
For this purpose, the buffer that is passed as first argument, the format string is copied and replaces the substitution symbol with the given parameters.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_hex_string?rev=1361832386&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T23:46:26+02:00</dc:date>
        <title>mysql_hex_string</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_hex_string?rev=1361832386&amp;do=diff</link>
        <description>unsigned long mysql_hex_string(char *to, const char *from, unsigned long length)


description of mysql_hex_string

mysql_hex_string is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of mysql_hex_string c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strncat?rev=1378308016&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-09-04T17:20:16+02:00</dc:date>
        <title>strncat</title>
        <link>https://code-reference.com/c/string.h/strncat?rev=1378308016&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    char *strncat(char *dest, const char *src, size_t n);


appends the src string to the dest string, overwriting
the null byte ('\0') at the end of dest, and then adds a terminating null
byte. The strings may not overlap, and the dest string must have enough space for the result.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_real_escape_string?rev=1361836035&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T00:47:15+02:00</dc:date>
        <title>mysql_real_escape_string</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_real_escape_string?rev=1361836035&amp;do=diff</link>
        <description>unsigned long mysql_real_escape_string(MYSQL *mysql, char *to, const char *from, unsigned long length)


description of mysql_real_escape_string

mysql_real_escape_string is in work by code-reference.com 

if you are faster... don't hasitate and add it</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strcat?rev=1361067308&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T03:15:08+02:00</dc:date>
        <title>strcat</title>
        <link>https://code-reference.com/c/string.h/strcat?rev=1361067308&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
char *strcat(char *str1, const char *str2);


description of strcat

The strcat function concatenates two strings.

str1 = target string to be added to source

str2 = source string to copied, including '\ 0' at the end of destination. 

null byte of destination will be overwritten.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/memmove?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>memmove</title>
        <link>https://code-reference.com/c/string.h/memmove?rev=1708041975&amp;do=diff</link>
        <description>memmove


    #include &lt;stdlib.h&gt;
    void *memmove(void *str1, const void *str2, size_t n);


str1: target memory block (at least size bytes in size)

str2: source memory block (at least size bytes in size)

n: number of bytes to be copied (The type size_t corresponds usually int))</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/outtextxy?rev=1708041951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:51+02:00</dc:date>
        <title>outtextxy</title>
        <link>https://code-reference.com/c/graphics.h/outtextxy?rev=1708041951&amp;do=diff</link>
        <description>outtextxy

Syntax of outtextxy


#include &lt;graphics.h&gt;
void outtextxy(int x, int y, char *textstring);
  

Description of outtextxy


outtextxy displays a text string in the viewport at the given position
(x, y), using the current justification settings and the current font,
direction, and size.
To maintain code compatibility when using several fonts, use textwidth
and textheight to determine the dimensions of the string.
If a string is printed with the default font using outtext or outtextxy,
a…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h?rev=1708040903&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:23+02:00</dc:date>
        <title>stdio.h</title>
        <link>https://code-reference.com/c/stdio.h?rev=1708040903&amp;do=diff</link>
        <description>Function                 Description                 BUFSIZ  (integer value) size of the buffer     clearerr      Clears end-of-file and error indicators for a stream    fclose        Close the current stream / file    feof          Checks for the end-of-file    ferror        Checks for a stream error    fflush        Synchronises an output stream with the actual file    fgetc         Reads a byte/char from a file stream    fgetpos       Gets the stream position indicator    fgets         Reads …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printstream/println?rev=1708042322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:02+02:00</dc:date>
        <title>println</title>
        <link>https://code-reference.com/java/io/printstream/println?rev=1708042322&amp;do=diff</link>
        <description>This line outputs the string parameter to the console with a line return.


println(parameter): void

parameters are:
boolean, char, char[], double, float, int, long, Object, String



Language Example


        System.out.println(&quot;Hello&quot;);
        System.out.println(&quot;I am a programmer&quot;);
        
        System.out.println(&quot; 3 + 4 = &quot; + 3+4 ); // appends 3 and 4 to the string
        System.out.println(&quot; 3 + 4 = &quot; + (3+4) ); // calculate 3+4 before the string &quot;7&quot; added</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/string/toarray?rev=1366267847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-18T08:50:47+02:00</dc:date>
        <title>toCharArray</title>
        <link>https://code-reference.com/java/lang/string/toarray?rev=1366267847&amp;do=diff</link>
        <description>public char[] toCharArray()


description of toCharArray()

converts a string to a new character array

example of toCharArray in java


package codereferececomjava;

public class CodeRefereceComJava {


    public static void main(String[] args) {
        String str = &quot;some Text&quot;;
        char[] text;
       
        
        System.out.println(str); // print the String

        text = str.toCharArray();
        for (int i = 0; i &lt;= text.length - 1; i++) {
            
        System.out.printl…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/outtext?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>outtext</title>
        <link>https://code-reference.com/c/graphics.h/outtext?rev=1708041957&amp;do=diff</link>
        <description>outtext

Syntax of outtext


#include &lt;graphics.h&gt;
void outtext(char *textstring);
  

Description of outtext


outtext displays a text string in the viewport, using the current font,
direction, and size.
outtext outputs textstring at the current position (CP). If the
horizontal text justification is LEFT_TEXT and the text direction is
HORIZ_DIR, the CP's x-coordinate is advanced by textwidth(textstring).
Otherwise, the CP remains unchanged.
To maintain code compatibility when using several font…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strncpy?rev=1361062528&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T01:55:28+02:00</dc:date>
        <title>strncpy</title>
        <link>https://code-reference.com/c/string.h/strncpy?rev=1361062528&amp;do=diff</link>
        <description>#include &lt;string.h&gt;
char *strncpy(char *str1, const char *str2, size_t n);


Copy a given Number of Chars into another string.


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

#include &lt;string.h&gt;
#define MAX 5

int main( void )
{
    char string1[MAX];
    char string2[]=&quot;Test 12345&quot;;

    strncpy(string1, string2, MAX);     /* Copy MAX chars from string2 to string1 */
    string1[MAX]='\0';                  /* Terminate String */
   …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/define?rev=1359054534&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-24T20:08:54+02:00</dc:date>
        <title>#define</title>
        <link>https://code-reference.com/c/preprocessor/define?rev=1359054534&amp;do=diff</link>
        <description>syntax


/* define a symbolic constant */
#define identifier replacement list

/* define a Macro */
#define identifier (identifier_list) replacement list


description

The #define directive replaces any additional occurrences of identifier in the source code by the specified list as a replacement string.
This replacement affects only terminal symbols (ie independent occurrence of identifier in the source code), but not strings that appear in a comment section of another identifier or part of a …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/toupper?rev=1708041924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:24+02:00</dc:date>
        <title>toupper</title>
        <link>https://code-reference.com/c/ctype.h/toupper?rev=1708041924&amp;do=diff</link>
        <description>toupper


    #include &lt;ctype.h&gt;
    int toupper( int char );

  Returns upper case type of the character
C Sourcecode Example


#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 )
{
  char string[30];
  /* write the Chars &quot;i&quot; and &quot;t&quot; uppercase in the buffer &quot;string&quot; */
  sprintf(string,&quot;%c whant %chis in uppercase&quot;,toupper('i'), toupper('t'));
  printf(&quot;%s\n&quot;,string);

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vfscanf?rev=1361805756&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T16:22:36+02:00</dc:date>
        <title>vfscanf</title>
        <link>https://code-reference.com/c/stdio.h/vfscanf?rev=1361805756&amp;do=diff</link>
        <description>int vfscanf ( FILE * stream, const char * format, va_list arg );


description of vfscanf

The vscanf(), vfscanf(), and vsscanf() functions shall be equivalent to the scanf(), fscanf(), and sscanf() functions, respectively, except that instead of being called with a variable number of arguments, they are called with an argument list as defined in the &lt;stdarg.h&gt; header. These functions shall not invoke the va_end macro. As these functions invoke the va_arg macro, the value of ap after the return …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/datatypes?rev=1515738546&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:06+02:00</dc:date>
        <title>Declaration Dataypes</title>
        <link>https://code-reference.com/java/datatypes?rev=1515738546&amp;do=diff</link>
        <description>package datatypes;

public class DataTypes {

    public static void main(String[] args) {
        // primitiv Datatypes
        
        boolean aa = true;     // 1 bit
        char bb = 'A';         // 2 Bytes
        char cc = 65;          // 2 Bytes
        byte dd = 12;          // 1 Byte -128 - +127
        short ee = 234;        // 2 Bytes -32768 - +32767
        int ff = 4711;         // 4 Bytes
        long gg = 34567;       // 8 Bytes
        float hh = 3.14f;      // 4 Bytes
        d…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/cputs?rev=1359922049&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T21:07:29+02:00</dc:date>
        <title>cputs</title>
        <link>https://code-reference.com/c/conio.h/cputs?rev=1359922049&amp;do=diff</link>
        <description>int cputs(const char *str);


description of cputs

Returns a string to the screen.



cputs is the null-terminated string from str in the current text window. The newline character is not here appended to the string.



Depending _directvideo of the global variable, the string is written either directly or through a BIOS call to screen memory.
To contrast to fprintf and printf, not translated cputs line character (\ n) in the combination of characters carriage return / line feed (\ r \ n).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strspn?rev=1361063627&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T02:13:47+02:00</dc:date>
        <title>strspn</title>
        <link>https://code-reference.com/c/string.h/strspn?rev=1361063627&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
size_t strspn(const char *str1, const char *str2);


strspn C Sourcecode Example


/* 
 * strspn example code
 * http://code-reference.com/c/string.h/strspn
 */
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
    
int main( void )
{
    const char string[] = &quot;the answer is 42&quot;;
    int pos = strspn(string, &quot;the answer = 42&quot;);
    printf(&quot;different char at position :%d\n&quot;,pos+1);
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/tolower?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>tolower</title>
        <link>https://code-reference.com/c/ctype.h/tolower?rev=1708041923&amp;do=diff</link>
        <description>#include &lt;ctype.h&gt;
    int tolower( int char );

  Returns lower case type of the character
C Sourcecode Example


#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 )
{
  char string[30];
  /* write the Chars &quot;i&quot; and &quot;t&quot; lowercase in the buffer &quot;string&quot; */
  sprintf(string,&quot;%c WHANT %cHIS IN LOWERCASE&quot;,tolower('I'), tolower('T'));
  printf(&quot;%s\n&quot;,string);

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strerror?rev=1361058590&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T00:49:50+02:00</dc:date>
        <title>strerror</title>
        <link>https://code-reference.com/c/string.h/strerror?rev=1361058590&amp;do=diff</link>
        <description>#include &lt;string.h&gt;
//#include &lt;windows.h&gt; /* uncomment this for Windows */
char *strerror(int errnum);


Description

returns a pointer to a string that describes the error code passed in the argument errnum

compile this example with the compiler flag -lm</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/fputws?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>fputws</title>
        <link>https://code-reference.com/c/wchar.h/fputws?rev=1708041933&amp;do=diff</link>
        <description>fputws


   #include &lt;wchar.h&gt;
   int fputws(const wchar_t *string, FILE *stream);


Description

fputws writes the wide-character string to the stream, at the position of the file pointer and advances the pointer.

If the write was successful, a nonnegative integer value is returned. Otherwise, the function returns WEOF.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/sprintf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>sprintf</title>
        <link>https://code-reference.com/c/stdio.h/sprintf?rev=1708041941&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    int sprintf(char *str, const char *format, ...);


Like fprintf, but output written into string s, which must be large enough to hold the output, rather than to a stream. Output is NUL-terminated. Returns length (excluding the terminating NUL).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/btowc?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>btowc</title>
        <link>https://code-reference.com/c/wchar.h/btowc?rev=1708041928&amp;do=diff</link>
        <description>btowc


   #include &lt;wchar.h&gt;
   wint_t btowc(int);


Description

convert a byte to wide character
btowc returns the wide two byte character “wchar_t” converted from the single byte “string” character (char). 

return value

If the argument is not a valid multibyte sequence of length 1 btowc returns WEOF.

output is affected by the current LC_TYPE locale.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vprintf?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>vprintf</title>
        <link>https://code-reference.com/c/stdio.h/vprintf?rev=1708041943&amp;do=diff</link>
        <description>int vprintf(const char *format, va_list arg);


Equivalent to printf with variable argument list replaced by arg, which must have been initialised by the va_start macro (and may have been used in calls to va_arg).

is used to generate a string from a format string and then print to standard output stdout.
vprintf can understood as a combination of puts and vsprintf.</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/how_to?rev=1533247083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-02T23:58:03+02:00</dc:date>
        <title>Overview: bash &quot;How To&quot; snippets</title>
        <link>https://code-reference.com/bash/how_to?rev=1533247083&amp;do=diff</link>
        <description>Example                 Description              bash: &quot;How To&quot; ... utilize string substitutions  string substitutions (replace, extract, ...)  bash: &quot;How To&quot; ... utilize tests  tests (string is in list, string contains substring,  ...)  bash: &quot;How To&quot; ... running commands  run command from variable, check execution result, check if run by root, ...</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/control_structures/if?rev=1708041977&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:17+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/objective-c/control_structures/if?rev=1708041977&amp;do=diff</link>
        <description>if ( condition == true ){
    command;    
    }


if example 1 objective c


    NSString *string = @&quot;i wouldn't want to go anywhere without my wonderful towel&quot;;
    
    if ([string isEqualToString:@&quot;i wouldn't want to go anywhere without my wonderful towel&quot;]) {
        NSInteger a=42;
        NSLog(@&quot;correct %i&quot;, a);
    }
    
    else if ([string isEqualToString:@&quot;42&quot;]) {
        NSLog(@&quot;Sorry but the answer is not correct&quot;);
    }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/kbhit?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>kbhit</title>
        <link>https://code-reference.com/c/graphics.h/kbhit?rev=1708041948&amp;do=diff</link>
        <description>kbhit

Syntax of kbhit


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

Description of kbhit


The kbhit function is available in the winbgim implementation of BGI
graphics. You do not need to include conio.h; just include graphics.h.
The function returns true (non-zero) if there is a character in the input
buffer ready to read. Otherwise it returns false. In order to work, the
user must click in the graphics window (i.e., the Windows focus must be
in the graphics window).</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/time?rev=1362601246&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-06T21:20:46+02:00</dc:date>
        <title>cpp:time</title>
        <link>https://code-reference.com/cpp/time?rev=1362601246&amp;do=diff</link>
        <description>Time Manipulation
clock        Clock program (function )                       difftime     return difference between two times (function ) mktime       Convert tm structure to time_t (function )      time         Get current time (function )                    
Conversion</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/ctime?rev=1362601677&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-06T21:27:57+02:00</dc:date>
        <title>cpp:ctime</title>
        <link>https://code-reference.com/cpp/ctime?rev=1362601677&amp;do=diff</link>
        <description>Time Manipulation Functions
clock        Clock program                                   difftime     return difference between two times             mktime       Convert tm structure to time_t                  time         Get current time                                
Conversion Functions</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/quick_reference?rev=1449750950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-12-10T13:35:50+02:00</dc:date>
        <title>Bash quick reference</title>
        <link>https://code-reference.com/bash/quick_reference?rev=1449750950&amp;do=diff</link>
        <description>Bash quick reference
Command	Description	Example     &amp;	Run the previous command in the background	ls &amp; &amp;&amp;	Logical AND	if [ “$foo” -ge “0” ] &amp;&amp; [ “$foo” -le “9”] ||	Logical OR	if [ “$foo” -lt “0” ] || [ “$foo” -gt “9” ] (not in Bourne shell) ^	Start of line	grep ”^foo” $	End of line	grep “foo$” =	String equality (cf. -eq) if [ “$foo” = “bar” ] !	Logical NOT	if [ “$foo” != “bar” ] $$	PID of current shell	echo “my PID = $$” $!	PID of last background command	ls &amp; echo “PID of ls = $!” $?	exit status…</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/fgets?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>fgets</title>
        <link>https://code-reference.com/c/stdio.h/fgets?rev=1708041940&amp;do=diff</link>
        <description>fgets


    char *fgets(char *str, int n, FILE *stream);


Copies characters from (input) stream stream to sstr, stopping when n-1 characters copied, newline copied, end-of-file reached or error occurs. If no error, str is NUL-terminated. Returns NULL on end-of-file or error, str otherwise.</description>
    </item>
    <item rdf:about="https://code-reference.com/wiki/syntax?rev=1501533425&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-07-31T22:37:05+02:00</dc:date>
        <title>Formatting Syntax</title>
        <link>https://code-reference.com/wiki/syntax?rev=1501533425&amp;do=diff</link>
        <description>DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the Edit this page button at the top or bottom of the page. If you want to try something, just use the playground page. The simpler markup is easily accessible via quickbuttons, too.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/settextjustify?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>settextjustify</title>
        <link>https://code-reference.com/c/graphics.h/settextjustify?rev=1708041947&amp;do=diff</link>
        <description>settextjustify

Syntax of settextjustify


#include &lt;graphics.h&gt;
void settextjustify(int horiz, int vert);
  

Description of settextjustify


Text output after a call to settextjustify is justified around the
current position (CP) horizontally and vertically, as specified. The
default justification settings are LEFT_TEXT (for horizontal) and
TOP_TEXT (for vertical). The enumeration text_just in graphics.h provides
names for the horiz and vert settings passed to settextjustify.
==== Description …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/mblen?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>mblen</title>
        <link>https://code-reference.com/c/stdlib.h/mblen?rev=1708041890&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    int mblen(const char *str, size_t n); 
 

Description

Determines how many bytes are used for a character.
  &lt;setlocale.h&gt; is for this example nessesary 
mblen C Sourcecode Example 1


/* 
 * mblen example code
 * http://code-reference.com/c/stdlib.h/mblen 
 */

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

int main(void)
{
   setlocale(LC_ALL,&quot;&quot;); 
 …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vsscanf?rev=1361806054&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T16:27:34+02:00</dc:date>
        <title>vsscanf</title>
        <link>https://code-reference.com/c/stdio.h/vsscanf?rev=1361806054&amp;do=diff</link>
        <description>int vsscanf(const char *restrict s, const char *restrict format, va_list arg);


description of vsscanf

The vscanf(), vfscanf(), and vsscanf() functions shall be equivalent to the scanf(), fscanf(), and sscanf() functions, respectively, except that instead of being called with a variable number of arguments, they are called with an argument list as defined in the &lt;stdarg.h&gt; header. These functions shall not invoke the va_end macro. As these functions invoke the va_arg macro, the value of ap aft…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextline?rev=1365581665&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:14:25+02:00</dc:date>
        <title>nextLine()</title>
        <link>https://code-reference.com/java/util/scanner/nextline?rev=1365581665&amp;do=diff</link>
        <description>public String nextLine()


return the scanned content from the input

example nextLine() in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        String line;
                
        System.out.print(&quot;Please enter what you want: &quot;);
        line = scan.nextLine(); // read keyboard buffer
 …</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/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/util/scanner?rev=1369672518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-05-27T18:35:18+02:00</dc:date>
        <title>Scanner()</title>
        <link>https://code-reference.com/java/util/scanner?rev=1369672518&amp;do=diff</link>
        <description>Reads input from a Keyboard, or a Device

CODE_SIGN_IDENTITY

--verify

--file-list

--display -r- Terminal.app

example Scanner in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        double currency, amount, exchangeRate;
        String currencyName, newCurrency;
                
       …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strcmp?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>strcmp</title>
        <link>https://code-reference.com/c/string.h/strcmp?rev=1708041975&amp;do=diff</link>
        <description>#include &lt;string.h&gt;
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    int strcmp (const char *s1, const char *s)


Description

strcmp Compares 2 C strings.

If both strings are identical, the return value of strcmp is 0. 

If the string s1 less than s2, the return value is less than 0, 

and s1 is greater than s2, then the return value greater than 0</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/string/touppercase?rev=1365581482&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:11:22+02:00</dc:date>
        <title>toUpperCase</title>
        <link>https://code-reference.com/java/lang/string/touppercase?rev=1365581482&amp;do=diff</link>
        <description>toUpperCase()
toUpperCase(locale)


description of toUpperCase

returns the String, converted to uppercase.

example of toUpperCase in java



package lang;

public class Lang {

    public static void main(String[] args) {
        
        String str = &quot;test 1234&quot;;
        
        str = str.toUpperCase();
        // str = str.toUpperCase(Locale.SIMPLIFIED_CHINESE); // for Simplified Chinese
        
        System.out.println(str+&quot; in uppercase&quot;);
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:17+02:00</dc:date>
        <title>data types Overview</title>
        <link>https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff</link>
        <description>data types Overview
 Name                 Description              array array  booleanvariables booleanvariables  byte byte  char char  double double  float float  int int  long long  short short  string string  stringobject stringobject  unsignedchar unsignedchar  unsignedint unsignedint  unsignedlong unsignedlong  void void  word word 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/string/tolowercase?rev=1365581466&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:11:06+02:00</dc:date>
        <title>toLowerCase</title>
        <link>https://code-reference.com/java/lang/string/tolowercase?rev=1365581466&amp;do=diff</link>
        <description>toLowerCase()
toLowerCase(locale);




description of toLowerCase

returns the String, converted to lowerspace.

example of toLowerCase in java



package lang;

public class Lang {

    public static void main(String[] args) {
        
        String str = &quot;TEST 1234&quot;;
        
        str = str.toLowerCase();
        // str = str.toLowerCase(Locale.SIMPLIFIED_CHINESE); // for Simplified Chinese
        
        System.out.println(str+&quot; in lowercase&quot;);
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringwithformat?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>stringWithFormat</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringwithformat?rev=1708042344&amp;do=diff</link>
        <description>stringWithFormat

    
    + (id)stringWithFormat:(NSString *)format, ...    


Returns a string created by using a given format string as a template into which the remaining argument values are substituted

ObjC Sourcecode Example

     
    int a= 42;
        
        // string composed of single varable
       
        NSString *myString=[NSString stringWithFormat:@&quot;the answer to life the universe and everything is %i&quot;, a];
        
        NSLog(@&quot;MyString: %@&quot;, myString);
        
       
 …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/string/charat?rev=1365581451&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:10:51+02:00</dc:date>
        <title>charAt</title>
        <link>https://code-reference.com/java/lang/string/charat?rev=1365581451&amp;do=diff</link>
        <description>charAt(int index)


description of charAt

returns char value at the specified index of  string.

example of charAt in java



package lang;

public class Lang {

    public static void main(String[] args) {
        
        String str = &quot;test 1234&quot;;
        char chr;
        
        chr = str.charAt(1);
        
        System.out.println(chr+&quot; is the 2 char&quot;);
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/memcpy?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>memcpy</title>
        <link>https://code-reference.com/c/string.h/memcpy?rev=1708041975&amp;do=diff</link>
        <description>memcpy


    void *memcpy(void *str1, const void *str2, size_t n); 


Copy a string into another variable
important here is to give the size of the string


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

#include &lt;string.h&gt;

int main ( void )
{
  char source[20]=&quot;Test 1234 ! :D&quot;;
  char dest[20];
  memcpy (dest,source,strlen(source)+1);
  printf (&quot;Value of Destination is %s\n&quot;,dest);
  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/objective-c/foundation.framework/nsstring.h/stringbyappendingformat?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>stringByAppendingFormat</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingformat?rev=1708042344&amp;do=diff</link>
        <description>- (NSString *)stringByAppendingFormat:(NSString *)format, …   


Returns a string made by appending to the receiver a string constructed from a given format string and the following arguments.

ObjC Sourcecode Example

  
    for(int a=0; a&lt;5; a++)
        { 
	    NSString *cycle=@&quot;Pass&quot;;
            
            cycle=[cycle stringByAppendingFormat:@&quot;%i&quot;, a];
            
            NSLog(@&quot;%@&quot;, cycle);
        }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setfillstyle?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>setfillstyle</title>
        <link>https://code-reference.com/c/graphics.h/setfillstyle?rev=1708041947&amp;do=diff</link>
        <description>setfillstyle

Syntax of setfillstyle


#include &lt;graphics.h&gt;
void setfillstyle(int pattern, int color);
  

Description of setfillstyle


setfillstyle sets the current fill pattern and fill color. To set a user-
defined fill pattern, do not give a pattern of 12 (USER_FILL) to
setfillstyle; instead, call setfillpattern.
If invalid input is passed to setfillstyle, graphresult returns -1
(grError), and the current fill pattern and fill color remain unchanged.
Note: The EMPTY_FILL style is like a so…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isdigit?rev=1708041922&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:22+02:00</dc:date>
        <title>isdigit</title>
        <link>https://code-reference.com/c/ctype.h/isdigit?rev=1708041922&amp;do=diff</link>
        <description>int isdigit(int chr);


tests if a character a digit

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test\n-!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isdigit(string[i]) != 0 )
      {
       printf(&quot;Character %i is a digit\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isupper?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>isupper</title>
        <link>https://code-reference.com/cpp/cctype/isupper?rev=1708041874&amp;do=diff</link>
        <description>isupper


    int isupper(int chr);


tests wheather a char is in uppercase

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isupper(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is uppercase&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getcolor?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>getcolor</title>
        <link>https://code-reference.com/c/graphics.h/getcolor?rev=1708041954&amp;do=diff</link>
        <description>getcolor

Syntax of getcolor


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

Description of getcolor


getcolor returns the current drawing color. The drawing color is the
value to which pixels are set when lines and so on are drawn. For
example, in CGAC0 mode, the palette contains four colors: the background
color, light green, light red, and yellow. In this mode, if getcolor
returns 1, the current drawing color is light green.</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/string.h/strstr?rev=1361064726&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T02:32:06+02:00</dc:date>
        <title>strstr</title>
        <link>https://code-reference.com/c/string.h/strstr?rev=1361064726&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
char *strstr(const char *str1, const char *str2);


strstr C Sourcecode Example


/* 
 * strstr example code
 * http://code-reference.com/c/string.h/strstr
 */
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
    
int main ( void )
{
   char str[] = &quot;42 is the result or ? but what was the question&quot;;
   char *ptr;
   // set the Pointer ptr to &quot;or ?&quot;
   ptr = strstr (str, &quot;or ?&quot;);
   // replace the text with &quot;yes&quot;
   strncpy (ptr, &quot;yes&quot;, 3);
   printf(&quot;%s\n&quot;,str);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/time.h/ctime?rev=1708041883&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:43+02:00</dc:date>
        <title>ctime</title>
        <link>https://code-reference.com/c/time.h/ctime?rev=1708041883&amp;do=diff</link>
        <description>ctime


#include &lt;time.h&gt;
char *ctime(const time_t *timer);


Description

The ctime() function shall convert the time pointed to by clock, representing time in seconds since the Epoch,
to local time in the form of a string. It shall be equivalent to</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/textwidth?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>textwidth</title>
        <link>https://code-reference.com/c/graphics.h/textwidth?rev=1708041955&amp;do=diff</link>
        <description>textwidth

Syntax of textwidth


#include &lt;graphics.h&gt;
int textwidth(char *textstring);
  

Description of textwidth


The graphics function textwidth takes the string length, current font
size, and multiplication factor, and determines the width of textstring
in pixels.
This function is useful for computing viewport widths, sizing a title to
make it fit on a graph or in a box, and so on.
Use textwidth to compute the width of strings, instead of doing the
computations manually. When you use this…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isspace?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>isspace</title>
        <link>https://code-reference.com/c/ctype.h/isspace?rev=1708041923&amp;do=diff</link>
        <description>isspace


    int isspace(int chr);


checks whether a character a space

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isspace(string[i]) != 0 )
      {
       printf(&quot;Character %i is a space\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/utilities/sizeof?rev=1708041864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:24+02:00</dc:date>
        <title>sizeof</title>
        <link>https://code-reference.com/arduino/utilities/sizeof?rev=1708041864&amp;do=diff</link>
        <description>Description

The sizeof operator returns the number of bytes in a variable type, or the number of bytes occupied by an array.

Syntax

sizeof(variable)

Parameters

variable: any variable type or array (e.g. int, float, byte)

Example code

The sizeof operator is useful for dealing with arrays (such as strings) where it is convenient to be able to change the  size of the array without breaking other parts of the program.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vfprintf?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>vfprintf</title>
        <link>https://code-reference.com/c/stdio.h/vfprintf?rev=1708041943&amp;do=diff</link>
        <description>int vfprintf(FILE *stream, const char *format, va_list arg);


Equivalent to fprintf with variable argument list replaced by arg, which must have been initialised by the va_start macro (and may have been used in calls to va_arg).

C Sourcecode Example


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

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

#include &lt;stdarg.h&gt;

int myfprintf( FILE *file, char c…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/islower?rev=1708041924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:24+02:00</dc:date>
        <title>islower</title>
        <link>https://code-reference.com/c/ctype.h/islower?rev=1708041924&amp;do=diff</link>
        <description>islower


    int islower(int chr);


checks whether a character is lowercase

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( islower(string[i]) != 0 )
      {
       printf(&quot;Character %i is a lower char\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isalpha?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>isalpha</title>
        <link>https://code-reference.com/c/ctype.h/isalpha?rev=1708041923&amp;do=diff</link>
        <description>isalpha


    int isalpha(int chr);


check if a character Alphabetical

C Sourcecode Example


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

#include &lt;ctype.h&gt;

int main ()
{
  int i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isalpha(string[i]) != 0 )
      {
       printf(&quot;Character %i is alphabetical\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isgraph?rev=1708041922&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:22+02:00</dc:date>
        <title>isgraph</title>
        <link>https://code-reference.com/c/ctype.h/isgraph?rev=1708041922&amp;do=diff</link>
        <description>isgraph


    int isgraph(int chr);


checks for any printing character except space (' ')

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test\n-!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isgraph(string[i]) != 0 )
      {
       printf(&quot;Character %i is a graph\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strpbrk?rev=1361060696&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T01:24:56+02:00</dc:date>
        <title>c:string.h:strpbrk</title>
        <link>https://code-reference.com/c/string.h/strpbrk?rev=1361060696&amp;do=diff</link>
        <description>#include &lt;string.h&gt;
char *strpbrk(char *s1, const char *s2);


    finds the first occurrence of a character.


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

#include &lt;string.h&gt;

int main( void ) {
    char string1[]=&quot;You can help with your experience to improve this page&quot;;
    char string2[]=&quot;help&quot;;

    printf(&quot;So please %s\n&quot;, strpbrk( string1, string2 ) );
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsarray.h/initwithobjects?rev=1708042341&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:21+02:00</dc:date>
        <title>initWithObjects</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsarray.h/initwithobjects?rev=1708042341&amp;do=diff</link>
        <description>initWithObjects

    

- (id)initWithObjects:(id)firstObj, ... NS_REQUIRES_NIL_TERMINATION;
 


Parameters
firstObj, secondObj...
Comma-separated objects ending with nil.

Return Value

An array initialized to include the parameters objects.

After an immutable array has been initialized in this way, it can’t be modified.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/initwindow?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>initwindow</title>
        <link>https://code-reference.com/c/graphics.h/initwindow?rev=1708041948&amp;do=diff</link>
        <description>initwindow

Syntax of initwindow


#include &quot;graphics.h&quot;
int initwindow(int width, int height, const char* title=&quot;Windows BGI&quot;,
int left=0, int top=0, bool dbflag=false, closeflag=true);
  

Description of initwindow


The initwindow function is available in the winbgim implementation of BGI
graphics. You do not need to include conio.h; just include graphics.h.
The function initializes the graphics system by opening a graphics window
of the specified size. The first two parameters (width and hei…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/iscntrl?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>iscntrl</title>
        <link>https://code-reference.com/c/ctype.h/iscntrl?rev=1708041923&amp;do=diff</link>
        <description>iscntrl


    int iscntrl(int chr);


Tests if a character a control character

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test\n-!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( iscntrl(string[i]) != 0 )
      {
       printf(&quot;Character %i is a control char\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/ispunct?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>ispunct</title>
        <link>https://code-reference.com/cpp/cctype/ispunct?rev=1708041874&amp;do=diff</link>
        <description>ispunct


    int ispunct(int chr);


tests whether a character is punctuation mark

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( ispunct(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a punctuation mark&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/getpass?rev=1360368631&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-09T01:10:31+02:00</dc:date>
        <title>getpass</title>
        <link>https://code-reference.com/c/conio.h/getpass?rev=1360368631&amp;do=diff</link>
        <description>char *getpass(const char *ptr);


description of getpass

reads a password

getpass reads a password from the system console, after the user is prompted for a password to a null-terminated string and display the password has been disabled. A pointer to a null-terminated string of up to eight characters (not counting null terminator) is returned.</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/object/equals?rev=1365581557&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:12:37+02:00</dc:date>
        <title>equals</title>
        <link>https://code-reference.com/java/lang/object/equals?rev=1365581557&amp;do=diff</link>
        <description>Compares object and indecates if they equal


equals(Object); 

return value: boolean true/false


equals Example in java



String a = &quot;42&quot;;
String b = &quot;144&quot;;

if ( a.equals(b) ) { 
    
    System.out.println(b+&quot; is the answer&quot;);
} else {

    System.out.println(b+&quot; is probably not the answer&quot;);
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isprint?rev=1708041873&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:33+02:00</dc:date>
        <title>isprint</title>
        <link>https://code-reference.com/cpp/cctype/isprint?rev=1708041873&amp;do=diff</link>
        <description>isprint


    int isprint(int chr);


tests if character is printable

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isprint(str[i]) != 0 )
      {
        cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is printable char&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printstream/print?rev=1708042322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:02+02:00</dc:date>
        <title>print</title>
        <link>https://code-reference.com/java/io/printstream/print?rev=1708042322&amp;do=diff</link>
        <description>Outputs the string parameter without a line return


print(parameter): void

parameters are:
boolean, char, char[], double, float, int, long, Object, String

return value: void


Language Example


        System.out.print(&quot;Hello&quot;);
        System.out.print(&quot;I am a programmer&quot;);</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isgraph?rev=1708041873&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:33+02:00</dc:date>
        <title>isgraph</title>
        <link>https://code-reference.com/cpp/cctype/isgraph?rev=1708041873&amp;do=diff</link>
        <description>isgraph


    int isgraph(int chr);


checks for any printing character except space (' ')

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test\n-!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isgraph(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a graph&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isalnum?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>isalnum</title>
        <link>https://code-reference.com/c/ctype.h/isalnum?rev=1708041923&amp;do=diff</link>
        <description>isalnum


    int isalnum(int chr);


check if a character Alphanumeric

C Sourcecode Example


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

#include &lt;ctype.h&gt;

int main ()
{
  int i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isalnum(string[i]) != 0 )
      {
       printf(&quot;Character %i is alphanumeric\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isxdigit?rev=1708041924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:24+02:00</dc:date>
        <title>isxdigit</title>
        <link>https://code-reference.com/c/ctype.h/isxdigit?rev=1708041924&amp;do=diff</link>
        <description>isxdigit


    int isxdigit(int chr);


checks whether a character is hexadecimal

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isxdigit(string[i]) != 0 )
      {
       printf(&quot;Character %i is a xdigit\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isupper?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>isupper</title>
        <link>https://code-reference.com/c/ctype.h/isupper?rev=1708041923&amp;do=diff</link>
        <description>isupper


    int isupper(int chr);


tests wheather a char is in uppercase

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isupper(string[i]) != 0 )
      {
       printf(&quot;Character %i is uppercase\n&quot;,i);
      }
    }
  return 0;
}</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/c/graphics.h/getbkcolor?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>getbkcolor</title>
        <link>https://code-reference.com/c/graphics.h/getbkcolor?rev=1708041957&amp;do=diff</link>
        <description>getbkcolor

Syntax of getbkcolor


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

Description of getbkcolor


getbkcolor returns the current background color. (See the table in
setbkcolor for details.)


Example of getbkcolor


/* getbkcolor example */

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

int main(void)
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;
   int bkcolor, midx, midy;
   char bkname[35];

   /…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isascii?rev=1708041922&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:22+02:00</dc:date>
        <title>isascii</title>
        <link>https://code-reference.com/c/ctype.h/isascii?rev=1708041922&amp;do=diff</link>
        <description>isascii


    int isascii(int char);


a macro that tests if a char a ASCII char (0-127) is

C Sourcecode Example


/* 
 * isascii example code
 * http://code-reference.com/c/ctype.h/isascii 
 */
#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 i;
  char string[11]=&quot;Test ÖÄ%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isascii(string[i]) != 0 )
      {
       printf(&quot;character %i isascii ch…</description>
    </item>
    <item rdf:about="https://code-reference.com/c?rev=1515738548&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:08+02:00</dc:date>
        <title>C Library</title>
        <link>https://code-reference.com/c?rev=1515738548&amp;do=diff</link>
        <description>Online reference for the C (standard) library

C is an imperative programming language that the computer scientist Dennis Ritchie developed in the early 1970s at Bell Laboratories for System Programming of the operating system Unix.

C Library Overview
 Library                 Description              assert.h Overview        assertion                 ctype.h         character classification  math.h          mathematical functions    mysql Overview   MySQL implementation      stdarg.h Overview  …</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/islower?rev=1708041875&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:35+02:00</dc:date>
        <title>islower</title>
        <link>https://code-reference.com/cpp/cctype/islower?rev=1708041875&amp;do=diff</link>
        <description>islower


    int islower(int chr);


checks whether a character is lowercase

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( islower(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a lower char&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h?rev=1360415761&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-09T14:16:01+02:00</dc:date>
        <title>c:conio.h</title>
        <link>https://code-reference.com/c/conio.h?rev=1360415761&amp;do=diff</link>
        <description>Library                 Description              cgets          Reads a string from the console.  clrscr         clears the screen and move the cursor to upper left corner  cprintf        prints formatted output to the screen.  cputs          Returns a string to the screen.  cscanf         reads input from the console and reformat it.  delline        delete the line containing the cursor and move all lines below it one line up. getch          prompts the user to press a character  getche        …</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingstring?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>stringByAppendingString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/stringbyappendingstring?rev=1708042344&amp;do=diff</link>
        <description>stringByAppendingString

    
    -(NSString *)stringByAppendingString:(NSString *)aString;    


Returns a new string made by appending a given string to the receiver.

ObjC Sourcecode Example

     
  NSString *cycle=@&quot;Pass&quot;;
        
        for(int a=0; a&lt;5; a++)
        {

            NSString *intValue=[NSString stringWithFormat:@&quot;%i&quot;, a];
            
            cycle=[cycle stringByAppendingString:intValue];
            
            NSLog(@&quot;%@&quot;, cycle);

        }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isprint?rev=1708041922&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:22+02:00</dc:date>
        <title>isprint</title>
        <link>https://code-reference.com/c/ctype.h/isprint?rev=1708041922&amp;do=diff</link>
        <description>isprint


    int isprint(int chr);


tests if character is printable

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isprint(string[i]) != 0 )
      {
       printf(&quot;Character %i is printable char\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isxdigit?rev=1708041875&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:35+02:00</dc:date>
        <title>isxdigit</title>
        <link>https://code-reference.com/cpp/cctype/isxdigit?rev=1708041875&amp;do=diff</link>
        <description>int isxdigit(int chr);


checks whether a character is hexadecimal

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isxdigit(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a xdigit&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isdigit?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>isdigit</title>
        <link>https://code-reference.com/cpp/cctype/isdigit?rev=1708041874&amp;do=diff</link>
        <description>isdigit


    int isdigit(int chr);


tests if a character a digit

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test\n-!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isdigit(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a digit&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/ispunct?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>ispunct</title>
        <link>https://code-reference.com/c/ctype.h/ispunct?rev=1708041923&amp;do=diff</link>
        <description>ispunct


    int ispunct(int chr);


tests whether a character is punctuation mark

C Sourcecode Example


#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 i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( ispunct(string[i]) != 0 )
      {
       printf(&quot;Character %i is a punctuation mark\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextdouble?rev=1365581618&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:13:38+02:00</dc:date>
        <title>nextDouble()</title>
        <link>https://code-reference.com/java/util/scanner/nextdouble?rev=1365581618&amp;do=diff</link>
        <description>public double nextDouble()


double scanned from the input

example nextDouble in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        double currency, amount, exchangeRate;
        String currencyName, newCurrency;
                
        System.out.print(&quot;Please enter the amount (with d…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isspace?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>isspace</title>
        <link>https://code-reference.com/cpp/cctype/isspace?rev=1708041874&amp;do=diff</link>
        <description>isspace


    int isspace(int chr);


checks whether a character a space

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isspace(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a space&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isascii?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>isascii</title>
        <link>https://code-reference.com/cpp/cctype/isascii?rev=1708041874&amp;do=diff</link>
        <description>int isascii(int char);


a macro that tests if a char a ASCII char (0-127) is

cpp Sourcecode Example


/* 
 * isascii example code
 * http://code-reference.com/cpp/cctype/isascii 
 */
#include &lt;iostream&gt; /* including standard library */
#include &lt;string&gt; 
#include &lt;cctype&gt;
 
using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test ÖÄ%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isascii(str) != 0 )
      {
       cout &lt;&lt; &quot;character&quot; &lt;&lt; i &lt;&lt; &quot; isascii&quot; &lt;&lt; endl;
      }
    }
  return …</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/iscntrl?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>iscntrl</title>
        <link>https://code-reference.com/cpp/cctype/iscntrl?rev=1708041874&amp;do=diff</link>
        <description>iscntrl


    int iscntrl(int chr);


Tests if a character a control character

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test\n-!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( iscntrl(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a control char&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/cprintf?rev=1439031039&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-08-08T12:50:39+02:00</dc:date>
        <title>cprintf</title>
        <link>https://code-reference.com/c/conio.h/cprintf?rev=1439031039&amp;do=diff</link>
        <description>int cprintf(const char *format[, argument, ...]);


description of cprintf

prints formatted output to the screen.



cprintf takes multiple arguments, applies to each of the format specifier contained in the format string, pointed to by
format, and prints the formatted data directly to the current text window on the screen. The number of available format
must match the number of arguments.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/puts?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>puts</title>
        <link>https://code-reference.com/c/stdio.h/puts?rev=1708041942&amp;do=diff</link>
        <description>puts


    int puts(const char *str);


Writes str (excluding terminating NUL) and a newline to stdout. Returns non-negative on success, EOF on error.

Example Source


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

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


int main ( void )
{
  char string [30] = &quot;This is a test for puts!&quot;;
  puts (string);
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isblank?rev=1708041923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:23+02:00</dc:date>
        <title>isblank</title>
        <link>https://code-reference.com/c/ctype.h/isblank?rev=1708041923&amp;do=diff</link>
        <description>isblank


    int isblank(int chr);


Test if a char a space, only in C99 Compilers available

isblank


#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 i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isblank(string[i]) != 0 )
      {
       printf(&quot;Character %i is a blank char\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isblank?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>isblank</title>
        <link>https://code-reference.com/cpp/cctype/isblank?rev=1708041874&amp;do=diff</link>
        <description>isblank


    int isblank(int chr);


Test if a char a space, only in C99 Compilers available

isblank


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isblank(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a blank char&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</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/stdio.h/sscanf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>c:stdio.h:sscanf</title>
        <link>https://code-reference.com/c/stdio.h/sscanf?rev=1708041941&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    int sscanf(const char *str, const char *format, ...);


sscanf reads formatted input text from the string addressed by source .

No file input is performed. Following the format in the argument list may be one or more additional pointers addressing storage where the input values are stored.</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isalpha?rev=1708041875&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:35+02:00</dc:date>
        <title>isalpha</title>
        <link>https://code-reference.com/cpp/cctype/isalpha?rev=1708041875&amp;do=diff</link>
        <description>int isalpha(int chr);


check if a character Alphabetical

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isalpha(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is alphabetical&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cctype/isalnum?rev=1708041875&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:35+02:00</dc:date>
        <title>isalnum</title>
        <link>https://code-reference.com/cpp/cctype/isalnum?rev=1708041875&amp;do=diff</link>
        <description>int isalnum(int chr);


check if a character Alphanumeric

cpp Sourcecode Example


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

using namespace std;
int main ()
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isalnum(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is alphanumeric&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/rename?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>rename</title>
        <link>https://code-reference.com/c/stdio.h/rename?rev=1708041942&amp;do=diff</link>
        <description>int rename(const char *old_filename, const char *new_filename);



Changes name of file oldname to newname. Returns non-zero on failure.

Example Source


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

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

#define FILENAME &quot;test_tmp.txt&quot;

int main ( void )
{
FILE *tmpfile;
char string[20];
tmpfile = fopen(FILENAME, &quot;w&quot;);

if (tmpfile == 0 ) {
perror(&quot;cannot ope…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/remove?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>remove</title>
        <link>https://code-reference.com/c/stdio.h/remove?rev=1708041944&amp;do=diff</link>
        <description>int remove(const char *filename);


Removes specified file. Returns non-zero on failure.

Example Source


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

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

#define FILENAME &quot;test_tmp.txt&quot;

int main ( void )
{
FILE *tmpfile;
char string[20];
tmpfile = fopen(FILENAME, &quot;w&quot;);

if (tmpfile == 0 ) {
perror(&quot;cannot open file&quot;);
}

 fprintf (tmpfile, &quot;temporary file f…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getmaxcolor?rev=1708041956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:56+02:00</dc:date>
        <title>getmaxcolor</title>
        <link>https://code-reference.com/c/graphics.h/getmaxcolor?rev=1708041956&amp;do=diff</link>
        <description>getmaxcolor

Syntax of getmaxcolor


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

Description of getmaxcolor


getmaxcolor returns the highest valid color value for the current
graphics driver and mode that can be passed to setcolor.
For example, on a 256K EGA, getmaxcolor always returns 15, which means
that any call to setcolor with a value from 0 to 15 is valid. On a CGA in
high-resolution mode or on a Hercules monochrome adapter, getmaxcolor
returns a value of 1.
  Windows Notes 
The winb…</description>
    </item>
    <item rdf:about="https://code-reference.com/bash?rev=1533246328&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-02T23:45:28+02:00</dc:date>
        <title>Bourne-Again Shell</title>
        <link>https://code-reference.com/bash?rev=1533246328&amp;do=diff</link>
        <description>path                description          examples  bash examples  case  bash case  quick_reference  bash quick reference  shortcuts  bash shortcuts  Overview: bash &quot;How To&quot; snippets  “how to” snippets (string substitution, tests, dynamic variables, ...)</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/java/io/printstream?rev=1362625494&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-07T04:04:54+02:00</dc:date>
        <title>Printstream</title>
        <link>https://code-reference.com/java/io/printstream?rev=1362625494&amp;do=diff</link>
        <description>Printstream
 Name                 Description              append  Appends the specified character to this output stream  checkerror Flush the stream and check if it contains errors  close Closes the stream  flush Flushes the stream  format Writes a formatted string to the output stream  print Prints various data types to an output stream  println Prints various data types to an output stream then terminates the line  write Writes the specified byte to this output stream</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/isequaltostring?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>isEqualToString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/isequaltostring?rev=1708042344&amp;do=diff</link>
        <description>isEqualToString

    
   - (BOOL)isEqualToString:(NSString *)aString;   


Returns a Boolean value that indicates whether a given string is equal to the receiver using an literal Unicode-based comparison.

ObjC Sourcecode Example

 
    NSString *myString1=@&quot;Hello World&quot;;
    NSString *myString2=@&quot;Hello World&quot;;
          
        if([myString1 isEqualToString:myString2]){
        
            NSLog(@&quot;similar&quot;);
        }
        else{
        
            NSLog(@&quot;dissimilar&quot;);
        }
        …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getpalettesize?rev=1708041953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:53+02:00</dc:date>
        <title>getpalettesize</title>
        <link>https://code-reference.com/c/graphics.h/getpalettesize?rev=1708041953&amp;do=diff</link>
        <description>getpalettesize

Syntax of getpalettesize


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

Description of getpalettesize


getpalettesize is used to determine how many palette entries can be set
for the current graphics mode. For example, the EGA in color mode returns
16.</description>
    </item>
    <item rdf:about="https://code-reference.com/java/control_structures/continue?rev=1708041837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:03:57+02:00</dc:date>
        <title>continiue</title>
        <link>https://code-reference.com/java/control_structures/continue?rev=1708041837&amp;do=diff</link>
        <description>continiue;


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

example of continiue in java


package codereferececomjava;

public class CodeRefereceComJava {

 
    public static void main(String[] args) {

        int i;
        for (i=40;i&lt;=45;i++) {
            if (i==42) continue;
            System.out.println(&quot;The answer is probably not &quot;+i);
        }
 
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/printf?rev=1408637388&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-08-21T18:09:48+02:00</dc:date>
        <title>printf</title>
        <link>https://code-reference.com/c/stdio.h/printf?rev=1408637388&amp;do=diff</link>
        <description>printf


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

int printf ( const char * restrict format, ... );


Arguments

The function printf prints format to STDOUT


Code    Description

%c 	character value

%s 	string of characters

%d 	signed integer

%i 	signed integer

%f 	floating point value

%e 	scientific notation, with a lowercase “e”

%E 	scientific notation, with a uppercase “E”

%g 	use %e or %f

%G 	use %E or %f 

%o 	octa…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/main?rev=1515738546&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:06+02:00</dc:date>
        <title>main</title>
        <link>https://code-reference.com/java/main?rev=1515738546&amp;do=diff</link>
        <description>A class contains attributes(objects,variables,etc) and methods(pieces of code).

The main method is the method which will run.

Place any code you want to run inside the main method.



        public class test
        {
                public static void main(String[] args)
                {
               
                }
        }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_error?rev=1362006439&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-28T00:07:19+02:00</dc:date>
        <title>mysql_error</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_error?rev=1362006439&amp;do=diff</link>
        <description>const char *mysql_error(MYSQL *mysql)


description of mysql_error

provides the error description of the last failed function. the function was executed successfully, it returns an empty string


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
MYSQL_RES *result;
int main( void ){
char host[20];
char user[20];
char pass[20];

my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(user,&quot;username&quot;);
sprintf(pass,&quot;password&quot;);
 
if (my == NULL ) {
pr…</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/graphics.h/getx?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>getx</title>
        <link>https://code-reference.com/c/graphics.h/getx?rev=1708041954&amp;do=diff</link>
        <description>getx

Syntax of getx


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

Description of getx


getx finds the current graphics position's x-coordinate. The value is
viewport-relative.


Example of getx


/* getx example */

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

int main(void)
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;
   char msg[80];


   /* initialize graphics and local variables */
   initgraph(&amp;gdriver, &amp;gmode, &quot;&quot;);

   /* r…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/control_structures/if?rev=1365582955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:35:55+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/java/control_structures/if?rev=1365582955&amp;do=diff</link>
        <description>if ( condition == true ){
    command;    
 }


check if a condition is true or false

example of if in java




package plausibilitycheck;

import java.util.Scanner;

public class Plausibilitycheck{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        int celsius;
        double fahrenheit;

        Scanner scan = new Scanner(System.in);

        System.out.print(&quot;Please type in Celsius : &quot;);
        celsius = scan.nextInt();

    …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextlong?rev=1365581680&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:14:40+02:00</dc:date>
        <title>nextLong()</title>
        <link>https://code-reference.com/java/util/scanner/nextlong?rev=1365581680&amp;do=diff</link>
        <description>public long nextLong()


return long scanned from the input

example nextLong() in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        long currency;
                
        System.out.print(&quot;Please enter a number: &quot;);
        currency = scan.nextLong(); // read keyboard buffer
        
…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setlinestyle?rev=1708041950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:50+02:00</dc:date>
        <title>setlinestyle</title>
        <link>https://code-reference.com/c/graphics.h/setlinestyle?rev=1708041950&amp;do=diff</link>
        <description>setlinestyle

Syntax of setlinestyle


#include &lt;graphics.h&gt;
void setlinestyle(int linestyle, unsigned upattern, int thickness);
  

Description of setlinestyle


setlinestyle sets the style for all lines drawn by line, lineto,
rectangle, drawpoly, and so on.
The linesettingstype structure is defined in graphics.h as follows:
struct linesettingstype {
   int linestyle;
   unsigned upattern;
   int thickness;
};
linestyle specifies in which of several styles subsequent lines will be
drawn (such a…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/variable_scope_and_qualifiers/const?rev=1708041853&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:13+02:00</dc:date>
        <title>const keyword</title>
        <link>https://code-reference.com/arduino/variable_scope_and_qualifiers/const?rev=1708041853&amp;do=diff</link>
        <description>The const keyword stands for constant. It is a variable qualifier that modifies the behavior of the variable, making a variable ”read-only”. This means that the variable can be used just as any other variable of its type, but its value cannot be changed. You will get a compiler error if you try to assign a value to a const variable.</description>
    </item>
    <item rdf:about="https://code-reference.com/java/variables/global_variable?rev=1708041842&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:02+02:00</dc:date>
        <title>global variable</title>
        <link>https://code-reference.com/java/variables/global_variable?rev=1708041842&amp;do=diff</link>
        <description>define a global variable in java, after the public class block

example of global varialbe  in java


 package codereferececomjava;

public class CodeRefereceComJava {

    public static int globalDigit; // define a global variable
 
    public static void main(String[] args) {
                
        int digit = 5; // define and inital a local variable
        globalDigit = digit; // initalisize the global variable
        
        funct(); // call funct();
    }

    
    public static void f…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/classes/extends?rev=1366963338&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-26T10:02:18+02:00</dc:date>
        <title>extends</title>
        <link>https://code-reference.com/java/classes/extends?rev=1366963338&amp;do=diff</link>
        <description>extends extends an already existing class with custom methods


package myclass.mydate;

import java.util.Date;

/* 
 * extends Date = extends class java.util.Date 
 * java.util.Date must be importet 
 */
public class MyDate extends Date { 

    public int getFullYear() {
        
        return this.getYear() + 1900;
    }
    

    
// overrride the method getMonth from java.util.Date

    @Override
    public int getMonth() {
        return 99;
    }    
}</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/math/random?rev=1708042323&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:03+02:00</dc:date>
        <title>Math.random()</title>
        <link>https://code-reference.com/java/lang/math/random?rev=1708042323&amp;do=diff</link>
        <description>Math.random() double;


generate a 'double' random number

example of Math.random in java


package codereferececomjava;

public class CodeRefereceComJava {

 
    public static void main(String[] args) {
    
        double randomDigit;
        randomDigit = Math.random();
        System.out.println(randomDigit); // random number as double
        System.out.println(randomDigit*1000+1); //double random number between 1-1000
        System.out.println((int)(randomDigit*1000+1)); //double random …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/time.h/asctime?rev=1708041883&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:43+02:00</dc:date>
        <title>asctime</title>
        <link>https://code-reference.com/c/time.h/asctime?rev=1708041883&amp;do=diff</link>
        <description>asctime


   char *asctime(const struct tm *timeptr);


Description

The function asctime() converts the time in the struct ptr to a character string of the format:
Day Month Date Hour:Minute:Second Year\n\0

asctime C Sourcecode Example


/* 
 * asctime example code
 * http://code-reference.com/c/time.h/asctime 
 */
#include &lt;stdio.h&gt;
#include &lt;time.h&gt;
 
int main ( void )
{
  time_t rawtime;
  struct tm * timeinfo;
 
  time ( &amp;rawtime );
  timeinfo = localtime ( &amp;rawtime );
  printf ( &quot;Current …</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/c/graphics.h/getmaxmode?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>getmaxmode</title>
        <link>https://code-reference.com/c/graphics.h/getmaxmode?rev=1708041957&amp;do=diff</link>
        <description>getmaxmode

Syntax of getmaxmode


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

Description of getmaxmode


getmaxmode lets you find out the maximum mode number for the currently
loaded driver, directly from the driver. This gives it an advantage over
getmoderange, which works for Borland drivers only. The minimum mode is
0.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_info?rev=1361892865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T16:34:25+02:00</dc:date>
        <title>mysql_info</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_info?rev=1361892865&amp;do=diff</link>
        <description>const char *mysql_info(MYSQL *mysql)


description of mysql_info

A character string containing additional information about the most recent query. NULL if no information about the request are available.

compile with gcc mysql_info.c -o mysql_info `mysql_config –cflags –libs` -Wall</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/getenv?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>getenv</title>
        <link>https://code-reference.com/c/stdlib.h/getenv?rev=1708041890&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    char *getenv(const char *name);


getenv matches the string pointed to by name


returns a pointer to the value in the environment, or NULL if there is no match.


getenv C Sourcecode Example


/* 
 * getenv example code
 * http://code-reference.com/c/stdlib.h/getenv
 */
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#include &lt;stdlib.h&gt;

int main ( void )
{
  char *env;
  env = getenv (&quot;USER&quot;);
  if (env!=NULL)…</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/graphics.h/graphresult?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>graphresult</title>
        <link>https://code-reference.com/c/graphics.h/graphresult?rev=1708041948&amp;do=diff</link>
        <description>graphresult

Syntax of graphresult


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

Description of graphresult


graphresult returns the error code for the last graphics operation that
reported an error and resets the error level to grOk.
The following table lists the error codes returned by graphresult. The
enumerated type graph_errors defines the errors in this table.
graph_errors is declared in graphics.h.
code  constant     Corresponding error message string
0 grOk   No error
-1grNoInitGra…</description>
    </item>
    <item rdf:about="https://code-reference.com/playground/c/stdio.h/printf?rev=1501372178&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-07-30T01:49:38+02:00</dc:date>
        <title>printf</title>
        <link>https://code-reference.com/playground/c/stdio.h/printf?rev=1501372178&amp;do=diff</link>
        <description>printf


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

int printf ( const char * restrict format, ... );


Arguments

The function printf prints format to STDOUT


Code    Description

%c 	character value

%s 	string of characters

%d 	signed integer

%i 	signed integer

%f 	floating point value

%e 	scientific notation, with a lowercase “e”

%E 	scientific notation, with a uppercase “E”

%g 	use %e or %f

%G 	use %E or %f 

%o 	octa…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/control_structures/else?rev=1708041838&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:03:58+02:00</dc:date>
        <title>else</title>
        <link>https://code-reference.com/java/control_structures/else?rev=1708041838&amp;do=diff</link>
        <description>if ( condition == true ){
    command;    
 } else {
      // if the &quot;if&quot; condition false
      command;
      }


check if a condition is true or false

example of else




package plausibilitycheck;

import java.util.Scanner;

public class Plausibilitycheck{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        int celsius;
        double fahrenheit;

        Scanner scan = new Scanner(System.in);

        System.out.print(&quot;Please …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/strlen?rev=1396667300&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-05T05:08:20+02:00</dc:date>
        <title>strlen</title>
        <link>https://code-reference.com/c/string.h/strlen?rev=1396667300&amp;do=diff</link>
        <description>size_t strlen(const char *str);


calculates the size of a char array


C Sourcecode Example


#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
  
int main (void) 
{

  char ss[20] = &quot;hello world&quot;;
  int length = strlen(ss);
  int i;
  
  printf (&quot;strlen is %i\n&quot;, length);
  
  for ( i = 0; i &lt; length ; ++ i )
    printf (&quot;iam at char count %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/c/graphics.h/gety?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>gety</title>
        <link>https://code-reference.com/c/graphics.h/gety?rev=1708041954&amp;do=diff</link>
        <description>gety

Syntax of gety


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

Description of gety


gety returns the current graphics position's y-coordinate. The value is
viewport-relative.


Example of gety


/* gety example */

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

int main(void)
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;
   char msg[80];

   /* initialize graphics and local variables */
   initgraph(&amp;gdriver, &amp;gmode, &quot;&quot;);

   /* …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getmodename?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>getmodename</title>
        <link>https://code-reference.com/c/graphics.h/getmodename?rev=1708041955&amp;do=diff</link>
        <description>getmodename

Syntax of getmodename


#include &lt;graphics.h&gt;
char *getmodename(int mode_number);
  

Description of getmodename


getmodename accepts a graphics mode number as input and returns a string
containing the name of the corresponding graphics mode. The mode names
are embedded in each driver. The return values (&quot;320*200 CGA P1,&quot;
&quot;640*200 CGA&quot;, and so on) are useful for building menus or displaying
status.</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/math/round?rev=1365581526&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:12:06+02:00</dc:date>
        <title>Math.round</title>
        <link>https://code-reference.com/java/lang/math/round?rev=1365581526&amp;do=diff</link>
        <description>rounds a number 

example of round in java



package roundanumber;
import java.lang.Math;

public class Roundanumber {


    public static void main(String[] args) {
        // TODO code application logic here
        
        double number, number2;
        number = 33.384422;
        number2 = 33.898823;
    
    System.out.println(&quot;number: &quot; + Math.round(number));
    System.out.println(&quot;number2: &quot; + Math.round(number2));
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextfloat?rev=1365581634&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:13:54+02:00</dc:date>
        <title>nextFloat()</title>
        <link>https://code-reference.com/java/util/scanner/nextfloat?rev=1365581634&amp;do=diff</link>
        <description>public float nextFloat()


return float scanned from the input

example nextFloat in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        float currency;
                
        System.out.print(&quot;Please enter a number: &quot;);
        currency = scan.nextFloat(); // read currency
        
   …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/system/exit?rev=1708042324&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:04+02:00</dc:date>
        <title>exit</title>
        <link>https://code-reference.com/java/lang/system/exit?rev=1708042324&amp;do=diff</link>
        <description>public static void exit(int status)


exit a programm with a return code 

example exit in java


package test;

public class Test{

    public static void main(String[] args) {
        

        System.out.println(&quot;Example for exit in java&quot;);
        System.exit(1);
        System.out.println(&quot;sorry but this is after our exit&quot;);


    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/bsearch?rev=1708041888&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:48+02:00</dc:date>
        <title>bsearch</title>
        <link>https://code-reference.com/c/stdlib.h/bsearch?rev=1708041888&amp;do=diff</link>
        <description>bsearch


    #include &lt;stdlib.h&gt;
    void *bsearch(const void *key, const void *base, size_t nitems, size_t size, int (*compare)(const void *, const void *));


key     - The element that is searched for

base    - pointer to the first element of the array to be searched

nitems  - number of elements in the array

size    - size of a single element

compare - comparison function to compare two elements together.</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/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/objective-c/foundation.framework/nsstring.h?rev=1708041981&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:21+02:00</dc:date>
        <title>NSString</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h?rev=1708041981&amp;do=diff</link>
        <description>NSString

The NSString class declares the programmatic interface for an object that manages immutable strings.

NSString is implemented to represent an array of Unicode characters, in other words, a text string.


caseinsensitivecompare

isequaltostring

lowercasestring

stringbyappendingformat

stringbyappendingstring

stringwithformat

uppercasestring</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/variable_scope_and_qualifiers/variabledeclaration?rev=1360957675&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T20:47:55+02:00</dc:date>
        <title>Variables</title>
        <link>https://code-reference.com/arduino/variable_scope_and_qualifiers/variabledeclaration?rev=1360957675&amp;do=diff</link>
        <description>A variable is a way of naming and storing a value for later use by the program, such as data from a sensor or an intermediate value used in a calculation.

Declaring Variables

Before they are used, all variables have to be declared. Declaring a variable means defining its type, and optionally, setting an initial value (initializing the variable). Variables do not have to be initialized (assigned a value) when they are declared, but it is often useful.</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsstring.h/caseinsensitivecompare?rev=1708042344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:24+02:00</dc:date>
        <title>caseInsensitiveCompare</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsstring.h/caseinsensitivecompare?rev=1708042344&amp;do=diff</link>
        <description>-(NSComparisonResult)caseInsensitiveCompare:(NSString *)string;  


Returns the result of invoking compare:options: with NSCaseInsensitiveSearch as the only option.

ObjC Sourcecode Example

  
    NSString *myString1=@&quot;HELLO WORLD&quot;;
    NSString *myString2=@&quot;hello world&quot;;
        
    if([myString1 caseInsensitiveCompare:myString2]==NSOrderedSame){
            
            NSLog(@&quot;similar&quot;);  
        }
    else{
            
            NSLog(@&quot;dissimilar&quot;);          
        }

      /* 
    …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextshort?rev=1365581695&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:14:55+02:00</dc:date>
        <title>nextShort()</title>
        <link>https://code-reference.com/java/util/scanner/nextshort?rev=1365581695&amp;do=diff</link>
        <description>public short nextShort()


return short scanned from the input

example nextShort() in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        short currency;
                
        System.out.print(&quot;Please enter a number: &quot;);
        currency = scan.nextShort(); // read keyboard buffer
   …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/grapherrormsg?rev=1708041951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:51+02:00</dc:date>
        <title>grapherrormsg</title>
        <link>https://code-reference.com/c/graphics.h/grapherrormsg?rev=1708041951&amp;do=diff</link>
        <description>grapherrormsg

Syntax of grapherrormsg


#include &lt;graphics.h&gt;
char * grapherrormsg(int errorcode);
  

Description of grapherrormsg


grapherrormsg returns a pointer to the error message string associated
with errorcode, the value returned by graphresult.
Refer to the entry for errno in the Library Reference, Chapter 4, for a
list of error messages and mnemonics.</description>
    </item>
    <item rdf:about="https://code-reference.com/java/variables/array?rev=1366179085&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-17T08:11:25+02:00</dc:date>
        <title>Arrays in Java</title>
        <link>https://code-reference.com/java/variables/array?rev=1366179085&amp;do=diff</link>
        <description>an array, it is a object variable (box,container), which is a variable in a position to take up more than one object of the same type and manage it

example of arrays in java


package arrays;

public class Arrays {

    public static void main(String[] args) {
           int[] digits1; // Reference Variable
           int[] digits2= new int[5]; // Definition with 5 x Integer
           int[] digits3= {1,2,3,4,5}; // Definie with initialization ( 5 Integer)
           
           // pass Element…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/return?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>return</title>
        <link>https://code-reference.com/c/control_structures/return?rev=1708041885&amp;do=diff</link>
        <description>return

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

   return value;


returns a value

C Sourcecode Example


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

#include &lt;stdlib.h&gt;
#include &lt;string.h&gt;

int yesno( char value1[], char value2[] ){

    if ( strcmp( value1, value2 ) == 0)
	{
	    return 0;
	} else {
	    return 1;
	    }
}

int main(void) {

    char str…</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/descriptionwithlocale?rev=1708042347&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:27+02:00</dc:date>
        <title>descriptionWithLocale</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/descriptionwithlocale?rev=1708042347&amp;do=diff</link>
        <description>descriptionWithLocale

    

- (NSString *)descriptionWithLocale:(id)aLocale
 


Returns a string that represents the contents of the receiver for a given locale.

ObjC Sourcecode Example



    //** Sample Datatypes **
    int myInt= 1000000;
    double myDouble = 3.14;
    float myFloat = 1.123456f;
    char myChar = 'w';
    
    //** Initializing NSNumber Objects **
    NSNumber *myIntNumber = [[NSNumber alloc]initWithInt:myInt];
    NSNumber *myDoubleNumber = [[NSNumber alloc]initWithDouble…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextint?rev=1365581650&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:14:10+02:00</dc:date>
        <title>nextInt()</title>
        <link>https://code-reference.com/java/util/scanner/nextint?rev=1365581650&amp;do=diff</link>
        <description>public int nextInt()


return int scanned from the input

example nextInt in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        int currency;
                
        System.out.print(&quot;Please enter a number: &quot;);
        currency = scan.nextInt(); // read currency
        
        System.…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getmaxheight?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>getmaxheight</title>
        <link>https://code-reference.com/c/graphics.h/getmaxheight?rev=1708041957&amp;do=diff</link>
        <description>getmaxheight

Syntax of getmaxheight


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

Description of getmaxheight


The getmaxheight function is available in the winbgim implementation of
BGI graphics. The function returns the maximum height that will fit on
the screen when creating a window with initwindow. This is one of the few
BGI functions that may be called before calling initwindow. Note: The
value returned is correct for a window with a non-empty title. If you
create a window with the…</description>
    </item>
    <item rdf:about="https://code-reference.com/bash/how_to/tests?rev=1533268704&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-03T05:58:24+02:00</dc:date>
        <title>bash: &quot;How To&quot; ... utilize tests</title>
        <link>https://code-reference.com/bash/how_to/tests?rev=1533268704&amp;do=diff</link>
        <description>bash: &quot;How To&quot; ... utilize tests
operationwhatcodestringvariable equal to “xyz“if [ $STR == “xyz” ]variable unequal to “xyz“if [ $STR != “xyz” ]variable contains substring “xyz“if [[ $STR =~ “xyz” ]]variable is in list “abc” or “def” (or ...)if [[ $STR =~ ^(“abc”|“def”)$ ]]integervariable equal to nif [ $STR -eq n ]file“node” exists 
 (whatever type i.e. file, folder, ...)if [ -e “node” ]regular “filename” existsif [ -f “filename” ]create unique temporary filetouch /tmp/$$.tmpfind file “filename…</description>
    </item>
</rdf:RDF>
