<?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-06-21T04:29:07+02:00</dc:date>
        <items>
            <rdf:Seq>
                <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/compiler/gcc/warnings?rev=1708042336&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/return?rev=1708041847&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/malloc?rev=1708041892&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/realloc?rev=1708041890&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/c/stdlib.h/qsort?rev=1708041892&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/c/string.h/strcmp?rev=1708041975&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/lua/codea/stargenerator/star.lua?rev=1708042326&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/return?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/free?rev=1413084164&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/calloc?rev=1708041889&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/control_structures?rev=1358463006&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures?rev=1708040896&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setgraphmode?rev=1708041949&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/c/stdio.h/snprintf?rev=1361804212&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/c/time.h/clock?rev=1708041884&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/stdlib.h/exit?rev=1708041892&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/fputc?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures?rev=1371218987&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/restorecrtmode?rev=1708041958&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/rand?rev=1708041889&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_dump_debug_info?rev=1362003839&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/string.h/memchr?rev=1708041974&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/abort?rev=1708041892&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/constant/define?rev=1708041922&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/fgetwc?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getch?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/rewind?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/assert.h/assert?rev=1398606376&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmodename?rev=1708041955&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/math.h/sinh?rev=1708041936&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/sin?rev=1708041878&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/wchar.h/fgetws?rev=1708041934&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/showerrorbox?rev=1708041954&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/cpp/control_structures/if?rev=1708041872&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/mysql/mysql.h/mysql_character_set_name?rev=1708042333&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/wherey?rev=1360707525&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/c/mysql/mysql.h/mysql_debug?rev=1362003170&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/constant/define?rev=1708041877&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath?rev=1708040900&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/c/graphics.h/detectgraph?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/sinh?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/error?rev=1382538184&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/fwrite?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_get_host_info?rev=1361886971&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_autocommit?rev=1361915690&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/c/keywords?rev=1358818247&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/c/stdio.h/fgets?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_eof?rev=1362005186&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_get_server_info?rev=1361887552&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_get_server_version?rev=1361888045&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_errno?rev=1362005790&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_fetch_fields?rev=1362096452&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/mysql/mysql.h/mysql_init?rev=1359920158&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/c/mysql/mysql.h/mysql_real_connect?rev=1708042327&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fopen?rev=1430730823&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_error?rev=1362006439&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_affected_rows?rev=1361914596&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_get_proto_info?rev=1361888088&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cassert/assert?rev=1708041878&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_close?rev=1359920392&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/ungetch?rev=1360707830&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/putc?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_fetch_field?rev=1362094056&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_drop_db?rev=1362003386&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_commit?rev=1361919057&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdarg.h/va_arg?rev=1708041946&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/c/mysql/mysql.h/mysql_change_user?rev=1361916183&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_create_db?rev=1361919366&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_data_seek?rev=1362002576&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/perror?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/initgraph?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/initwindow?rev=1708041948&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/vprintf?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/examples/hostscanner?rev=1708041925&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/stdio.h/fgetpos?rev=1361069952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fclose?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputs?rev=1357591171&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/wherex?rev=1360707656&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/setjmp.h/longjmp?rev=1360003254&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/checkerror?rev=1708042321&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/math.h/sin?rev=1708041935&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getdefaultpalette?rev=1708041953&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/c/setjmp.h/setjmp?rev=1360003391&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/variables?rev=1401900353&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/flush?rev=1708042322&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/scanf?rev=1400361063&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/frexp?rev=1708041936&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/gotoxy?rev=1439192715&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getwindowheight?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/vfwscanf?rev=1708041934&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wprintf?rev=1708041933&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/math.h/acos?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/cosh?rev=1708041935&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/complex.h/cacosh?rev=1708041972&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/csqrt?rev=1359979300&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/char?rev=1708041913&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswprint?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/mbrlen?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/modf?rev=1708041936&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/floor?rev=1708041937&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/c/stdio.h/fdopen?rev=1361800230&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsfilemanager.h/defaultmanager?rev=1708042342&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/for?rev=1358462874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/stdout?rev=1358093495&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/else?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/setbuf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmouseclick?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/uikit.framework/uilabel.h/init?rev=1356893323&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/clearerr?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/putwchar?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/modf?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/kbhit?rev=1708041900&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/csin?rev=1359979069&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsfilemanager.h/init?rev=1708042342&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/srand?rev=1708041890&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/dos.h/setdate?rev=1708041965&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/asin?rev=1708041880&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/ldiv?rev=1708041890&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ferror?rev=1374831141&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/tanh?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmaxwidth?rev=1708041950&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/textbackground?rev=1414779984&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/tmpnam?rev=1708041939&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/tan?rev=1708041880&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fflush?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/ceil?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/sqrt?rev=1708041936&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/undef?rev=1708041968&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/int?rev=1708041917&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/line?rev=1708041953&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/ctype.h/islower?rev=1708041924&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsarray.h/init?rev=1401479235&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/stdio.h/feof?rev=1708041940&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/ctype.h/isupper?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vscanf?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strcspn?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/tolower?rev=1708041874&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/wchar.h/wmemcpy?rev=1708041930&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/conio.h/gettextinfo?rev=1360428068&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcstof?rev=1708041931&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/c/wchar.h/wcsncmp?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcscoll?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsspn?rev=1708041928&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/c/ctype.h/isalnum?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswlower?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getpixel?rev=1439308760&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/file?rev=1708041959&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/do?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/init?rev=1401479538&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/wchar.h/wcstod?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcstoll?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/doublevalue?rev=1708042345&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/swprintf?rev=1708041928&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/graphics.h/setfillstyle?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/moverel?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getlinesettings?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswalnum?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcstok?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/setvbuf?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/fwscanf?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/datatypes/int?rev=1708041876&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/c/graphics.h/registerbgidriver?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/gettext?rev=1360369313&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/while?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextint?rev=1365581650&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/log?rev=1708041936&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswpunct?rev=1708041930&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmaxx?rev=1708041953&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setgraphbufsize?rev=1708041950&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/close?rev=1708042322&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/while?rev=1361019359&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/format?rev=1366011044&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/c/mysql/mysql.h/mysql_get_client_version?rev=1361885901&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setcolor?rev=1430935280&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswctype?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/switch?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcschr?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/cproj?rev=1359978598&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcslen?rev=1708041926&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printstream/append?rev=1708042322&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/uikit.framework/uilabel.h/initwithframe?rev=1356891983&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/cpp/cctype/isprint?rev=1708041873&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/stdio.h/rename?rev=1708041942&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/cpp/cctype/isalnum?rev=1708041875&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/cpp/cctype/isalpha?rev=1708041875&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/toupper?rev=1708041875&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/carg?rev=1359935219&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/wchar.h/wmemchr?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/abs?rev=1708041889&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/labs?rev=1708041890&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgrect?rev=1708042343&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/getche?rev=1360348080&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/objective-c/foundation.framework/nsvalue.h/valuewithcgsize?rev=1708042343&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/objective-c/foundation.framework/nsnumber.h/charvalue?rev=1708042345&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/examples/navigationcontroller?rev=1708041979&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/examples/rootviewcontroller?rev=1708041979&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/due_only/analogreadresolution?rev=1708041863&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/c/graphics.h/getpalettesize?rev=1708041953&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswspace?rev=1708041930&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsstr?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/dos.h/nosound?rev=1708041964&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types/void?rev=1708041852&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_get_client_info?rev=1708042333&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/textcolor?rev=1360428990&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/delay?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/uikit.framework/uiimageview.h/initwithframe?rev=1708042338&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/wchar.h/iswxdigit?rev=1708041926&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/floatvalue?rev=1708042346&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wctob?rev=1708041931&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcspbrk?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/bar?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/ldexp?rev=1708041880&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/bufsiz?rev=1708041944&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/objective-c/examples/tabbarcontroller?rev=1708041979&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setviewport?rev=1415235930&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/goto?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/registermousehandler?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/double?rev=1708041912&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/dos.h/getdate?rev=1708041965&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcstol?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/void?rev=1708041917&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/arithmetic_operators/arithmetic?rev=1360952127&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/datatypes/void?rev=1708041876&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/long?rev=1708041914&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsrtombs?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/dos.h/sleep?rev=1708041965&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/examples/ftp_scanner?rev=1708041925&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/vswscanf?rev=1708041934&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/c/wchar.h/wcstoul?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/installuserfont?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/digital_io/digitalread?rev=1708041846&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/clog?rev=1359977276&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/advanced_io/shiftout?rev=1360951161&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/bar3d?rev=1708041957&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/getch?rev=1404548655&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/goto?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/cos?rev=1708041935&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/math/map?rev=1708041860&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcswidth?rev=1708041930&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/cpp/cctype/isdigit?rev=1708041874&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/graphics.h/clearmouseclick?rev=1708041958&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/c/math.h/fabs?rev=1708041935&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/freopen?rev=1708041945&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/control_structures/continue?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/asin?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/ceil?rev=1708041936&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/mbstowcs?rev=1708041891&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/control_structures/do?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmaxcolor?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/towupper?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/examples/talk_to_a_modem?rev=1708041925&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/ccosh?rev=1359937725&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/allkeys?rev=1708042339&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/fwide?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/clrscr?rev=1708041902&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/c/string.h/strlen?rev=1396667300&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/delline?rev=1708041903&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/java/lang/object/equals?rev=1365581557&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setactivepage?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/putimage?rev=1708041953&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wscanf?rev=1708041930&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/fwprintf?rev=1708041934&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/count?rev=1402184093&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/c/graphics.h/setvisualpage?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/getwchar?rev=1708041930&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/iswalpha?rev=1708041931&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcswcs?rev=1708041930&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/graphics.h/ellipse?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/file?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/fillellipse?rev=1708041958&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/stdlib.h/atexit?rev=1708041890&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/exp?rev=1708041880&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/div?rev=1708041889&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/ctanh?rev=1359979483&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/graphics.h/outtextxy?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/floodfill?rev=1708041952&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/c/stdlib.h/atol?rev=1708041891&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setallpalette?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/pow?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setfillpattern?rev=1708041954&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/atan2?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/arc?rev=1708041954&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/gettextsettings?rev=1708041950&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/vfwprintf?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getimage?rev=1708041958&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/c/graphics.h/settextstyle?rev=1708041950&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/mbsrtowcs?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/linerel?rev=1708041950&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/wcwidth?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/intvalue?rev=1708042346&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcstold?rev=1708041926&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getaspectration?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcstoull?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsrchr?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/frexp?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/log?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/atan?rev=1708041878&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/uikit.framework/uiimageview.h/init?rev=1357069265&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/atan2?rev=1708041880&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/acos?rev=1708041880&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/cosh?rev=1708041878&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/fabs?rev=1708041878&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/floor?rev=1708041880&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/log10?rev=1708041935&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setrgbpalette?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/gety?rev=1708041954&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/math.h/ldexp?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getdrivername?rev=1708041957&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/graphics.h/getviewsettings?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setaspectratio?rev=1708041954&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/circle?rev=1708041949&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/setpalette?rev=1708041955&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/c/math.h/tanh?rev=1708041936&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/putpixel?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strstr?rev=1361064726&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/cpp/datatypes/double?rev=1708041876&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords/return?rev=1708041960&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/dos.h/gettime?rev=1394818990&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/getwc?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsftime?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/swscanf?rev=1708041927&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setwritemode?rev=1708041953&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/bool?rev=1708041912&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/long_double?rev=1708041914&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/c/wchar.h/wmemmove?rev=1708041931&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/boolvalue?rev=1708042345&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/string.h/strxfrm?rev=1361066569&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/graphics.h/getgraphmode?rev=1708041956&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/math.h/fmod?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/sqrt?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/vwprintf?rev=1708041926&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/moveto?rev=1708041958&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/define?rev=1515738548&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/graphdefaults?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/registerbgifont?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/ungetwc?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/pow?rev=1366075845&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/wchar.h/wctype?rev=1708041934&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/dos.h/sound?rev=1708041965&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wmemset?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/putwc?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/ctan?rev=1359979421&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/vswprintf?rev=1708041933&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/external_interrupts/attachinterrupt?rev=1708041866&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmoderange?rev=1708041952&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/graphics.h/getarccoords?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wmemcmp?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/exp?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/fillpoly?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/variable_scope_and_qualifiers/static?rev=1708041853&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/atan?rev=1708041935&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getpalette?rev=1708041958&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/c/wchar.h/iswupper?rev=1708041930&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswcntrl?rev=1708041931&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswdigit?rev=1708041927&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/string.h/strcoll?rev=1708041974&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/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&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/time.h/asctime?rev=1708041883&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmaxy?rev=1708041953&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsncpy?rev=1708041931&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/closegraph?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcscat?rev=1708041932&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/sector?rev=1708041956&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memset?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/cacos?rev=1359934792&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/lineto?rev=1708041951&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/cpp/control_structures/break?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/short?rev=1708041910&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/c/conio.h/window?rev=1360707212&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/cpp/cmath/cos?rev=1708041878&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsncat?rev=1708041932&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/cpp/cmath/log10?rev=1708041879&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/c/string.h/strspn?rev=1361063627&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/cimag?rev=1359938248&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/casinh?rev=1359937241&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cmath/fmod?rev=1708041880&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcrtomb?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/tan?rev=1708041937&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/ctype.h/tolower?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/clearviewport?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/if?rev=1708041886&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/conj?rev=1359977746&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/mousey?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/mousex?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getwindowwidth?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/cleardevice?rev=1708041955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/pieslice?rev=1708041954&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsmutablearray.h/init?rev=1401479598&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/objective-c/foundation.framework/nsvalue.h/valuewithcgpoint?rev=1708042343&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/highvideo?rev=1360428653&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/drawpoly?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/examples/port_scanner?rev=1708041925&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setbkcolor?rev=1708041955&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/c/wchar.h/wcscpy?rev=1708041931&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/dos.h/delay?rev=1708041964&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/c/complex.h/cabs?rev=1359934334&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/catan?rev=1359937381&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/cpp/control_structures/continue?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcscspn?rev=1708041931&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/wchar.h/mbsinit?rev=1708041931&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/towlower?rev=1708041930&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/creal?rev=1359978837&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/mbrtowc?rev=1708041929&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/cpow?rev=1359978125&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/cexp?rev=1359938062&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/sizeof?rev=1708041890&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/casin?rev=1359937138&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/csinh?rev=1359979184&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcsxfrm?rev=1708041928&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/imagesize?rev=1708041951&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/rectangle?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/catanh?rev=1359937491&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/c/wchar.h/vwscanf?rev=1708041934&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/wcscmp?rev=1708041934&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/datatypes/float?rev=1708041908&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/ccos?rev=1359937607&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/wchar.h/iswgraph?rev=1708041926&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/c/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/compiler/gcc/warnings?rev=1708042336&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:16+02:00</dc:date>
        <title>Warnings</title>
        <link>https://code-reference.com/c/compiler/gcc/warnings?rev=1708042336&amp;do=diff</link>
        <description>warnings.c:3:2: means in line 3 at char 2 need a solution

to check if you have some errors in your code use for 

gcc testcode.c -o testcode -Wall

that will display all Warnings


warning: control reaches end of non-void function

You must add a return value at the end of your sourcecode:</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures/return?rev=1708041847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:07+02:00</dc:date>
        <title>return</title>
        <link>https://code-reference.com/arduino/control_structures/return?rev=1708041847&amp;do=diff</link>
        <description>Terminate a function and return a value from a function to the calling function, if desired.

Syntax:

return;

return value;     both forms are valid

==== Parameters   ====

value: any variable or constant type

==== Examples:   ====

A function to compare a sensor input to a threshold
&lt;code arduino&gt; int checkSensor(){       
    if (analogRead(0) &gt; 400) {
        return 1;
    else{
        return 0;
    }
}&lt;/code&gt;

The return keyword is handy to test a section of code without having to “comm…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/malloc?rev=1708041892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:52+02:00</dc:date>
        <title>malloc</title>
        <link>https://code-reference.com/c/stdlib.h/malloc?rev=1708041892&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    void *malloc(size_t size);


description

The malloc() function shall allocate unused space for an object whose size in bytes is specified by size and whose value is unspecified.



The order and contiguity of storage allocated by successive calls to malloc() is unspecified.

The pointer returned if the allocation succeeds shall be suitably aligned so that it may be assigned to a pointer 

to any type of object and then used to access such an object in the space allocated…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/realloc?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>realloc</title>
        <link>https://code-reference.com/c/stdlib.h/realloc?rev=1708041890&amp;do=diff</link>
        <description>realloc


    #include &lt;stdlib.h&gt;
    void *realloc(void *ptr, size_t size); 


description

The realloc() function shall change the size of the memory object pointed to by ptr to the size specified by size. 

The contents of the object shall remain unchanged up to the lesser of the new and old sizes. 

If the new size of the memory object would require movement of the object, the space for the previous instantiation of the object is freed.

If the new size is larger, the contents of the newly a…</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/c/stdlib.h/qsort?rev=1708041892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:52+02:00</dc:date>
        <title>qsort</title>
        <link>https://code-reference.com/c/stdlib.h/qsort?rev=1708041892&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    void qsort(void *base, size_t nitems, size_t size, int (*compar)(const void *, const void*));


Description

base   = Pointer to elements

nitems = Number of elements

size = Size of one element

compar = Pointer to comparison function</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/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/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/lua/codea/stargenerator/star.lua?rev=1708042326&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:06+02:00</dc:date>
        <title>lua:codea:stargenerator:star.lua</title>
        <link>https://code-reference.com/lua/codea/stargenerator/star.lua?rev=1708042326&amp;do=diff</link>
        <description>Star = class()

function Star:init(init)
    -- you can accept and set parameters here
    self.mx = 500
    self.my = 400
    if init == true then
        self.x = math.random(self.mx-10,self.mx+10)
        self.y = math.random(self.my-10,self.my+10)
        self.size = math.random(1,3)
    else
        self.x = math.random(1,1200)
        self.y = math.random(1,1200)
        self.size = math.random(1,6)
    end
    self.xspeed = math.random(1,10)
    self.yspeed = math.random(1,10)
    
    se…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/return?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>return</title>
        <link>https://code-reference.com/cpp/control_structures/return?rev=1708041872&amp;do=diff</link>
        <description>return

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

   return value;


returns a value

cpp Sourcecode Example


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

using namespace std;

int main(void) {

      cout  &lt;&lt; &quot;better example is&quot; &lt;&lt; endl;
      return 1;
      cout &lt;&lt; &quot;missing&quot; &lt;&lt; endl;
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/free?rev=1413084164&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-10-12T05:22:44+02:00</dc:date>
        <title>free</title>
        <link>https://code-reference.com/c/stdlib.h/free?rev=1413084164&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    void free(void *ptr);


description

The free() function shall cause the space pointed to by ptr to be deallocated; that is, made available for further allocation.

If ptr is a null pointer, no action shall occur. Otherwise, if the argument does not match a pointer earlier returned by 

the calloc(), malloc(), posix_memalign(), realloc(), or strdup() function, or if the space has been deallocated by a call

to free() or realloc(), the behavior is undefined.



Any use of …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/calloc?rev=1708041889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:49+02:00</dc:date>
        <title>calloc</title>
        <link>https://code-reference.com/c/stdlib.h/calloc?rev=1708041889&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    void *calloc(size_t nitems, size_t size); 


description

The calloc() function shall allocate unused space for an array of nelem elements each of whose size in bytes is elsize. 

The space shall be initialized to all bits 0.



The order and contiguity of storage allocated by successive calls to calloc() is unspecified. 

The pointer returned if the allocation succeeds shall be suitably aligned so that it may be assigned to a 

pointer to any type of object and then used…</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/control_structures?rev=1358463006&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-17T23:50:06+02:00</dc:date>
        <title>control structures Overview</title>
        <link>https://code-reference.com/c/control_structures?rev=1358463006&amp;do=diff</link>
        <description>control structures Overview
 Name                 Description              break break  case case  continue continue  default default  do do  else else  for for  goto goto  if if  return return  switch switch  while while 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/control_structures?rev=1708040896&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:16+02:00</dc:date>
        <title>control structures Overview</title>
        <link>https://code-reference.com/arduino/control_structures?rev=1708040896&amp;do=diff</link>
        <description>control structures Overview
 Name                 Description              break break  continue continue  dowhile dowhile  else else  for for  goto goto  if if  return return  switchcase switchcase  while while 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setgraphmode?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>setgraphmode</title>
        <link>https://code-reference.com/c/graphics.h/setgraphmode?rev=1708041949&amp;do=diff</link>
        <description>setgraphmode

Syntax of setgraphmode


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

Description of setgraphmode


setgraphmode selects a graphics mode different than the default one set
by initgraph. mode must be a valid mode for the current device driver.
setgraphmode clears the screen and resets all graphics settings to their
defaults (current position, palette, color, viewport, and so on).
You can use setgraphmode in conjunction with restorecrtmode to switch
back and forth between t…</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/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/c/time.h/clock?rev=1708041884&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:44+02:00</dc:date>
        <title>clock</title>
        <link>https://code-reference.com/c/time.h/clock?rev=1708041884&amp;do=diff</link>
        <description>clock


    clock_t clock(void);


Description

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

To convert the return value to seconds, divide it by CLOCKS_PER_SEC. (Note: if your compiler is POSIX compliant, then CLOCKS_PER_SEC is always defined as 1000000.)</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/stdlib.h/exit?rev=1708041892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:52+02:00</dc:date>
        <title>exit</title>
        <link>https://code-reference.com/c/stdlib.h/exit?rev=1708041892&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    void exit(int status);


exit causes the termination of a program.

To the environment in which the program was started, a return code will be sent.


exit C Sourcecode Example


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

#include &lt;stdlib.h&gt;

int exittest ( int testval )
{
   if (testval == 3 ) {  exit (1); }
return 0;
}

int main(…</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/fputc?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fputc</title>
        <link>https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff</link>
        <description>fputc


    int fputc(int ch, FILE *stream); 


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

C Sourcecode Example


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


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

 
int main( void )
{
  FILE *stream, *stream_target;
  char c;
 
  if((stream=fopen(&quot;test.txt&quot;,&quot;rb&quot;))==NULL) {
    printf(&quot;Cannot open file.\n&quot;);
    return 1;
  }
 
  if((stream_targ…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures?rev=1371218987&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-06-14T16:09:47+02:00</dc:date>
        <title>control structures Overview</title>
        <link>https://code-reference.com/cpp/control_structures?rev=1371218987&amp;do=diff</link>
        <description>control structures Overview
 Name                 Description              break break  continue continue  do do  goto goto  if if  return return  while while  Switchused for finding the specific case of a set of scenarios 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/restorecrtmode?rev=1708041958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:58+02:00</dc:date>
        <title>restorecrtmode</title>
        <link>https://code-reference.com/c/graphics.h/restorecrtmode?rev=1708041958&amp;do=diff</link>
        <description>restorecrtmode

Syntax of restorecrtmode


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

Description of restorecrtmode


restorecrtmode restores the original video mode detected by initgraph.
This function can be used in conjunction with setgraphmode to switch back
and forth between text and graphics modes. textmode should not be used
for this purpose; use it only when the screen is in text mode, to change
to a different text mode.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/rand?rev=1708041889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:49+02:00</dc:date>
        <title>rand</title>
        <link>https://code-reference.com/c/stdlib.h/rand?rev=1708041889&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    int rand(void);


Description

Generates a random Number

  &lt;time.h&gt; is for this example nessesary
rand C Sourcecode Example 1


/* 
 * rand example code
 * http://code-reference.com/c/stdlib.h/rand 
 */
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;time.h&gt; /* for srand salt */

int main ( void )
{

  int i;
  /* initialize random generator */
  /* without srand, rand will generate only once random numbers */
  srand ( time(NULL) ); /* comment it out to see what happen…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_dump_debug_info?rev=1362003839&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:23:59+02:00</dc:date>
        <title>mysql_dump_debug_info</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_dump_debug_info?rev=1362003839&amp;do=diff</link>
        <description>int mysql_dump_debug_info(MYSQL *mysql)


description of mysql_dump_debug_info

mysql_dump_debug_info writes debugging information for the current connection in the logfile of the servers. the user must have administrator rights

return 1 if success 0 otherwise</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/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/abort?rev=1708041892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:52+02:00</dc:date>
        <title>abort</title>
        <link>https://code-reference.com/c/stdlib.h/abort?rev=1708041892&amp;do=diff</link>
        <description>abort


    #include &lt;stdlib.h&gt;
    void abort(void);


Cause abnormal program termination, and try to catch SIGABRT. 

no return value

C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */
 /* for printf */
#include &lt;stdlib.h&gt;
int main( void )
{
  int x=2,y=5,i;
  i=x+y;
  
  printf(&quot;x = %i | y = %i\n&quot;, x, y);
  
  abort();
   
  /* will never execute, abort will terminate the programm */
  printf(&quot;result of %i+%i= %i…</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/constant/define?rev=1708041922&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:22+02:00</dc:date>
        <title>define</title>
        <link>https://code-reference.com/c/constant/define?rev=1708041922&amp;do=diff</link>
        <description>Constants and Macros
    
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    #define identifier     replacement_name
    #define identifier(identifier_list)     replacement_name


C Example 1


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


#define ANSWER 42

int main(void){
   printf(&quot;the answer to life the universe and everything is %d \n&quot;, ANSWER );
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/fgetwc?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>fgetwc</title>
        <link>https://code-reference.com/c/wchar.h/fgetwc?rev=1708041932&amp;do=diff</link>
        <description>fgetwc


   #include &lt;wchar.h&gt;
   wint_t fgetwc(FILE *);


fgetwc Description

fgetwc reads in a single character from Stream and returns its value as a wide character.

C Sourcecode Example


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

int main( void )
{
    FILE* stream = fopen(&quot;testmb.txt&quot;, &quot;r&quot;);

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

Syntax of getch


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

Description of getch


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


    void rewind(FILE *stream);


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

C Sourcecode Example


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

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


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

seek_position = 21;

stream=fopen(&quot;test.txt&quot;…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/assert.h/assert?rev=1398606376&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-27T15:46:16+02:00</dc:date>
        <title>assert</title>
        <link>https://code-reference.com/c/assert.h/assert?rev=1398606376&amp;do=diff</link>
        <description>void assert(scalar expression);


With assert you can test your programm for logical errors.  



The assert () macro will insert diagnostics into programs 


When executed, if expression (which is a scalar type you have) is false (ie, compares equal to 0), 

assert (), provide information about the particular call that failed to stderr and abort ()</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fseek</title>
        <link>https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff</link>
        <description>int fseek(FILE *stream, long int offset, int origin);


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


     double sinh(double);


return the hyperbolic sinus

C Sourcecode Example

compile in linux with: gcc sinh.c -o sinh -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main (void)
{
  double x;
  x = log(4.2);
  printf (&quot;hyperbolic sine of %lf is %lf\n&quot;, x, sinh(x) );
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/sin?rev=1708041878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:38+02:00</dc:date>
        <title>sin</title>
        <link>https://code-reference.com/cpp/cmath/sin?rev=1708041878&amp;do=diff</link>
        <description>sin


     double sin(double);


return the sinus

cpp Sourcecode Example

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

using namespace std;
int main (void)
{
  double x;
  x = 42.0;

  //cout.setf(ios::fixed, ios::floatfield);
  cout.precision(8);

  cout &lt;&lt; &quot;sine of &quot; &lt;&lt; x &lt;&lt; &quot;° is &quot; &lt;&lt; sin(x*3.1415/80) &lt;&lt; endl;;
  return 0;
}</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/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/graphics.h/showerrorbox?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>showerrorbox</title>
        <link>https://code-reference.com/c/graphics.h/showerrorbox?rev=1708041954&amp;do=diff</link>
        <description>showerrorbox

Syntax of showerrorbox


#include &quot;graphics.h&quot;
void showerrorbox(const char* message=NULL);
  

Description of showerrorbox


The showerrorbox function is available in the winbgim implementation of
BGI graphics. You do not need to include conio.h; just include
graphics.h. The function opens a windows error message box with the
specified message (or a standard message if the message parameter is
NULL). The message box waits for the user to click on OK button before
showerrorbox retu…</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/cpp/control_structures/if?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/cpp/control_structures/if?rev=1708041872&amp;do=diff</link>
        <description>if

The 'if' statement is one of many methods to control the flow of a program.  It tests whether or not a certain condition is true, and then executes code based on the test.


#include &lt;iostream&gt;
using namespace std;

int main(){

if (TRUE){
   cout &lt;&lt; &quot;This statement will be executed&quot;;
}

if (FALSE){
   cout &lt;&lt; &quot;This one will not&quot;;
}
return 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/mysql/mysql.h/mysql_character_set_name?rev=1708042333&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:13+02:00</dc:date>
        <title>mysql_character_set_name</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_character_set_name?rev=1708042333&amp;do=diff</link>
        <description>const char *mysql_character_set_name(MYSQL *mysql)


description of mysql_character_set_name

mysql_character_set_name returns the default character set for the current connection.


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;

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 ) {
printf(&quot;Cant initalisize MySQL\n&quot;…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>fread</title>
        <link>https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff</link>
        <description>fread


    size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);


fread reads num number of objects from a stream (where each object is size bytes) and places them into the array pointed to by buffer. 
The return value of the function is the number of read data</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/wherey?rev=1360707525&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-12T23:18:45+02:00</dc:date>
        <title>wherey</title>
        <link>https://code-reference.com/c/conio.h/wherey?rev=1360707525&amp;do=diff</link>
        <description>int wherey();


description of wherey

return current vertival cursor position


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

int main( void )
{
   int y;
   printf(&quot;The answer is almost 42\n&quot;);
   y = wherey();
   printf(&quot;vertical cursor position from where this text appears = %d\n&quot;,y);
   return 0;
}</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/c/mysql/mysql.h/mysql_debug?rev=1362003170&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:12:50+02:00</dc:date>
        <title>mysql_debug</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_debug?rev=1362003170&amp;do=diff</link>
        <description>void mysql_debug(const char *debug) 


description of mysql_debug

Use this to set debugging if the client was compiled with debugging. The set of options used by default is 'd:t:o,logname'. See the table at the end of the list of options for the mysqldump utility for an explanation of these flags and others that may be used.</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/constant/define?rev=1708041877&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:37+02:00</dc:date>
        <title>define</title>
        <link>https://code-reference.com/cpp/constant/define?rev=1708041877&amp;do=diff</link>
        <description>Constants and Macros
    
#include &lt;iostream&gt; /* including standard library */

    #define identifier     replacement_name
    #define identifier(identifier_list)     replacement_name


cpp Example 1


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


#define ANSWER 42

using namespace std;

int main(void){
   cout &lt;&lt; &quot;the answer to life the universe and everything is &quot; &lt;&lt; ANSWER &lt;&lt; endl;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath?rev=1708040900&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:20+02:00</dc:date>
        <title>cmath</title>
        <link>https://code-reference.com/cpp/cmath?rev=1708040900&amp;do=diff</link>
        <description>mathematical functions
 Function                 Description                 acos        calculates arccosine        asin        calculates arcsine from a number         atan        calculates acustangens from a number        atan2       calculates arctangent from 2 numbers         ceil        rounding up floating point         cos         calculates the cosine of a degree        cosh        calculates the hyperbolic cosine of a number         exp         calculates the exponential value of a nu…</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/c/graphics.h/detectgraph?rev=1708041952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:52+02:00</dc:date>
        <title>detectgraph</title>
        <link>https://code-reference.com/c/graphics.h/detectgraph?rev=1708041952&amp;do=diff</link>
        <description>detectgraph

Syntax of detectgraph


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



Description of detectgraph


detectgraph detects your system's graphics adapter and chooses the mode
that provides the highest resolution for that adapter. If no graphics
hardware is detected, *graphdriver is set to grNotDetected (-2), and
graphresult returns grNotDetected (-2).
*graphdriver is an integer that specifies the graphics driver to be used.
You can give it a value using a …</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/sinh?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>sinh</title>
        <link>https://code-reference.com/cpp/cmath/sinh?rev=1708041879&amp;do=diff</link>
        <description>sinh


     double sinh(double);


return the hyperbolic sinus

cpp Sourcecode Example


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

using namespace std;
int main (void)
{
  double x;
  x = log(4.2);

  //cout.setf(ios::fixed, ios::floatfield);
  cout.precision(8);

  cout &lt;&lt; &quot;hyperbolic sine of &quot; &lt;&lt; x &lt;&lt; &quot; is &quot; &lt;&lt; sinh(x) &lt;&lt; endl;
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>ftell</title>
        <link>https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff</link>
        <description>ftell


    long int ftell(FILE *stream);


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

C Sourcecode Example


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

 
int main( void )
{
    FILE *stream;
    int c;
 
    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Cannot open file.\n&quot;);
        return 1;
      }
 
    while((c = fgetc(stream) ) != EOF) {
        printf(&quot;position of pointer in the stream i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/error?rev=1382538184&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-10-23T16:23:04+02:00</dc:date>
        <title>error</title>
        <link>https://code-reference.com/c/preprocessor/error?rev=1382538184&amp;do=diff</link>
        <description>#error your error_message


description of error

The #error directive emits a user-specified error message at compile time and then terminates the compilation.
The following code will cause in compilation error:


#include&lt;stdio.h&gt;

int main()
{
    printf(&quot;code-reference.com/c&quot;);

    return 0;
}

#if !defined(PASS_COMPILER)
#error Syntax to Pass this stage is required !
#endif</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/fwrite?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>fwrite</title>
        <link>https://code-reference.com/c/stdio.h/fwrite?rev=1708041942&amp;do=diff</link>
        <description>size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);


The fwrite() function writes, from the array buffer, count objects of size size to stream. The return value is the number of objects written. 

C Sourcecode Example


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

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


struct CD_COLLECTION {
  char album_name[42];
  int year;
  char arti…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_get_host_info?rev=1361886971&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T14:56:11+02:00</dc:date>
        <title>mysql_get_host_info</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_get_host_info?rev=1361886971&amp;do=diff</link>
        <description>const char *mysql_get_host_info(MYSQL *mysql)


description of mysql_get_host_info

returns the mysql host information

compile with gcc mysql_get_host_info.c -o mysql_get_host_info `mysql_config –cflags –libs` -Wall 


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
 
int main( void ){
char host[20];
char user[20];
char pass[20];
 
my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(user,&quot;user&quot;);
sprintf(pass,&quot;pass&quot;);
 
if (my == NULL ) {
pri…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_autocommit?rev=1361915690&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T22:54:50+02:00</dc:date>
        <title>mysql_autocommit</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_autocommit?rev=1361915690&amp;do=diff</link>
        <description>my_bool mysql_autocommit(MYSQL *mysql, my_bool mode)


description of mysql_autocommit

mysql_autocommit set the autocommit

0 is off

1 is on


compile with gcc mysql_autocommit.c -o mysql_autocommit `mysql_config –cflags –libs` -Wall 


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
MYSQL_ROW  row;
MYSQL_RES  *mysql_res; 

int main( void ){
char host[20];
char user[20];
char pass[20];
 
my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(us…</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/c/keywords?rev=1358818247&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-22T02:30:47+02:00</dc:date>
        <title>Keywords in C 89/99</title>
        <link>https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff</link>
        <description>C89 Keywords

	*  auto
	*  break
	*  case
	*  char
	*  const
	*  continue
	*  default
	*  do
	*  double
	*  else
	*  enum
	*  extern
	*  float
	*  for
	*  goto
	*  if
	*  int
	*  long
	*  register
	*  return
	*  short
	*  signed
	*  sizeof
	*  static
	*  struct
	*  switch
	*  typedef
	*  union
	*  unsigned
	*  void
	*  volatile
	*  while</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/c/mysql/mysql.h/mysql_eof?rev=1362005186&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:46:26+02:00</dc:date>
        <title>mysql_eof</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_eof?rev=1362005186&amp;do=diff</link>
        <description>my_bool mysql_eof(MYSQL_RES *result)


description of mysql_eof

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

This function is obsolete,use mysql_errno() or mysql_error()</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_get_server_info?rev=1361887552&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T15:05:52+02:00</dc:date>
        <title>mysql_get_server_info</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_get_server_info?rev=1361887552&amp;do=diff</link>
        <description>const char *mysql_get_server_info(MYSQL *mysql)


description of mysql_get_server_info

returns current remote server information 

compile with gcc mysql_get_server_info.c -o mysql_get_server_info `mysql_config –cflags –libs` -Wall 


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
 
int main( void ){
char host[20];
char user[20];
char pass[20];
 
my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(user,&quot;user&quot;);
sprintf(pass,&quot;pass&quot;);
 
if (my…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_get_server_version?rev=1361888045&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T15:14:05+02:00</dc:date>
        <title>mysql_get_server_version</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_get_server_version?rev=1361888045&amp;do=diff</link>
        <description>unsigned long mysql_get_server_version(MYSQL *mysql)


description of mysql_get_server_version

mysql_get_server_version() returns the current version of your mysql client usualy returns the number in the following format XXYYZZ 
XX mainversion

YY release level

ZZ current version number</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_errno?rev=1362005790&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:56:30+02:00</dc:date>
        <title>mysql_errno</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_errno?rev=1362005790&amp;do=diff</link>
        <description>unsigned int mysql_errno(MYSQL *mysql)


description of mysql_errno

returns the error number for the last unsuccessful running function. if the function is successful, it returns 0.
in case of an error the error number and the type of error appears</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_fetch_fields?rev=1362096452&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T01:07:32+02:00</dc:date>
        <title>mysql_fetch_fields</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_fetch_fields?rev=1362096452&amp;do=diff</link>
        <description>MYSQL_FIELD *mysql_fetch_fields(MYSQL_RES *result) 


description of mysql_fetch_fields

mysql_fetch_fields provides an array of information about the fields in a amount of result


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
MYSQL_RES *result;
MYSQL_FIELD *fields;

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 …</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/mysql/mysql.h/mysql_init?rev=1359920158&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T20:35:58+02:00</dc:date>
        <title>mysql_init</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_init?rev=1359920158&amp;do=diff</link>
        <description>MYSQL *mysql_init(MYSQL *mysql)


description of mysql_init

allocates / initializes a MYSQL object and returns a new object


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

#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
 
int main( void ){
char host[20];
char user[20];
char pass[20];
 
my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(user,&quot;root&quot;);
sprintf(pass,&quot;yourpass&quot;);
 
if (my == NULL ) {
printf(&quot;Cant initalisize MySQL\n&quot;);
…</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/c/mysql/mysql.h/mysql_real_connect?rev=1708042327&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:07+02:00</dc:date>
        <title>mysql_real_connect</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_real_connect?rev=1708042327&amp;do=diff</link>
        <description>#include &lt;mysql/mysql.h&gt;
    MYSQL *mysql_real_connect( MYSQL *mysql,
                               const char *host,
                               const char *user,
                               const char *password,
                               const char *database,
                               unsigned int port,
                               const char *unix_socket,
                               unsigned int client_flag );</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fopen?rev=1430730823&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-05-04T11:13:43+02:00</dc:date>
        <title>fopen</title>
        <link>https://code-reference.com/c/stdio.h/fopen?rev=1430730823&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

FILE * fopen (const char * restrict path, const char * restrict mode)


Opens file named restrict path and returns a stream, or NULL on failure. mode may be one of the following for files or one of those strings with b included (after the first character), for binary files.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-12-04T13:27:53+02:00</dc:date>
        <title>fgetc</title>
        <link>https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff</link>
        <description>fgetc


    int fgetc ( FILE * stream );


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

C Sourcecode Example


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


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


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

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

  while((c = fget…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/mysql/mysql.h/mysql_affected_rows?rev=1361914596&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T22:36:36+02:00</dc:date>
        <title>mysql_affected_rows</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_affected_rows?rev=1361914596&amp;do=diff</link>
        <description>my_ulonglong mysql_affected_rows(MYSQL *mysql)


description of mysql_affected_rows

Returns the number of the last UPDATE , DELETE, INSERT. Can be called for UPDATE, DELETE, or INSERT statements directly to mysql_query(). In SELECT statements, mysql_affected_rows() works like mysql_num_rows().</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_get_proto_info?rev=1361888088&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T15:14:48+02:00</dc:date>
        <title>mysql_get_proto_info</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_get_proto_info?rev=1361888088&amp;do=diff</link>
        <description>unsigned int mysql_get_proto_info(MYSQL *mysql)


description of mysql_get_proto_info

returns Protocol Version of current connection

compile with gcc mysql_get_host_info.c -o mysql_get_host_info `mysql_config –cflags –libs` -Wall 


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
 
int main( void ){
char host[20];
char user[20];
char pass[20];
 
my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(user,&quot;user&quot;);
sprintf(pass,&quot;pass&quot;);
 
if (my …</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cassert/assert?rev=1708041878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:38+02:00</dc:date>
        <title>assert</title>
        <link>https://code-reference.com/cpp/cassert/assert?rev=1708041878&amp;do=diff</link>
        <description>void assert(scalar expression);


With assert you can test your programm for logical errors.  



The assert () macro will insert diagnostics into programs 


When executed, if expression (which is a scalar type you have) is false (ie, compares equal to 0), 

assert (), provide information about the particular call that failed to stderr and abort ()</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_close?rev=1359920392&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T20:39:52+02:00</dc:date>
        <title>mysql_close</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_close?rev=1359920392&amp;do=diff</link>
        <description>void mysql_close(MYSQL *mysql);


description of mysql_close

close a previously opened connection

and deallocates the connection handle pointet to mysql

if a pointer was set before from mysql_init



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

#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
 
int main( void ){
char host[20];
char user[20];
char pass[20];
 
my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(user,&quot;root&quot;);
sprintf…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/ungetch?rev=1360707830&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-12T23:23:50+02:00</dc:date>
        <title>ungetch</title>
        <link>https://code-reference.com/c/conio.h/ungetch?rev=1360707830&amp;do=diff</link>
        <description>int ungetch(int ch);


description of ungetch

Pushes a character back into the keyboard buffer.



return

Successful execution ungetch returns the character ch.

If an error occurs, the function returns EOF.



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

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

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

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


    int putc(int char, FILE *stream); 


put char into a stream.

C Sourcecode Example


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

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

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

  if (stream == 0 || destination == 0) { 
     perror(&quot;cannot open stream&quot;);
  …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_fetch_field?rev=1362094056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T00:27:36+02:00</dc:date>
        <title>mysql_fetch_field</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_fetch_field?rev=1362094056&amp;do=diff</link>
        <description>MYSQL_FIELD *mysql_fetch_field(MYSQL_RES *result)


description of mysql_fetch_field

mysql_fetch_field provides a structure MYSQL_FIELD with information about the current field of quantitative results and advance the field pointer to the next field</description>
    </item>
    <item rdf:about="https://code-reference.com/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/mysql/mysql.h/mysql_drop_db?rev=1362003386&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:16:26+02:00</dc:date>
        <title>mysql_drop_db</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_drop_db?rev=1362003386&amp;do=diff</link>
        <description>int mysql_drop_db(MYSQL *mysql, const char *db)


description of mysql_drop_db

mysql_drop_db deletes the specified database in the db parameter.
this function is obsolete. Please instead use mysql_query () to issue an SQL DROP DATABASE statement.


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
 
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,…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_commit?rev=1361919057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T23:50:57+02:00</dc:date>
        <title>mysql_commit</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_commit?rev=1361919057&amp;do=diff</link>
        <description>my_bool mysql_commit(MYSQL *mysql)


description of mysql_commit

mysql_commit Commits the current transaction. 
The action of this function is subject to the value of the completion_type system variable. 

if the value of completion_type is 2, the server performs a release after terminating a transaction and closes the client connection. The client program should call mysql_close().</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdarg.h/va_arg?rev=1708041946&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:46+02:00</dc:date>
        <title>description</title>
        <link>https://code-reference.com/c/stdarg.h/va_arg?rev=1708041946&amp;do=diff</link>
        <description>type va_arg(va_list ap, type);


description


       The va_arg() macro expands to an expression that has the type and value of the
       next argument in the call.  The argument ap is the va_list ap initialized by
       va_start().  Each call to va_arg() modifies ap so that the next call returns
       the next argument.  The argument type is a type name specified so that the
       type of a pointer to an object that has the specified type can be obtained
       simply by adding a * to type…</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/c/mysql/mysql.h/mysql_change_user?rev=1361916183&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T23:03:03+02:00</dc:date>
        <title>mysql_change_user</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_change_user?rev=1361916183&amp;do=diff</link>
        <description>my_bool mysql_change_user(MYSQL *mysql, const char *user, const char *password, const char *db)


description of mysql_change_user

mysql_change_user is used to change the current user for the actual connection



#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
MYSQL_ROW  row;
MYSQL_RES  *mysql_res; 

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(p…</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_create_db?rev=1361919366&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T23:56:06+02:00</dc:date>
        <title>mysql_create_db</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_create_db?rev=1361919366&amp;do=diff</link>
        <description>int mysql_create_db(MYSQL *mysql, const char *db)


description of mysql_create_db

creates the database named by the db parameter. 

mysql_create_db deprecated use mysql_query() to create a database


#include &lt;stdio.h&gt; /* including standard library */ 
#include &lt;mysql/mysql.h&gt;
 
MYSQL *my;
MYSQL_ROW  row;
MYSQL_RES  *mysql_res; 

int main( void ){
char host[20];
char user[20];
char pass[20];
unsigned long numrows = 0;

my = mysql_init(NULL);
 
 
sprintf(host,&quot;localhost&quot;);
sprintf(user,&quot;usernam…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_data_seek?rev=1362002576&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T23:02:56+02:00</dc:date>
        <title>mysql_data_seek</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_data_seek?rev=1362002576&amp;do=diff</link>
        <description>void mysql_data_seek(MYSQL_RES *result, my_ulonglong offset)


description of mysql_data_seek

mysql_data_seek find any row in a result set.

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


Prints str (if non-null) and strerror(errno) to standard error as would:


fprintf(stderr, &quot;%s: %s\n&quot;, (s != NULL ? s : &quot;&quot;), strerror(errno))


C Sourcecode Example


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

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


int main ( void )
{
FILE *stream;

stream = fopen(&quot;test_not_exists.txt&quot;,&quot;r&quot;);

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

Syntax of initgraph


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

Description of initgraph


initgraph initializes the graphics system by loading a graphics driver
from disk (or validating a registered driver), and putting the system
into graphics mode.
To start the graphics system, first call the initgraph function.
initgraph loads the graphics driver and puts the system into graphics
mode. You can tell initgraph to use a particular…</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/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/c/stdio.h/getc?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>getc</title>
        <link>https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff</link>
        <description>getc


    int getc(FILE *stream);


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

C Sourcecode Example


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

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


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

    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Cannot open file.\n&quot;);
        return 1;
    }
      
   whi…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/examples/hostscanner?rev=1708041925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:25+02:00</dc:date>
        <title>c:examples:hostscanner</title>
        <link>https://code-reference.com/c/examples/hostscanner?rev=1708041925&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt;
#include &lt;sys/types.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;netinet/in.h&gt;
#include &lt;netdb.h&gt;
#include &lt;arpa/inet.h&gt;
#define fir 16777216
#define sec 65536
#define the 256

int s;
struct sockaddr_in addr;
char rmt_host[100];
int skan(port)
int port;
{
 int r;
    s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
    if (s &lt; 0) {
       printf(&quot;ERROR: socket() failed\n&quot;);
       exit(0);
    }

    addr.sin_family = PF_INET;
    addr.sin_port = htons(port);
    addr.sin_addr.s_addr = …</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/stdio.h/fgetpos?rev=1361069952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T03:59:12+02:00</dc:date>
        <title>fgetpos</title>
        <link>https://code-reference.com/c/stdio.h/fgetpos?rev=1361069952&amp;do=diff</link>
        <description>int fgetpos(FILE *stream, fpos_t *pos);


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

Description

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

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

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


#include &lt;stdio.h&gt; /* including standard library */

    int fclose( FILE *stream );


Description

Close the current stream / file

Used to close the specified file (stream). You should always use this function, to clean up after using a file. 

Any data that has been written to the file, but not actually made it that far yet, i.e. which has only been written to the file buffer in memory, 

will then be actually written to the physical file itself by the operating system. 

The space i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fputs?rev=1357591171&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-07T21:39:31+02:00</dc:date>
        <title>fputs</title>
        <link>https://code-reference.com/c/stdio.h/fputs?rev=1357591171&amp;do=diff</link>
        <description>int fputs(const char *str, FILE *stream); 


Writes str, to (output) stream stream. Returns non-negative on success or EOF on error.

C Sourcecode Example


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


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

int main( void )
{     
  FILE *stream;
  
  if((stream=fopen(&quot;test.txt&quot;,&quot;w&quot;))==NULL) {
    printf(&quot;Cannot open file for writing.\n&quot;);
    return 1;
  }

  …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/wherex?rev=1360707656&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-12T23:20:56+02:00</dc:date>
        <title>wherex</title>
        <link>https://code-reference.com/c/conio.h/wherex?rev=1360707656&amp;do=diff</link>
        <description>int wherex();


description of wherex

return current horizontal cursor position


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

int main( void )
{
   int x;
   printf(&quot;The answer is almost 42\n&quot;);
   x = wherex();
   printf(&quot;horizontal cursor position from where this text appears = %d\n&quot;,x);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/setjmp.h/longjmp?rev=1360003254&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T19:40:54+02:00</dc:date>
        <title>longjmp</title>
        <link>https://code-reference.com/c/setjmp.h/longjmp?rev=1360003254&amp;do=diff</link>
        <description>void longjmp (jmp_buf env, int val);


description of longjmp

get program state from the stack, useful for debugging.


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

void testit(int);
jmp_buf program_state;

static int count;
void testit(int count) {

   count++; // set counter +1 but it will never reach 2
   printf(&quot;count is now %i\n&quot;, count);
   }

int main(void) {
   count = 0;
   printf(&quot;count starts with: %i\n&quot;, count);

   if(setjmp(program_state) == 0) {
       printf(&quot;save program state in th…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printstream/checkerror?rev=1708042321&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:01+02:00</dc:date>
        <title>checkError</title>
        <link>https://code-reference.com/java/io/printstream/checkerror?rev=1708042321&amp;do=diff</link>
        <description>Flush the stream and return the value of error flag


checkError(); 

return value: boolean true/false


Language Example



no example jet



output
   output for example</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/math.h/sin?rev=1708041935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:35+02:00</dc:date>
        <title>sin</title>
        <link>https://code-reference.com/c/math.h/sin?rev=1708041935&amp;do=diff</link>
        <description>sin


     double sin(double);


return the sinus

C Sourcecode Example

compile in linux with: gcc sin.c -o sin -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main (void)
{
  double x;
  x = 42.0;
  printf (&quot;sine of %lf° is %lf\n&quot;, x, sin(x*3.1415/80) );
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getdefaultpalette?rev=1708041953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:53+02:00</dc:date>
        <title>getdefaultpalette</title>
        <link>https://code-reference.com/c/graphics.h/getdefaultpalette?rev=1708041953&amp;do=diff</link>
        <description>getdefaultpalette

Syntax of getdefaultpalette


#include &lt;graphics.h&gt;
struct palettetype *getdefaultpalette(void);
  

Description of getdefaultpalette


getdefaultpalette finds the palettetype structure that contains the
palette initialized by the driver during initgraph.</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/c/setjmp.h/setjmp?rev=1360003391&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T19:43:11+02:00</dc:date>
        <title>setjmp</title>
        <link>https://code-reference.com/c/setjmp.h/setjmp?rev=1360003391&amp;do=diff</link>
        <description>int setjmp ( jmp_buf env );


description of setjmp

save program state / environment to the stack for a longjump useful for debugging.


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

void testit(int);
jmp_buf program_state;

static int count;
void testit(int count) {

   count++; // set counter +1 but it will never reach 2
   printf(&quot;count is now %i\n&quot;, count);
   }

int main(void) {
   count = 0;
   printf(&quot;count starts with: %i\n&quot;, count);

   if(setjmp(program_state) == 0) {
       printf(&quot;save pr…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/variables?rev=1401900353&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-04T18:45:53+02:00</dc:date>
        <title>cpp:variables</title>
        <link>https://code-reference.com/cpp/variables?rev=1401900353&amp;do=diff</link>
        <description>Variables

Variables are the means of storing data in a program. Say you want to make a calculator, you need to use variables. Say you want to make a program that takes in a word and then modifies it, you need to use variables. Variables can be created and “destroyed”(deconstructing comes later on so don't get your hopes up). The value or information that they store can be changed and in some cases, that you make it so, cannot be. Except for the syntax of the language, you are in control!</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printstream/flush?rev=1708042322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:02+02:00</dc:date>
        <title>flush</title>
        <link>https://code-reference.com/java/io/printstream/flush?rev=1708042322&amp;do=diff</link>
        <description>After all pending data is send to stream the stream will be flushed


flush(); 

return value: boolean true/false


Language Example



 no example jet



output
   no output jet</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/scanf?rev=1400361063&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-17T23:11:03+02:00</dc:date>
        <title>scanf</title>
        <link>https://code-reference.com/c/stdio.h/scanf?rev=1400361063&amp;do=diff</link>
        <description>scanf


  int scanf(const char *format, ...);


The function returns the number of items that were successfully read

EOF if the input stream reached its end, or a negative number if an error occurs.


C Sourcecode Example


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

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


int main ( void )
{
  char input[20];

  printf (&quot;Enter some Text (max 20 chars) &quot;);
  s…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/frexp?rev=1708041936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:36+02:00</dc:date>
        <title>frexp</title>
        <link>https://code-reference.com/c/math.h/frexp?rev=1708041936&amp;do=diff</link>
        <description>frexp


    double frexp(double);


Mantissa m. in *n is the exponent.

C Sourcecode Example

compile in linux with: gcc frexp.c -o frexp -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
  double x;
  int n;

  x = 42.0;
  printf (&quot;%lf * 2^%d = %f\n&quot;, frexp (x , &amp;n), n, x);
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/gotoxy?rev=1439192715&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-08-10T09:45:15+02:00</dc:date>
        <title>gotoxy</title>
        <link>https://code-reference.com/c/conio.h/gotoxy?rev=1439192715&amp;do=diff</link>
        <description>void gotoxy( int x, int y);


description of gotoxy

 places cursor at a desired location on screen.


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

int main( void )
{
   int x, y;
   x = 42;
   y = 42;
   clrscr();
   gotoxy(x, y);

   printf(&quot;gotoxy jumps to cursor position x42 y42.&quot;);

   getch();
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getwindowheight?rev=1708041952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:52+02:00</dc:date>
        <title>getwindowheight</title>
        <link>https://code-reference.com/c/graphics.h/getwindowheight?rev=1708041952&amp;do=diff</link>
        <description>getwindowheight

Syntax of getwindowheight


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

Description of getwindowheight


The getwindowheight function is available in the winbgim implementation
of BGI graphics. The function returns the total height of the window
including nondrawable border areas.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>tmpfile</title>
        <link>https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff</link>
        <description>FILE *tmpfile(void);


tmpfile

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

standard mode (mode “wb+”)

Returns stream or NULL on failure.


C Sourcecode Example


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

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


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

  if( stream == NULL ) {
  perror(&quot;Er…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/vfwscanf?rev=1708041934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:34+02:00</dc:date>
        <title>vfwscanf</title>
        <link>https://code-reference.com/c/wchar.h/vfwscanf?rev=1708041934&amp;do=diff</link>
        <description>vfwscanf
 #include &lt;wchar.h&gt;
 int vfwscanf(FILE *restrict, const wchar_t *restrict, va_list);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wprintf?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>wprintf</title>
        <link>https://code-reference.com/c/wchar.h/wprintf?rev=1708041933&amp;do=diff</link>
        <description>wprintf
 #include &lt;wchar.h&gt;
  int wprintf(const wchar_t *restrict, ...);
return value

C Sourcecode Example


no example yet


output</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/math.h/acos?rev=1708041937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:37+02:00</dc:date>
        <title>acos</title>
        <link>https://code-reference.com/c/math.h/acos?rev=1708041937&amp;do=diff</link>
        <description>acos


    double acos(double);

 calculates arccosine
Linux: compile with gcc acos.c -o acos -lm -Wall   

C Sourcecode Example


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

#include &lt;math.h&gt; /* including math library */

int main ( void ){
    double a=0.2;
    printf(&quot;acos from %f is %f\n&quot;, a, acos(a) * 90 / 3.17);
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/cosh?rev=1708041935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:35+02:00</dc:date>
        <title>cosh</title>
        <link>https://code-reference.com/c/math.h/cosh?rev=1708041935&amp;do=diff</link>
        <description>double cosh(double);


calculates the hyperbolic cosine of a number

C Sourcecode Example

compile in linux with: gcc cosh.c -o cosh -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
double x;
x = log(1.3);
printf(&quot;The log is %f\n&quot;,x);
printf(&quot;the hyperbolic cosine of %f is %f\n&quot;, x, cosh(x));
return 0;
}</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/complex.h/cacosh?rev=1708041972&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:12+02:00</dc:date>
        <title>cacosh</title>
        <link>https://code-reference.com/c/complex.h/cacosh?rev=1708041972&amp;do=diff</link>
        <description>double complex cacosh(double complex z);


description of cacosh

Calculate the Complex Arc Hyperbolic Cosine


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = cacosh(zdouble);
   printf(&quot;cacosh(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/csqrt?rev=1359979300&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T13:01:40+02:00</dc:date>
        <title>csqrt</title>
        <link>https://code-reference.com/c/complex.h/csqrt?rev=1359979300&amp;do=diff</link>
        <description>double complex csqrt(double complex z);


description of csqrt

calculate the complex squareroot


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = csqrt(zdouble);
   printf(&quot;csqrt(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/char?rev=1708041913&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:13+02:00</dc:date>
        <title>char</title>
        <link>https://code-reference.com/c/datatypes/char?rev=1708041913&amp;do=diff</link>
        <description>char
  char
  Character value or small integer
  1byte
  signed: -128 to 127
  unsigned: 0 to 255
You can use to find it out ;)

C Sourcecode Example


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

 
int main(void)
{
   printf(&quot;char: %d bytes\n&quot;, sizeof(char) );
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/iswprint?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>iswprint</title>
        <link>https://code-reference.com/c/wchar.h/iswprint?rev=1708041927&amp;do=diff</link>
        <description>iswprint
 #include &lt;wchar.h&gt;
 int iswprint(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/mbrlen?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>mbrlen</title>
        <link>https://code-reference.com/c/wchar.h/mbrlen?rev=1708041929&amp;do=diff</link>
        <description>mbrlen
 #include &lt;wchar.h&gt;
 size_t mbrlen(const char *restrict, size_t, mbstate_t *restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/modf?rev=1708041936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:36+02:00</dc:date>
        <title>modf</title>
        <link>https://code-reference.com/c/math.h/modf?rev=1708041936&amp;do=diff</link>
        <description>modf


    double modf(double , double *int);


Splits completely paid off and returns the fractional part of x.

C Sourcecode Example

compile in linux with: gcc modf.c -o modf -lm -Wall


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

#include &lt;math.h&gt; /* including math library */

int main ( void )
{
  double i, result;
  result=modf(4.2, &amp;i);
  printf (&quot;%lf + %lf = %lf \n&quot;, i, result, 4.2 );
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/floor?rev=1708041937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:37+02:00</dc:date>
        <title>floor</title>
        <link>https://code-reference.com/c/math.h/floor?rev=1708041937&amp;do=diff</link>
        <description>floor


    double floor(double);


rounding down a number

C Sourcecode Example

compile in linux with: gcc floor.c -o floor -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
double y,x;
x = 4.2;
y = 9.9;
printf(&quot;floor of %f is %f\n&quot;, x, floor(x) );
printf(&quot;floor of %f is %f\n &quot;,y , floor(y) );
return 0;
}</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/c/stdio.h/fdopen?rev=1361800230&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T14:50:30+02:00</dc:date>
        <title>fdopen</title>
        <link>https://code-reference.com/c/stdio.h/fdopen?rev=1361800230&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
FILE *fdopen(int fildes, const char *mode);


description of fdopen

fdopen() is the counterpart to fileno(). As a mode, such as the file is opened, the same modes as the can open() can be used.

fdopen() is often applied to file descriptors that are returned from functions that set up the pipes or channels of communication in networks. This is because some functions like open(), dup(), dup2(), fcntl(), pipe(), ... in networks can not do anythi…</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsfilemanager.h/defaultmanager?rev=1708042342&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:22+02:00</dc:date>
        <title>defaultManager</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsfilemanager.h/defaultmanager?rev=1708042342&amp;do=diff</link>
        <description>defaultManager

    

+ (NSFileManager *)defaultManager;
 


Return Value
- Returns the shared file manager object for the process.

ObjC Sourcecode Example



    // ** Default FileManager **
    NSFileManager *defaultManager = [NSFileManager defaultManager];
    
    // ** Output Default FileManager **
    NSLog(@&quot;DefaultManager: %@&quot;, defaultManager);</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/for?rev=1358462874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-17T23:47:54+02:00</dc:date>
        <title>for</title>
        <link>https://code-reference.com/c/control_structures/for?rev=1358462874&amp;do=diff</link>
        <description>for


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

    for ( init; condition; increment ){
    statements;    
    } 


C Sourcecode Example


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

int main( void )
{
  int i;
  for (i=0;i&lt;=42;i++){
   
        printf(&quot;i is : %i\n&quot;,i);
}

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/stdout?rev=1358093495&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-13T17:11:35+02:00</dc:date>
        <title>stdout</title>
        <link>https://code-reference.com/c/keywords/stdout?rev=1358093495&amp;do=diff</link>
        <description>stdout
 Pointer to a type FILE
 
C Sourcecode Example


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


int main ( void ) 
{
int c=66;

fputc(c, stdout);
return 0;

}


output
  ./stdout.c
  B</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/else?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>else</title>
        <link>https://code-reference.com/c/control_structures/else?rev=1708041885&amp;do=diff</link>
        <description>else


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

    if ( condition == true ){
    command;    
    } else {
       command;
    }


C Sourcecode Example


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


int main( void )
{
  int i;

  for (i=0;i&lt;=99;i++){
    if (i==42) {
        printf(&quot;I have found the answer: %i\n&quot;,i);
    } else {
           printf(&quot;found any other…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/setbuf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>setbuf</title>
        <link>https://code-reference.com/c/stdio.h/setbuf?rev=1708041941&amp;do=diff</link>
        <description>void setbuf(FILE *stream, char *buffer);


Controls buffering for stream stream. For null buf, turns off buffering, otherwise equivalent to (void)setvbuf(stream, buf, _IOFBF, BUFSIZ).

setbuf is deprecated use setvbuf instead

C Sourcecode Example


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

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

 
int main( void )
{
  FILE *stream = fopen(&quot;test.txt&quot;, &quot;w&quot;);
…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getmouseclick?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>getmouseclick</title>
        <link>https://code-reference.com/c/graphics.h/getmouseclick?rev=1708041947&amp;do=diff</link>
        <description>getmouseclick

Syntax of getmouseclick


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

Description of getmouseclick


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

    

- (id)init;
 


Returns a UILabel.

Return Value
- UILabel

ObjC Sourcecode Example



    // ** Init label **
    UILabel *aLabel = [[UILabel alloc]init];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, aLabel);



If you look at the output for this example code, you`ll see that the label`s frame values are “0 0 ; 0 0”!
This is because no frame was set yet. You need to set the frame of the label or it will not be visible after adding it to the view.

It`s recommend to use ”initWithFrame”.…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/clearerr?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>clearerr</title>
        <link>https://code-reference.com/c/stdio.h/clearerr?rev=1708041944&amp;do=diff</link>
        <description>clearerr


    void clearerr(FILE *stream);


Description

The clearerr function resets the error flags and EOF indicator for the given stream.

When an error occurs, you can use |perror()| to figure out which error actually occurred. 

clearerr C Sourcecode Example


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


int main( void )
{
  FILE *handle;
  ha…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/putwchar?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>putwchar</title>
        <link>https://code-reference.com/c/wchar.h/putwchar?rev=1708041927&amp;do=diff</link>
        <description>putwchar
 #include &lt;wchar.h&gt;
 wint_t putwchar(wchar_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/modf?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>modf</title>
        <link>https://code-reference.com/cpp/cmath/modf?rev=1708041879&amp;do=diff</link>
        <description>modf


    double modf(double , double *int);


Splits completely paid off and returns the fractional part of x.

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  double i, result;
  result=modf(4.2, &amp;i);
  
  //cout.setf(ios::fixed, ios::floatfield);
  cout.precision(8);

  cout &lt;&lt; i &lt;&lt; &quot; + &quot; &lt;&lt; result &lt;&lt; &quot; = 4.2 &quot; &lt;&lt; endl;
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/kbhit?rev=1708041900&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:00+02:00</dc:date>
        <title>kbhit</title>
        <link>https://code-reference.com/c/conio.h/kbhit?rev=1708041900&amp;do=diff</link>
        <description>int kbhit();


description of kbhit

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


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

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


output of kbhit c example
  you have touched a key</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/csin?rev=1359979069&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T12:57:49+02:00</dc:date>
        <title>csin</title>
        <link>https://code-reference.com/c/complex.h/csin?rev=1359979069&amp;do=diff</link>
        <description>double complex csin(double complex z);


description of csin

calculate the complex sine


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = csin(zdouble);
   printf(&quot;csin(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsfilemanager.h/init?rev=1708042342&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:22+02:00</dc:date>
        <title>init</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsfilemanager.h/init?rev=1708042342&amp;do=diff</link>
        <description>init

    

- (id)init;
 


Return Value
- An initialized NSFileManager instance.

ObjC Sourcecode Example



    // ** Init FileManager **
    NSFileManager *fileManager = [[NSFileManager alloc]init];
    
    // ** Output FileManager **
    NSLog(@&quot;FilManager: %@&quot;, fileManager);</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/srand?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>srand</title>
        <link>https://code-reference.com/c/stdlib.h/srand?rev=1708041890&amp;do=diff</link>
        <description>srand


    #include &lt;stdlib.h&gt;
    void srand(unsigned int seed);


Description

srand is used to initialize the random number generator.

The use of date / time to initialize the generator 

means that the generated sequence of numbers “random” is.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/dos.h/setdate?rev=1708041965&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:05+02:00</dc:date>
        <title>setdate</title>
        <link>https://code-reference.com/c/dos.h/setdate?rev=1708041965&amp;do=diff</link>
        <description>struct time setdate( struct time );


description of setdate

change the system date



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

int main(void)
{
   struct date d;

   printf(&quot;Please type in new date ( day, month and year ) as int (ddmmyyyy):&quot;);
   scanf(&quot;%d%d%d&quot;,&amp;d.da_day,&amp;d.da_mon,&amp;d.da_year);

   setdate(&amp;d);

   printf(&quot;System date is now %d/%d/%d\n&quot;,d.da_day,d.da_mon,d.da_year);

   getch();
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/asin?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>asin</title>
        <link>https://code-reference.com/cpp/cmath/asin?rev=1708041880&amp;do=diff</link>
        <description>double asin(double);


calculates arcsine from a number

cpp Sourcecode Example


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

using namespace std;
int main ( void ){
    double a=0.2, res=0;

    res = asin(a) * 90 / 3.17;

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;asin from &quot; &lt;&lt; a &lt;&lt; &quot; is &quot; &lt;&lt; res &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/ldiv?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>ldiv</title>
        <link>https://code-reference.com/c/stdlib.h/ldiv?rev=1708041890&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    ldiv_t ldiv(long int numerator, long int denominator);


    calculate the quotient and remainder in integer division (long integer).

ldiv C Sourcecode Example


/* 
 * ldiv c example code
 * http://code-reference.com/c/stdlib.h/ldiv 
 */
#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 )
{
  long int numerator, denominator;
  printf(&quot;please type in (long int) numerator and de…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ferror?rev=1374831141&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-07-26T11:32:21+02:00</dc:date>
        <title>ferror</title>
        <link>https://code-reference.com/c/stdio.h/ferror?rev=1374831141&amp;do=diff</link>
        <description>ferror


    int ferror(FILE *stream);


the function ferror tests the error indicator for the stream pointed to by stream, returning non-zero if it is set. The error indicator can only be reset by the clearerr function.
Returns non-zero if error indicator is set for stream stream.</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/tanh?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>tanh</title>
        <link>https://code-reference.com/cpp/cmath/tanh?rev=1708041879&amp;do=diff</link>
        <description>tanh


    double tanh(double);


Returns hyperbolic tangent of a radian angle x. 

cpp Sourcecode Example


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

using namespace std;
int main( void )
{
    double x;
    x = log(42);

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;hyperbolic tangent of 42 is &quot; &lt;&lt; tanh (x) &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getmaxwidth?rev=1708041950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:50+02:00</dc:date>
        <title>getmaxwidth</title>
        <link>https://code-reference.com/c/graphics.h/getmaxwidth?rev=1708041950&amp;do=diff</link>
        <description>getmaxwidth

Syntax of getmaxwidth


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

Description of getmaxwidth


The getmaxwidth function is available in the winbgim implementation of
BGI graphics. The function returns the maximum width 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.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/textbackground?rev=1414779984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-10-31T19:26:24+02:00</dc:date>
        <title>textbackground</title>
        <link>https://code-reference.com/c/conio.h/textbackground?rev=1414779984&amp;do=diff</link>
        <description>void textbackground(int color);


description of textbackground

change of current background color in text mode
 Color                 Value             BLACK       	0BLUE        	1GREEN       	2CYAN        	3RED         	4MAGENTA     	5BROWN       	6LIGHTGRAY   	7DARKGRAY    	8LIGHTBLUE   	9LIGHTGREEN  	10LIGHTCYAN   	11LIGHTRED    	12LIGHTMAGENTA 	13YELLOW      	14WHITE       	15

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

int main( void )
{
   textbackground(RED);

   cprintf(&quot;and the answer is 42…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/tmpnam?rev=1708041939&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:39+02:00</dc:date>
        <title>tmpnam</title>
        <link>https://code-reference.com/c/stdio.h/tmpnam?rev=1708041939&amp;do=diff</link>
        <description>tmpnam


    char *tmpnam(char *str);


Assigns to s (if s non-null) and returns unique name for a temporary file. Unique name is returned for each of the first TMP_MAX invocations.

C Sourcecode Example


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

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


int main ( void ) 
{
FILE *tmpstream;
char *tmpfile;

tmpfile = tmpnam(NULL);
tmpstream= fopen(tmpfile, &quot;…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/tan?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>tan</title>
        <link>https://code-reference.com/cpp/cmath/tan?rev=1708041880&amp;do=diff</link>
        <description>tan


    double tan(double);


Returns the tangent of a radian angle x. 

cpp Sourcecode Example


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

using namespace std;
int main( void )
{
    double x;
    x = 42;
    
    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;tan of &quot; &lt;&lt; x &lt;&lt; &quot;° is &quot; &lt;&lt; tan (x*3.1415/180) &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fflush?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>fflush</title>
        <link>https://code-reference.com/c/stdio.h/fflush?rev=1708041940&amp;do=diff</link>
        <description>fflush


    int fflush(FILE *stream);


Flushes stream stream and returns zero on success or EOF on error. Effect undefined for input stream. fflush(NULL) flushes all output streams.

C Sourcecode Example


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

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

#define MAX 80
int main( void )
{
  FILE *filestream = fopen(&quot;test.txt&quot;, &quot;rt+&quot;);
  char buffer[MAX];
  i…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/ceil?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>ceil</title>
        <link>https://code-reference.com/cpp/cmath/ceil?rev=1708041879&amp;do=diff</link>
        <description>double ceil(double);


rounding up floating point

cpp Sourcecode Example

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

using namespace std;
int main ( void )
{
  double res = 0;
  res = ceil (4.2);
 
  //cout.setf(ios::fixed, ios::floatfield);
  cout.precision(8);

  cout &lt;&lt; &quot;ceil from 4.2 is &quot; &lt;&lt; res &lt;&lt; endl;
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/sqrt?rev=1708041936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:36+02:00</dc:date>
        <title>sqrt</title>
        <link>https://code-reference.com/c/math.h/sqrt?rev=1708041936&amp;do=diff</link>
        <description>sqrt


    double sqrt(double);


returns the square root

C Sourcecode Example

compile in linux with: gcc sqrt.c -o sqrt -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void )
{
  printf (&quot;square root from 4.2 is %f\n&quot;, sqrt (4.2) );
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/undef?rev=1708041968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:08+02:00</dc:date>
        <title>#undef</title>
        <link>https://code-reference.com/c/preprocessor/undef?rev=1708041968&amp;do=diff</link>
        <description>Description

With the # undef a macro can be overridden.

Status “defined” or “undefined” is an important characteristic of an identifier, regardless of its actual definition.

The # ifdef and # ifndef can be used to check whether an identifier is currently defined or not.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/int?rev=1708041917&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:17+02:00</dc:date>
        <title>int</title>
        <link>https://code-reference.com/c/datatypes/int?rev=1708041917&amp;do=diff</link>
        <description>int
  int    Integer
  4byte*
  signed: -2147483648 - 2147483647
  unsigned: 0 - 4294967295
  
  2byte
  signed -32768 - 32767
  unsigned: 0 - 65535
  
  *hardware-dependent
  it is also possible that int 2Bytes big is
  On a 32 bit system it is 4 bytes
You can use to find it out ;)</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/line?rev=1708041953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:53+02:00</dc:date>
        <title>line</title>
        <link>https://code-reference.com/c/graphics.h/line?rev=1708041953&amp;do=diff</link>
        <description>line

Syntax of line


#include &lt;graphics.h&gt;
void line(int x1, int y1, int x2, int y2);
  

Description of line


line draws a line in the current color, using the current line style and
thickness between the two points specified, (x1,y1) and (x2,y2), without
updating the current position (CP).</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/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/objective-c/foundation.framework/nsarray.h/init?rev=1401479235&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T21:47:15+02:00</dc:date>
        <title>init</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsarray.h/init?rev=1401479235&amp;do=diff</link>
        <description>init

    

- (id)init
 


Returns an empty array.

Return Value
- NSArray

ObjC Sourcecode Example



    // ** Init array **
    NSArray *myArray = [[NSArray alloc]init];
    
    // ** Output array **
    NSLog(@&quot;myArray: %@&quot;, myArray);



If you look at the output for this example code, you`ll see that an empty array was initialized! Because this array is immutable it would make more sense to use a init-method that creates it with some objects or at least one object. For example initWithObje…</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/stdio.h/feof?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>feof</title>
        <link>https://code-reference.com/c/stdio.h/feof?rev=1708041940&amp;do=diff</link>
        <description>int feof(FILE *stream);


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

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

Returns non-zero if end-of-file indicator is set for stream stream.</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/stdio.h/vscanf?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>vscanf</title>
        <link>https://code-reference.com/c/stdio.h/vscanf?rev=1708041942&amp;do=diff</link>
        <description>int vscanf(char * restrict format, va_list arg_ptr); 


description

The functions vscanf(), vfscanf(), and vsscanf() are functionally equivalent to scanf(), fscanf(), and sscanf(), respectively, except that the argument list has been replaced by a pointer to a list of arguments. This pointer must be of type va_list, which is defined in the header .</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>fsetpos</title>
        <link>https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff</link>
        <description>int fsetpos(FILE *stream, const fpos_t *pos); 


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

C Sourcecode Example


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


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

    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Ca…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/cpp/cctype/tolower?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>tolower</title>
        <link>https://code-reference.com/cpp/cctype/tolower?rev=1708041874&amp;do=diff</link>
        <description>#include &lt;cctype&gt;
    int tolower( int char );

  Returns lower case type of the character
cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  /* convert the Chars &quot;I&quot; and &quot;T&quot; to lowercase */
  cout &lt;&lt; static_cast&lt;char&gt;(tolower('I')) &lt;&lt; &quot; WHANT &quot; &lt;&lt; static_cast&lt;char&gt;(tolower('T')) &lt;&lt; &quot;HIS IN LOWERCASE&quot; &lt;&lt; endl;

return 0;
}</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/wchar.h/wmemcpy?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>wmemcpy</title>
        <link>https://code-reference.com/c/wchar.h/wmemcpy?rev=1708041930&amp;do=diff</link>
        <description>wmemcpy
 #include &lt;wchar.h&gt;
  wchar_t *wmemcpy(wchar_t *restrict, const wchar_t *restrict, size_t);
return value

C Sourcecode Example


no example yet


output</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/conio.h/gettextinfo?rev=1360428068&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-09T17:41:08+02:00</dc:date>
        <title>gettextinfo</title>
        <link>https://code-reference.com/c/conio.h/gettextinfo?rev=1360428068&amp;do=diff</link>
        <description>void gettextinfo(struct text_info *r);


description of gettextinfo

Retrieves information from text-mode.

transfers the current text mode video information into the structure text_info pointed to by r.

available is
wintop, winleft, winright, winbottom, attribute, normattr, currmode, screenheight, screenwidth, curx, cury</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcstof?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>wcstof</title>
        <link>https://code-reference.com/c/wchar.h/wcstof?rev=1708041931&amp;do=diff</link>
        <description>wcstof
 #include &lt;wchar.h&gt;
 float wcstof(const wchar_t *restrict, wchar_t **restrict);

return value

C Sourcecode Example


no example yet


output</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/c/wchar.h/wcsncmp?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>wcsncmp</title>
        <link>https://code-reference.com/c/wchar.h/wcsncmp?rev=1708041933&amp;do=diff</link>
        <description>wcsncmp
 #include &lt;wchar.h&gt;
 int  wcsncmp(const wchar_t *, const wchar_t *, size_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcscoll?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>wcscoll</title>
        <link>https://code-reference.com/c/wchar.h/wcscoll?rev=1708041929&amp;do=diff</link>
        <description>wcscoll
 #include &lt;wchar.h&gt;
 int wcscoll(const wchar_t *, const wchar_t *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsspn?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>wcsspn</title>
        <link>https://code-reference.com/c/wchar.h/wcsspn?rev=1708041928&amp;do=diff</link>
        <description>wcsspn
 #include &lt;wchar.h&gt;
 size_t wcsspn(const wchar_t *, const wchar_t *);
return value

C Sourcecode Example


no example yet


output</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/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/wchar.h/iswlower?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>iswlower</title>
        <link>https://code-reference.com/c/wchar.h/iswlower?rev=1708041932&amp;do=diff</link>
        <description>iswlower
 #include &lt;wchar.h&gt;
 int iswlower(wint_t);
return value

C Sourcecode Example


no example yet


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

Syntax of getpixel


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

Description of getpixel


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


Example of getpixel


/* getpixel example */

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

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

int main(void)
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;
   int i, x, y, col…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/file?rev=1708041959&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:59+02:00</dc:date>
        <title>FILE</title>
        <link>https://code-reference.com/c/keywords/file?rev=1708041959&amp;do=diff</link>
        <description>FILE
 FILE Pointer (stream)
 shows on a given file
 
 The data type FILE is a structure that contains information about a file
 or specified data stream. It includes such information as a file descriptor,
 current position, status flags, and more. It is most often used as a pointer
 to a file type, as file I/O functions predominantly take pointers as
 parameters, not the structures themselves (see example below).
C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#inclu…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/do?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>do</title>
        <link>https://code-reference.com/c/control_structures/do?rev=1708041885&amp;do=diff</link>
        <description>do
  Syntax 
  do instruction while ( condition );
C Sourcecode Example


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


int main( void ) {
int i;
    
    do
        printf(&quot;Hello World no %i\n&quot;,i);
    while (i++);
    
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/init?rev=1401479538&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T21:52:18+02:00</dc:date>
        <title>init</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/init?rev=1401479538&amp;do=diff</link>
        <description>init

    

- (instancetype)init
 


Initializes a newly allocated dictionary.

Return Value
- NSDictionary

ObjC Sourcecode Example



    // ** Init dictionary **
    NSDictionary *myDictionary = [[NSDictionary alloc]init];
    
    // ** Output dictionary **
    NSLog(@&quot;myDictionary: %@&quot;, myDictionary);</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/wchar.h/wcstod?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>wcstod</title>
        <link>https://code-reference.com/c/wchar.h/wcstod?rev=1708041933&amp;do=diff</link>
        <description>wcstod
 #include &lt;wchar.h&gt;
 double  wcstod(const wchar_t *restrict, wchar_t **restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcstoll?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>wcstoll</title>
        <link>https://code-reference.com/c/wchar.h/wcstoll?rev=1708041932&amp;do=diff</link>
        <description>wcstoll
 #include &lt;wchar.h&gt;
long long wcstoll(const wchar_t *restrict, wchar_t **restrict, int);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/doublevalue?rev=1708042345&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:25+02:00</dc:date>
        <title>doubleValue</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/doublevalue?rev=1708042345&amp;do=diff</link>
        <description>doubleValue

    

- (double)doubleValue;
 


Returns the receiver’s value.

Return Value
- The receiver’s value as datatyp, converting it as necessary.

ObjC Sourcecode Example



    //** Sample Datatype **
    double myDouble = 3.14;
    
    //** Initializing NSNumber Object **
    NSNumber *myDoubleNumber = [[NSNumber alloc]initWithDouble:myDouble];
    
    //**  To access your value use doubleValue **
    if ([myDoubleNumber doubleValue] == 3.14) {
        
        NSLog(@&quot;myDoubleNumber:…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/swprintf?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>swprintf</title>
        <link>https://code-reference.com/c/wchar.h/swprintf?rev=1708041928&amp;do=diff</link>
        <description>swprintf
 #include &lt;wchar.h&gt;
 int swprintf(wchar_t *restrict, size_t, const wchar_t *restrict, ...);
return value

C Sourcecode Example


no example yet


output</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/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/graphics.h/moverel?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>moverel</title>
        <link>https://code-reference.com/c/graphics.h/moverel?rev=1708041955&amp;do=diff</link>
        <description>moverel

Syntax of moverel


#include &lt;graphics.h&gt;
void moverel(int dx, int dy);
  

Description of moverel


moverel moves the current position (CP) dx pixels in the x direction and
dy pixels in the y direction.


Example of moverel


/* moverel 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 */
  …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getlinesettings?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>getlinesettings</title>
        <link>https://code-reference.com/c/graphics.h/getlinesettings?rev=1708041947&amp;do=diff</link>
        <description>getlinesettings

Syntax of getlinesettings


#include &lt;graphics.h&gt;
void getlinesettings(struct linesettingstype *lineinfo);
  

Description of getlinesettings


getlinesettings fills a linesettingstype structure pointed to by lineinfo
with information about the current line style, pattern, and thickness.
The linesettingstype structure is defined in graphics.h as follows:
struct linesettingstype {
   int linestyle;
   unsigned upattern;
   int thickness;
};
linestyle specifies in which style subs…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/iswalnum?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>iswalnum</title>
        <link>https://code-reference.com/c/wchar.h/iswalnum?rev=1708041932&amp;do=diff</link>
        <description>iswalnum
 #include &lt;wchar.h&gt;
 int iswalnum(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcstok?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>wcstok</title>
        <link>https://code-reference.com/c/wchar.h/wcstok?rev=1708041928&amp;do=diff</link>
        <description>wcstok
 #include &lt;wchar.h&gt;
wchar_t *wcstok(wchar_t *restrict, const wchar_t *restrict, wchar_t **restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/setvbuf?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>setvbuf</title>
        <link>https://code-reference.com/c/stdio.h/setvbuf?rev=1708041944&amp;do=diff</link>
        <description>int setvbuf(FILE *stream, char *buffer, int mode, size_t size); 


Controls buffering for stream stream. mode is _IOFBF for full buffering, _IOLBF for line buffering, _IONBF for no buffering. Non-null buf specifies buffer of size size to be used; otherwise, a buffer is allocated. Returns non-zero on error. Call must be before any other operation on stream.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/fwscanf?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>fwscanf</title>
        <link>https://code-reference.com/c/wchar.h/fwscanf?rev=1708041927&amp;do=diff</link>
        <description>fwscanf
 #include &lt;wchar.h&gt;
 int fwscanf(FILE *restrict, const wchar_t *restrict, ...);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/datatypes/int?rev=1708041876&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:36+02:00</dc:date>
        <title>int</title>
        <link>https://code-reference.com/cpp/datatypes/int?rev=1708041876&amp;do=diff</link>
        <description>int
  int    Integer
  4byte*
  signed: -2147483648 - 2147483647
  unsigned: 0 - 4294967295
  
Cpp Sourcecode Example


#include &lt;iostream&gt;
using namespace std;

int main() 
{    

    cout &lt;&lt; &quot;Size of int: &quot; &lt;&lt; sizeof(int) &lt;&lt; &quot; bytes&quot; &lt;&lt; endl;
    return 0;
}</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/c/graphics.h/registerbgidriver?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>registerbgidriver</title>
        <link>https://code-reference.com/c/graphics.h/registerbgidriver?rev=1708041949&amp;do=diff</link>
        <description>registerbgidriver

Syntax of registerbgidriver


#include &lt;graphics.h&gt;
int registerbgidriver(void (*driver)(void));
  

Description of registerbgidriver


registerbgidriver enables a user to load a driver file and &quot;register&quot; the
driver. Once its memory location has been passed to registerbgidriver,
initgraph uses the registered driver. A user-registered driver can be
loaded from disk onto the heap, or converted to an .OBJ file (using
BGIOBJ.EXE) and linked into the .EXE.
Calling registerbgidrive…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/gettext?rev=1360369313&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-09T01:21:53+02:00</dc:date>
        <title>gettext</title>
        <link>https://code-reference.com/c/conio.h/gettext?rev=1360369313&amp;do=diff</link>
        <description>int gettext(int left, int top, int right, int bottom, void *dst)


description of gettext

copy text from a text mode window in memory.

stores the text content of the rectangular area of ​​the screen, which is defined by left, top, right and bottom, and also stores it in the storage area pointed to by dst.
all coordinates are absolute screen coordinates, not window-based. The top left corner has coordinates (1,1). sequentially reads the contents of the rectangle from the left to right and from …</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/while?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>while</title>
        <link>https://code-reference.com/cpp/control_structures/while?rev=1708041872&amp;do=diff</link>
        <description>while

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

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


cpp Sourcecode Example



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

using namespace std;
int main(void) {
    int i=0;
    
    while (i &lt;= 99) {
        cout &lt;&lt; i &lt;&lt; endl;
        i++;
    }
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/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/math.h/log?rev=1708041936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:36+02:00</dc:date>
        <title>log</title>
        <link>https://code-reference.com/c/math.h/log?rev=1708041936&amp;do=diff</link>
        <description>log


    double log(double);


Natural logarithm of a number

C Sourcecode Example

compile in linux with: gcc log.c -o log -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
double x;
x = log(1.3);
printf(&quot;The log is %f\n&quot;,x);
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/iswpunct?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>iswpunct</title>
        <link>https://code-reference.com/c/wchar.h/iswpunct?rev=1708041930&amp;do=diff</link>
        <description>iswpunct
 #include &lt;wchar.h&gt;
 int iswpunct(wint_t);
return value

C Sourcecode Example


no example yet


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

Syntax of getmaxx


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

Description of getmaxx


getmaxx returns the maximum (screen-relative) x value for the current
graphics driver and mode.
For example, on a CGA in 320*200 mode, getmaxx returns 319. getmaxx is
invaluable for centering, determining the boundaries of a region
onscreen, and so on.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setgraphbufsize?rev=1708041950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:50+02:00</dc:date>
        <title>setgraphbufsize</title>
        <link>https://code-reference.com/c/graphics.h/setgraphbufsize?rev=1708041950&amp;do=diff</link>
        <description>setgraphbufsize

Syntax of setgraphbufsize


#include &lt;graphics.h&gt;
unsigned setgraphbufsize(unsigned bufsize);
  

Description of setgraphbufsize


Some of the graphics routines (such as floodfill) use a memory buffer
that is allocated when initgraph is called and released when closegraph
is called. The default size of this buffer, allocated by _graphgetmem, is
4,096 bytes.
You might want to make this buffer smaller (to save memory space) or
bigger (if, for example, a call to floodfill produces …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printstream/close?rev=1708042322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:02+02:00</dc:date>
        <title>close</title>
        <link>https://code-reference.com/java/io/printstream/close?rev=1708042322&amp;do=diff</link>
        <description>Close and flush the print stream.


close(); 

return value: if IO error true otherwise false


Language Example



no example jet



output
   output for example</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/while?rev=1361019359&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-16T13:55:59+02:00</dc:date>
        <title>while</title>
        <link>https://code-reference.com/c/control_structures/while?rev=1361019359&amp;do=diff</link>
        <description>while

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

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


C Sourcecode Example



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


int main(void) {
    int i=0;
    
    while (i &lt;= 10) {
        printf(&quot;%i\n&quot;,i);
        i++;
    }
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/c/mysql/mysql.h/mysql_get_client_version?rev=1361885901&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T14:38:21+02:00</dc:date>
        <title>mysql_get_client_version</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_get_client_version?rev=1361885901&amp;do=diff</link>
        <description>unsigned long mysql_get_client_version(void)


description of mysql_get_client_version

mysql_get_client_version returns the current version of your mysql client
usualy returns the number in the following format XXYYZZ
XX mainversion
YY release level
ZZ current version number</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setcolor?rev=1430935280&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-05-06T20:01:20+02:00</dc:date>
        <title>setcolor</title>
        <link>https://code-reference.com/c/graphics.h/setcolor?rev=1430935280&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/iswctype?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>iswctype</title>
        <link>https://code-reference.com/c/wchar.h/iswctype?rev=1708041927&amp;do=diff</link>
        <description>iswctype
 #include &lt;wchar.h&gt;
 int iswctype(wint_t, wctype_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/switch?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>Switch</title>
        <link>https://code-reference.com/cpp/control_structures/switch?rev=1708041872&amp;do=diff</link>
        <description>Switch

----------

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


#include &lt;iostream&gt;

int main() {
   int choice;

   cout &lt;&lt; &quot;Choose an option:&quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;1. OJ&quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;2. Milk&quot;&lt;&lt;endl;
   cout &lt;&lt; &quot;3. Water &quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;4. Soda&quot; &lt;&lt; endl;
   cout &lt;&lt; &quot;5. Gatorade&quot; &lt;&lt; endl;
   
   cin &gt;&gt; choice;
   
   // notice the {}, these are…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcschr?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>wcschr</title>
        <link>https://code-reference.com/c/wchar.h/wcschr?rev=1708041929&amp;do=diff</link>
        <description>wcschr
 #include &lt;wchar.h&gt;
 wchar_t *wcschr(const wchar_t *, wchar_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/cproj?rev=1359978598&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T12:49:58+02:00</dc:date>
        <title>cproj</title>
        <link>https://code-reference.com/c/complex.h/cproj?rev=1359978598&amp;do=diff</link>
        <description>double complex cproj(double complex z);


description of cproj

calculate the projection


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = cproj(zdouble);
   printf(&quot;cproj(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcslen?rev=1708041926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:26+02:00</dc:date>
        <title>wcslen</title>
        <link>https://code-reference.com/c/wchar.h/wcslen?rev=1708041926&amp;do=diff</link>
        <description>wcslen
 #include &lt;wchar.h&gt;
 size_t wcslen(const wchar_t *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printstream/append?rev=1708042322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:02+02:00</dc:date>
        <title>append</title>
        <link>https://code-reference.com/java/io/printstream/append?rev=1708042322&amp;do=diff</link>
        <description>Appends a CharSequence


append(char): PrintStream
append(CharSequence): PrintStream
append(CharSequence, int start, int end): PrintStream

return value: PrintStream


Language Example



        int i = 42;
        StringBuffer buf = new StringBuffer(42);
        buf.append(i);
        buf.append(&quot; is a answer to a nice question&quot;);
        System.out.println(buf);</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/uikit.framework/uilabel.h/initwithframe?rev=1356891983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-12-30T19:26:23+02:00</dc:date>
        <title>initWithFrame</title>
        <link>https://code-reference.com/objective-c/uikit.framework/uilabel.h/initwithframe?rev=1356891983&amp;do=diff</link>
        <description>initWithFrame

    

- (id)initWithFrame:(CGRect)frame;
 


Returns a UILabel with a given frame.

Return Value
- UILabel

ObjC Sourcecode Example



    // ** Create a frame **
    CGRect frame = CGRectMake(40.0f, 40.0f, 100.0f, 32.0f);
    
    // ** Init label with frame **
    UILabel *aLabel = [[UILabel alloc]initWithFrame:frame];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, aLabel);</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/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/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/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/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/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/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/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/toupper?rev=1708041875&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:35+02:00</dc:date>
        <title>toupper</title>
        <link>https://code-reference.com/cpp/cctype/toupper?rev=1708041875&amp;do=diff</link>
        <description>toupper


    #include &lt;cctype&gt;
    int toupper( int char );

  Returns upper case type of the character
cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  /* convert the Chars &quot;i&quot; and &quot;t&quot; uppercase  */
  cout &lt;&lt; static_cast&lt;char&gt;(toupper('i')) &lt;&lt; &quot; whant &quot; &lt;&lt; static_cast&lt;char&gt;(toupper('t')) &lt;&lt; &quot;his in uppercase&quot; &lt;&lt; endl;

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-30T21:01:41+02:00</dc:date>
        <title>getchar</title>
        <link>https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff</link>
        <description>getchar


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

   Get a character
C Sourcecode Example


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

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

#include &lt;ctype.h&gt;

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

   while ((chars = getchar()) != '.' ){
      putchar(chars);
   }
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/carg?rev=1359935219&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T00:46:59+02:00</dc:date>
        <title>carg</title>
        <link>https://code-reference.com/c/complex.h/carg?rev=1359935219&amp;do=diff</link>
        <description>double carg(double complex z);


description of carg

Calculate the Argument


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = carg(zdouble);
   printf(&quot;carg(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</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/wchar.h/wmemchr?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>wmemchr</title>
        <link>https://code-reference.com/c/wchar.h/wmemchr?rev=1708041929&amp;do=diff</link>
        <description>wmemchr
 #include &lt;wchar.h&gt;
  wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/abs?rev=1708041889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:49+02:00</dc:date>
        <title>abs</title>
        <link>https://code-reference.com/c/stdlib.h/abs?rev=1708041889&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    int abs(int i);


computes the absolute value of the integer i 

C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */
 /* for printf */
#include &lt;stdlib.h&gt;
 
int main( void )
{
  int i = -42;
  printf(&quot;abs from i = %d\n&quot;, abs(i));
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/labs?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>labs</title>
        <link>https://code-reference.com/c/stdlib.h/labs?rev=1708041890&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    long int labs(long int x);


computes the absolute value of a long integer



returns the absolute value of a number

the case of a negative number the sign is reversed, a positive number is returned unchanged.

labs is functionally equivalent to abs (), but uses the data type long int</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgrect?rev=1708042343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:23+02:00</dc:date>
        <title>valueWithCGRect</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgrect?rev=1708042343&amp;do=diff</link>
        <description>valueWithCGRect

    

+ (NSValue *)valueWithCGRect:(CGRect)rect;
 


Creates and returns an NSValue object that contains the value of a CGRect.

Return Value
- A new NSValue object.

ObjC Sourcecode Example



    //** Sample datatype **
    CGRect aRect = CGRectMake(0.0f, 0.0f, 150.0f, 200.0f);
    
    // ** Create nsvalue object **
    NSValue *cgRectValue = [NSValue valueWithCGRect:aRect];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, cgRectValue);</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/getche?rev=1360348080&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-08T19:28:00+02:00</dc:date>
        <title>getche</title>
        <link>https://code-reference.com/c/conio.h/getche?rev=1360348080&amp;do=diff</link>
        <description>char getche();


description of getche

Reads a character from the keyboard and display it on the screen.

reads a single character from the keyboard, and there are direct or via a BIOS call made ​​in the current text window.


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

int main( void )
{
   printf(&quot;Enter a character : &quot;); 
 
   char ch;
   ch = getche();
   
   printf(&quot;The character was %c&quot;,ch);
   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/objective-c/foundation.framework/nsvalue.h/valuewithcgsize?rev=1708042343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:23+02:00</dc:date>
        <title>valueWithCGSize</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgsize?rev=1708042343&amp;do=diff</link>
        <description>valueWithCGSize

    

+ (NSValue *)valueWithCGSize:(CGSize)size;
 


Creates and returns an NSValue object that contains the value of a CGSize.

Return Value
- A new NSValue object.

ObjC Sourcecode Example



    // ** Sample datatype **
    CGSize aSize = CGSizeMake(150.0f, 200.0f);
    
    // ** Add the value to nsvalue object **
    NSValue *cgSizeValue = [NSValue valueWithCGSize:aSize];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, cgSizeValue);</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/objective-c/foundation.framework/nsnumber.h/charvalue?rev=1708042345&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:25+02:00</dc:date>
        <title>charValue</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/charvalue?rev=1708042345&amp;do=diff</link>
        <description>charValue

    

- (char)charValue;
 


Returns the receiver’s value.

Return Value
- The receiver’s value as datatyp, converting it as necessary.

ObjC Sourcecode Example



    //** Sample Datatype **
    char myChar = 'w';
    
    //** Initializing NSNumber Object **
    NSNumber *myCharNumber = [[NSNumber alloc]initWithChar:myChar];
    
    //**  To access your value use charValue **
    if ([myCharNumber charValue] == 'w') {
        
        NSLog(@&quot;myCharNumber: %@&quot;, myCharNumber);
     …</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/examples/navigationcontroller?rev=1708041979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:19+02:00</dc:date>
        <title>NavigationController</title>
        <link>https://code-reference.com/objective-c/examples/navigationcontroller?rev=1708041979&amp;do=diff</link>
        <description>Add a UIViewController named RootViewController to your empty project

Create a NavigationController for your project

First step import the RootViewController.h in your AppDelegate


#import &quot;RootViewController.h&quot;


Second step initialize NavigationController with RootViewController and add it to window</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/examples/rootviewcontroller?rev=1708041979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:19+02:00</dc:date>
        <title>RootViewController</title>
        <link>https://code-reference.com/objective-c/examples/rootviewcontroller?rev=1708041979&amp;do=diff</link>
        <description>Add a UIViewController named RootViewController to your empty project

Add a RootViewController to your project

First step import the RootViewController.h in your AppDelegate


#import &quot;RootViewController.h&quot;


Second step initialize and add the RootViewController to window</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/due_only/analogreadresolution?rev=1708041863&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:23+02:00</dc:date>
        <title>analogReadResolution()</title>
        <link>https://code-reference.com/arduino/due_only/analogreadresolution?rev=1708041863&amp;do=diff</link>
        <description>Description

analogReadResolution() is an extension of the Analog API for the Arduino Due.

Sets the size (in bits) of the value returned by analogRead(). It defaults to 10 bits (returns values between 0-1023) for backward compatibility with AVR based boards.</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/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/c/wchar.h/iswspace?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>iswspace</title>
        <link>https://code-reference.com/c/wchar.h/iswspace?rev=1708041930&amp;do=diff</link>
        <description>iswspace
 #include &lt;wchar.h&gt;
 int iswspace(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsstr?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>wcsstr</title>
        <link>https://code-reference.com/c/wchar.h/wcsstr?rev=1708041929&amp;do=diff</link>
        <description>wcsstr
 #include &lt;wchar.h&gt;
 wchar_t  *wcsstr(const wchar_t *restrict, const wchar_t *restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/dos.h/nosound?rev=1708041964&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:04+02:00</dc:date>
        <title>nosound</title>
        <link>https://code-reference.com/c/dos.h/nosound?rev=1708041964&amp;do=diff</link>
        <description>void nosound( void );


description of nosound

turn off the PC speaker.


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

int main(void)
{
   sound(400);
   delay(1000);
   nosound();

   return 0;
}



output of nosound c example
  silence :D</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/data_types/void?rev=1708041852&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:12+02:00</dc:date>
        <title>void</title>
        <link>https://code-reference.com/arduino/data_types/void?rev=1708041852&amp;do=diff</link>
        <description>The void keyword is used only in function declarations. It indicates that the function is expected to return no information to the function from which it was called.

Example:


// actions are performed in the functions &quot;setup&quot; and &quot;loop&quot;
// but  no information is reported to the larger program

void setup()
{
  // ...
}

void loop()
{
  // ...
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/mysql/mysql.h/mysql_get_client_info?rev=1708042333&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:13+02:00</dc:date>
        <title>mysql_get_client_info</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_get_client_info?rev=1708042333&amp;do=diff</link>
        <description>mysql_get_client_info


const char *mysql_get_client_info(void)


 Returns the mysql client library version

C Sourcecode Example

compile with gcc mysql_get_client_info.c -o mysql_get_client_info `mysql_config --cflags --libs` -Wall

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

#include &lt;mysql/mysql.h&gt;

int main( void )
{
  printf(&quot;version: %s\n&quot;, mysql_get_client_info());
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/textcolor?rev=1360428990&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-09T17:56:30+02:00</dc:date>
        <title>textcolor</title>
        <link>https://code-reference.com/c/conio.h/textcolor?rev=1360428990&amp;do=diff</link>
        <description>void textcolor(int color);


description of textcolor

change the color of drawing text  where color is a integer variable
 Color                 Value             BLACK       	0BLUE        	1GREEN       	2CYAN        	3RED         	4MAGENTA     	5BROWN       	6LIGHTGRAY   	7DARKGRAY    	8LIGHTBLUE   	9LIGHTGREEN  	10LIGHTCYAN   	11LIGHTRED    	12LIGHTMAGENTA 	13YELLOW      	14WHITE       	15

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

int main( void )
{
   textcolor(BLUE+BLINK);
   cprintf(&quot;textcolor…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/delay?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>delay</title>
        <link>https://code-reference.com/c/graphics.h/delay?rev=1708041949&amp;do=diff</link>
        <description>delay

Syntax of delay


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

Description of delay


The delay function is available in the winbgim implementation of BGI
graphics. You do not need to include conio.h; just include graphics.h.
The function pauses the computation for the the specified number of
milliseconds.</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/uikit.framework/uiimageview.h/initwithframe?rev=1708042338&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:18+02:00</dc:date>
        <title>initWithFrame</title>
        <link>https://code-reference.com/objective-c/uikit.framework/uiimageview.h/initwithframe?rev=1708042338&amp;do=diff</link>
        <description>initWithFrame

    

- (id)initWithFrame:(CGRect)frame;
 


Returns a UIImageView with a given frame.

Return Value
- UIImageView

ObjC Sourcecode Example



    // ** Create a frame **
    CGRect frame = CGRectMake(40.0f, 40.0f, 100.0f, 100.0f);
    
    // ** Initialize imageView with frame**
    UIImageView *myImageView = [[UIImageView alloc]initWithFrame:frame];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, myImageView);</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/wchar.h/iswxdigit?rev=1708041926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:26+02:00</dc:date>
        <title>iswxdigit</title>
        <link>https://code-reference.com/c/wchar.h/iswxdigit?rev=1708041926&amp;do=diff</link>
        <description>iswxdigit
 #include &lt;wchar.h&gt;
 int iswxdigit(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/floatvalue?rev=1708042346&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:26+02:00</dc:date>
        <title>floatValue</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/floatvalue?rev=1708042346&amp;do=diff</link>
        <description>floatValue

    

- (float)floatValue;
 


Returns the receiver’s value.

Return Value
- The receiver’s value as datatyp, converting it as necessary.

ObjC Sourcecode Example



    //** Sample Datatype **
    float myFloat = 1.123456f;
    
    //** Initializing NSNumber Object **
    NSNumber *myFloatNumber = [[NSNumber alloc]initWithFloat:myFloat];
    
    //**  To access your value use floatValue **
    if ([myFloatNumber floatValue] == 1.123456f) {
        
        NSLog(@&quot;myFloatNumber:%@…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wctob?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>wctob</title>
        <link>https://code-reference.com/c/wchar.h/wctob?rev=1708041931&amp;do=diff</link>
        <description>wctob
 #include &lt;wchar.h&gt;
  int wctob(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcspbrk?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>wcspbrk</title>
        <link>https://code-reference.com/c/wchar.h/wcspbrk?rev=1708041929&amp;do=diff</link>
        <description>wcspbrk
 #include &lt;wchar.h&gt;
 wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
return value

C Sourcecode Example


no example yet


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

Syntax of bar


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

Description of bar


bar draws a filled-in, rectangular, two-dimensional bar. The bar is
filled using the current fill pattern and fill color. bar does not
outline the bar; to draw an outlined two-dimensional bar, use bar3d with
depth equal to 0.
The upper left and lower right corners of the rectangle are given by
(left, top) and (right, bottom), respectively. The coordinates refer to
pixels.</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/ldexp?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>ldexp</title>
        <link>https://code-reference.com/cpp/cmath/ldexp?rev=1708041880&amp;do=diff</link>
        <description>ldexp


    double ldexp(double , int exp);


Returns x times 2 raised to n

cpp Sourcecode Example

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

using namespace std;
int main ( void ) 
{

  //cout.setf(ios::fixed, ios::floatfield);
  cout.precision(8);

  cout &lt;&lt; &quot;4.2 raised to 2 is &quot; &lt;&lt;  ldexp(4.2, 2) &lt;&lt; endl;
  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/bufsiz?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>BUFSIZ</title>
        <link>https://code-reference.com/c/stdio.h/bufsiz?rev=1708041944&amp;do=diff</link>
        <description>type Macro


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


The value for BUFSIZ should normally be 256 KB, 512 KB or 4096 KB. This depends on the system and the compiler.

BUFSIZ C Sourcecode Example


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



int main (void) {
    printf (&quot;The m…</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/objective-c/examples/tabbarcontroller?rev=1708041979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:19+02:00</dc:date>
        <title>TabBarController</title>
        <link>https://code-reference.com/objective-c/examples/tabbarcontroller?rev=1708041979&amp;do=diff</link>
        <description>Add two UIViewController named RootViewController and SecondRootViewController to your empty project

Create a TabBarController for your project

First step import the RootViewController.h and SecondRootViewController.h in your AppDelegate


#import &quot;RootViewController.h&quot;
#import &quot;SecondRootViewController.h&quot;</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setviewport?rev=1415235930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-11-06T02:05:30+02:00</dc:date>
        <title>setviewport</title>
        <link>https://code-reference.com/c/graphics.h/setviewport?rev=1415235930&amp;do=diff</link>
        <description>setviewport

Syntax of setviewport


#include &lt;graphics.h&gt;
void setviewport(int left, int top, int right, int bottom, int clip);
  

Description of setviewport


setviewport establishes a new viewport for graphics output.
The viewport corners are given in absolute screen coordinates by
(left,top) and (right,bottom). The current position (CP) is moved to
(0,0) in the new window.
The parameter clip determines whether drawings are clipped (truncated) at
the current viewport boundaries. If clip is n…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/goto?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>goto</title>
        <link>https://code-reference.com/cpp/control_structures/goto?rev=1708041872&amp;do=diff</link>
        <description>goto
  Syntax: 
  goto Jumppoint;
  
  Jumppoint: e.g. instruction function
cpp Sourcecode Example


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

using namespace std;
int main( void ){

int i;

for (i=0;i&lt;=99;i++) {
    if (i==42) {
        goto jump_point;
    }
}

jump_point: cout &lt;&lt; &quot;Found the answer &quot; &lt;&lt; i &lt;&lt; &quot; ... is this right ?&quot; &lt;&lt; endl;

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

Example of registermousehandler


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

// The click_handler will be called whenever the left mouse button is
// clicked. It checks copies the x,y coordinates of the click to
// see if the click was on a red pixel. If so, then the boolean
// variable red_clicked is set to true. Note that in general
// all handlers should be quick. If they need to do more than a little
// work, they should set a variable that will trigger the work going,
…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/double?rev=1708041912&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:12+02:00</dc:date>
        <title>double</title>
        <link>https://code-reference.com/c/datatypes/double?rev=1708041912&amp;do=diff</link>
        <description>double
  double
  8 Byte
  2.3E-308 - 1.7E+308
  precision 15
You can use to find it out ;)

C Sourcecode Example


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

 
int main(void)
{
   printf(&quot;double: %d bytes\n&quot;, sizeof(double) );
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/dos.h/getdate?rev=1708041965&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:05+02:00</dc:date>
        <title>getdate</title>
        <link>https://code-reference.com/c/dos.h/getdate?rev=1708041965&amp;do=diff</link>
        <description>description of getdate

Program to print the current system date, getdate c code below explain how to use this function to print computer date.


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

int main(void)
{
   struct date d;
   getdate(&amp;d);
   printf(&quot;Date is %d/%d/%d\n&quot;,d.da_day,d.da_mon,d.da_year);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcstol?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>wcstol</title>
        <link>https://code-reference.com/c/wchar.h/wcstol?rev=1708041927&amp;do=diff</link>
        <description>wcstol
 #include &lt;wchar.h&gt;
long wcstol(const wchar_t *restrict, wchar_t **restrict, int);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/void?rev=1708041917&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:17+02:00</dc:date>
        <title>void</title>
        <link>https://code-reference.com/c/datatypes/void?rev=1708041917&amp;do=diff</link>
        <description>void
  void
  0 Bytes
  
C Sourcecode Example

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

 
int main(void)
{
   printf(&quot;void: %d bytes\n&quot;, sizeof(void) );
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/arithmetic_operators/arithmetic?rev=1360952127&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T19:15:27+02:00</dc:date>
        <title>Addition, Subtraction, Multiplication, &amp; Division</title>
        <link>https://code-reference.com/arduino/arithmetic_operators/arithmetic?rev=1360952127&amp;do=diff</link>
        <description>Description

These operators return the sum, difference, product, or quotient (respectively) of the two operands.  The operation is conducted using the data type of the operands, so, for example, 9 / 4 gives 2 since 9 and 4 are ints.  This also means that the operation can overflow if the result is larger than that which can be stored in the data type (e.g. adding 1 to an int with the value 32,767 gives -32,768).  If the operands are of different types, the “larger” type is used for the calculat…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/datatypes/void?rev=1708041876&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:36+02:00</dc:date>
        <title>void</title>
        <link>https://code-reference.com/cpp/datatypes/void?rev=1708041876&amp;do=diff</link>
        <description>void
  void
  0 Bytes
  
Cpp Sourcecode Example


#include &lt;iostream&gt;
using namespace std;
 
int main() 
{    
 
    cout &lt;&lt; &quot;Size of void: &quot; &lt;&lt; sizeof(void) &lt;&lt; &quot; bytes&quot; &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/long?rev=1708041914&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:14+02:00</dc:date>
        <title>long</title>
        <link>https://code-reference.com/c/datatypes/long?rev=1708041914&amp;do=diff</link>
        <description>long
  #include &lt;stdio.h&gt; /* including standard library */
  //#include &lt;windows.h&gt; /* uncomment this for Windows */  long
  4 Byte
  signed: -2147483648 - 2147483647
  unsigned:  0 - 4294967295
  
  8 Byte
  signed: -9223372036854775808 - 9223372036854775807
  unsigned: 0 - 18446744073709551615
  
C Sourcecode Example


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

 
int main(void){
printf(&quot;long: %ld bytes\n&quot;, sizeof(long) );
}
retu…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsrtombs?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>wcsrtombs</title>
        <link>https://code-reference.com/c/wchar.h/wcsrtombs?rev=1708041933&amp;do=diff</link>
        <description>#include &lt;wchar.h&gt;
   size_t wcsrtombs(char *restrict, const wchar_t **restrict, size_t, mbstate_t *restrict);


return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/dos.h/sleep?rev=1708041965&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:05+02:00</dc:date>
        <title>sleep</title>
        <link>https://code-reference.com/c/dos.h/sleep?rev=1708041965&amp;do=diff</link>
        <description>void sleep( int );


description of sleep

delay programm for given number of seconds



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

int main( void )
{
   printf(&quot;Wait or better sleep for 42 seconds to continue.\n&quot;);
   sleep(42);
   printf(&quot;Programm execution continued after 42 seconds&quot;);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/examples/ftp_scanner?rev=1708041925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:25+02:00</dc:date>
        <title>simple ftp scanner</title>
        <link>https://code-reference.com/c/examples/ftp_scanner?rev=1708041925&amp;do=diff</link>
        <description>simple ftp scanner

written by MoD and ZehDeh 2001

example of a simple ftp scanner in c


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


void logintoftp();

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

int sockfd;

int main(int argc, char **argv)
{
	char sendln[1024], recvln[4048], buf1[800], buf2[1000];
	char *p, *q;
	int len, offset =…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/vswscanf?rev=1708041934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:34+02:00</dc:date>
        <title>vswscanf</title>
        <link>https://code-reference.com/c/wchar.h/vswscanf?rev=1708041934&amp;do=diff</link>
        <description>vswscanf
 #include &lt;wchar.h&gt;
 int vswscanf(const wchar_t *restrict, const wchar_t *restrict, va_list);
return value

C Sourcecode Example


no example yet


output</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/c/wchar.h/wcstoul?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>wcstoul</title>
        <link>https://code-reference.com/c/wchar.h/wcstoul?rev=1708041932&amp;do=diff</link>
        <description>wcstoul
 #include &lt;wchar.h&gt;
 unsigned long wcstoul(const wchar_t *restrict, wchar_t **restrict, int);
return value

C Sourcecode Example


no example yet


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

Syntax of installuserfont


#include &lt;graphics.h&gt;
int installuserfont(char *name);
  

Description of installuserfont


name is a file name in the current directory (pathname is not supported)
of a font file containing a stroked font. Up to twenty fonts can be
installed at one time.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/digital_io/digitalread?rev=1708041846&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:06+02:00</dc:date>
        <title>digitalRead()</title>
        <link>https://code-reference.com/arduino/digital_io/digitalread?rev=1708041846&amp;do=diff</link>
        <description>Description

Reads the value from a specified digital pin, either HIGH or LOW.

Syntax

digitalRead(pin)

Parameters

pin: the number of the digital pin you want to read (int)

Returns

HIGH or LOW

Example


int ledPin = 13; // LED connected to digital pin 13
int inPin = 7;   // pushbutton connected to digital pin 7
int val = 0;     // variable to store the read value

void setup()
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin 13 as output
  pinMode(inPin, INPUT);      // sets the d…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/clog?rev=1359977276&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T12:27:56+02:00</dc:date>
        <title>clog</title>
        <link>https://code-reference.com/c/complex.h/clog?rev=1359977276&amp;do=diff</link>
        <description>double complex clog(double complex z);


description of clog

calculate the complex natural logarithm


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = clog(zdouble);
   printf(&quot;clog(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/advanced_io/shiftout?rev=1360951161&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T18:59:21+02:00</dc:date>
        <title>shiftOut()</title>
        <link>https://code-reference.com/arduino/advanced_io/shiftout?rev=1360951161&amp;do=diff</link>
        <description>Description

Shifts out a byte of data one bit at a time.  Starts from either the most (i.e. the leftmost) or least (rightmost) significant bit.  Each bit is written in turn to a data pin, after which a clock pin is pulsed (taken high, then low) to indicate that the bit is available.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/bar3d?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>bar3d</title>
        <link>https://code-reference.com/c/graphics.h/bar3d?rev=1708041957&amp;do=diff</link>
        <description>bar3d

Syntax of bar3d


#include &lt;graphics.h&gt;
void bar3d(int left, int top, int right, int bottom, int depth, int
topflag);
  

Description of bar3d


bar3d draws a three-dimensional rectangular bar, then fills it using the
current fill pattern and fill color. The three-dimensional outline of the
bar is drawn in the current line style and color. The bar's depth in
pixels is given by depth. The topflag parameter governs whether a three-
dimensional top is put on the bar. If topflag is nonzero, a…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/getch?rev=1404548655&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-07-05T10:24:15+02:00</dc:date>
        <title>getch</title>
        <link>https://code-reference.com/c/conio.h/getch?rev=1404548655&amp;do=diff</link>
        <description>int getch();


description of getch

prompts the user to press a character and that character is not printed on screen


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

int main (void) 
{

   int c;
   printf(&quot;type in a letter on your keyboard :&quot;);
   c = getch();
   putch(c);
   return 0;

}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/goto?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>goto</title>
        <link>https://code-reference.com/c/control_structures/goto?rev=1708041885&amp;do=diff</link>
        <description>goto
  Syntax: 
  goto Jumppoint;
  
  Jumppoint: e.g. instruction function
C Sourcecode Example


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


int main( void ){

int i;

for (i=0;i&lt;=99;i++) {
    if (i==42) {
        goto jump_point;
    }
}

jump_point: printf(&quot;Found the answer %i ... is this right ?\n&quot;,i);

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/cos?rev=1708041935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:35+02:00</dc:date>
        <title>cos</title>
        <link>https://code-reference.com/c/math.h/cos?rev=1708041935&amp;do=diff</link>
        <description>double cos(double);


calculates the cosine of a degree

C Sourcecode Example

compile in linux with: gcc cos.c -o cos -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
double x;
x = 90;
printf(&quot;the cosine of %f ° is %f\n&quot;, x, cos(x*3.14159/42));
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/math/map?rev=1708041860&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:20+02:00</dc:date>
        <title>map(value, fromLow, fromHigh, toLow, toHigh)</title>
        <link>https://code-reference.com/arduino/math/map?rev=1708041860&amp;do=diff</link>
        <description>Description

Re-maps a number from one range to another.  That is, a value of fromLow would get mapped to toLow, a value of fromHigh to toHigh, values in-between to values in-between, etc.

Does not constrain values to within the range, because out-of-range values are sometimes intended and useful. The constrain() function may be used either before or after this function, if limits to the ranges are desired.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcswidth?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>wcswidth</title>
        <link>https://code-reference.com/c/wchar.h/wcswidth?rev=1708041930&amp;do=diff</link>
        <description>wcswidth
 #include &lt;wchar.h&gt;
 int wcswidth(const wchar_t *, size_t);
return value

C Sourcecode Example


no example yet


output</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/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/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/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:58+02:00</dc:date>
        <title>clearmouseclick</title>
        <link>https://code-reference.com/c/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff</link>
        <description>clearmouseclick

Syntax of clearmouseclick


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

Description of clearmouseclick


The clearmouseclick function is available in the winbgim implementation
of BGI graphics. This is just like getmouseclick, except it does not
provide the x and y coordinates of the event. The value of the argument
kind may be any of the constants listed above. After calling
getmouseclick, for a particular kind of event, the ismouseclick will
return false for that…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/c/math.h/fabs?rev=1708041935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:35+02:00</dc:date>
        <title>fabs</title>
        <link>https://code-reference.com/c/math.h/fabs?rev=1708041935&amp;do=diff</link>
        <description>fabs


    double fabs(double);


calculates the absolute number of a given value

C Sourcecode Example

compile in linux with: gcc fabs.c -o fabs -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
double y,x;
x = 4.2422;
y = -3284.2;
printf(&quot;the fabs of 4.2422 is %f\n&quot;, fabs(x) );
printf(&quot;and the fabs of -3284.2 is %f\n &quot;, fabs(y) );
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/freopen?rev=1708041945&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:45+02:00</dc:date>
        <title>freopen</title>
        <link>https://code-reference.com/c/stdio.h/freopen?rev=1708041945&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    FILE *freopen( const char *fname, const char *mode, FILE *stream );


closes file associated with stream, then opens file filename with specified mode and associates it with stream. Returns stream or NULL on error.</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/control_structures/continue?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>continue</title>
        <link>https://code-reference.com/c/control_structures/continue?rev=1708041885&amp;do=diff</link>
        <description>continue;
C Sourcecode Example


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


int main( void ) {
int i;

for (i=0;i&lt;=80;i++) {
    if (i==42) continue;
    printf(&quot;The answer is probably not %i\n&quot;,i);
}

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/asin?rev=1708041937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:37+02:00</dc:date>
        <title>asin</title>
        <link>https://code-reference.com/c/math.h/asin?rev=1708041937&amp;do=diff</link>
        <description>double asin(double);


calculates arcsine from a number

C Sourcecode Example

compile in linux with: gcc asin.c -o asin -lm -Wall


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

#include &lt;math.h&gt; /* including math library */

int main ( void ){
    double a=0.2;
    printf(&quot;asin from %f is %f\n&quot;, a, asin(a) * 90 / 3.17);
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/ceil?rev=1708041936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:36+02:00</dc:date>
        <title>ceil</title>
        <link>https://code-reference.com/c/math.h/ceil?rev=1708041936&amp;do=diff</link>
        <description>double ceil(double);


rounding up floating point

C Sourcecode Example

compile in linux with: gcc ceil.c -o ceil -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ()
{
  printf (&quot;ceil from 4.2 is %f\n&quot;, ceil (4.2) );
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/mbstowcs?rev=1708041891&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:51+02:00</dc:date>
        <title>mbstowcs</title>
        <link>https://code-reference.com/c/stdlib.h/mbstowcs?rev=1708041891&amp;do=diff</link>
        <description>mbstowcs


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

Description

mbstowcs converts multibyte characters to wide characters

mbstowcs c sourcecode example


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

int main( void )
{
    char      mbinput[8] =  &quot;\x54\x65\x73\x74\x20\x31\x32&quot;;
    wchar_t   output[8];
    size_t    wcssize;

    wcssize = mbstowcs(output, mbinput, 8);
…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/do?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>do</title>
        <link>https://code-reference.com/cpp/control_structures/do?rev=1708041872&amp;do=diff</link>
        <description>do
  Syntax 
  do instruction while ( condition );
cpp Sourcecode Example


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

using namespace std;

int main( void ) {
int i;
    
    do
        cout &lt;&lt; &quot;Hello World no &quot; &lt;&lt; i &lt;&lt; endl;
    while (i++);
    
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/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/c/stdio.h/putchar?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>putchar</title>
        <link>https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff</link>
        <description>putchar


    int putchar(int char); 


put a character into stdout

C Sourcecode Example


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

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


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

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/examples/talk_to_a_modem?rev=1708041925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:25+02:00</dc:date>
        <title>Talk to a Modem</title>
        <link>https://code-reference.com/c/examples/talk_to_a_modem?rev=1708041925&amp;do=diff</link>
        <description>Talk to a Modem

This is a Simple source how to Access a Modem.

it is very simple, just write a Modem Command to your Serial Port

in this case a serial Port ttyS0 in Linux


C Sourcecode to acces a modem


#include &lt;stdio.h&gt;
#include &lt;unistd.h&gt; // for sleep

/**
 * argument 1 is the number to dial
 * for this example you need a modem on Serial Port (in linux)
 */
int main(int argc,char *argv[])
{
    FILE *modem;
    char get[100];

    modem=fopen(&quot;/dev/ttyS0&quot;,&quot;rw&quot;);
    fprintf(modem,&quot;ATZ\r\…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/ccosh?rev=1359937725&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:28:45+02:00</dc:date>
        <title>ccosh</title>
        <link>https://code-reference.com/c/complex.h/ccosh?rev=1359937725&amp;do=diff</link>
        <description>double complex ccosh(double complex z);


description of ccosh

calculate the complex hyperbolic cosine


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = ccosh(zdouble);
   printf(&quot;ccosh(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/allkeys?rev=1708042339&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:19+02:00</dc:date>
        <title>allKeys</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/allkeys?rev=1708042339&amp;do=diff</link>
        <description>allKeys

    

- (NSArray *)allKeys
 


Returns a new array containing the dictionary’s keys, or an empty array if the dictionary has no entries.

Return Value
- NSArray

ObjC Sourcecode Example



    // ** Init dictionary with entries
    NSDictionary *myDictionary = [[NSDictionary alloc]initWithObjectsAndKeys:@&quot;value1&quot;, @&quot;key1&quot;, @&quot;value2&quot;, @&quot;key2&quot;, nil];
    
    NSArray *keysArray = [myDictionary allKeys];
    
    // ** Output dictionary keys
    NSLog(@&quot;myDictionary all keys: %@&quot;, keysArra…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/fwide?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>fwide</title>
        <link>https://code-reference.com/c/wchar.h/fwide?rev=1708041927&amp;do=diff</link>
        <description>fwide
 #include &lt;wchar.h&gt;
 int fwide(FILE *stream, int mode);
fwide shall determine the orientation of the stream pointed to by stream. 

return value

greater than 0 if, after the call, the stream has wide-orientation

less than 0 if the stream has byte-orientation

0 if the stream has no orientation.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/clrscr?rev=1708041902&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:02+02:00</dc:date>
        <title>clrscr</title>
        <link>https://code-reference.com/c/conio.h/clrscr?rev=1708041902&amp;do=diff</link>
        <description>void clrscr (void);


description of clrscr

clears the screen and move the cursor to upper left corner of the screen.


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

int main(void)
{
   printf(&quot;press any key to start this clrscr example\n&quot;);
   getch();
   clrscr();
   printf(&quot;Jeah i have overwritten the last content.\n&quot;);
   printf(&quot;to exit... press a key\n&quot;);
   getch();
   return 0;
}</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/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/c/conio.h/delline?rev=1708041903&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:03+02:00</dc:date>
        <title>delline</title>
        <link>https://code-reference.com/c/conio.h/delline?rev=1708041903&amp;do=diff</link>
        <description>void delline (void);


description of delline

delete the line containing the cursor and move all lines below it one line up.


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

int main(void)
{

   printf(&quot;This line will be deleted ... press a key.&quot;);
   getch();
   delline();
   printf(&quot;Line deleted successfully.&quot;);
   getch();
   return 0;
}</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/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/c/graphics.h/setactivepage?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>setactivepage</title>
        <link>https://code-reference.com/c/graphics.h/setactivepage?rev=1708041948&amp;do=diff</link>
        <description>setactivepage

Syntax of setactivepage


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

Description of setactivepage


setactivepage makes page the active graphics page. All subsequent
graphics output will be directed to that graphics page.
The active graphics page might not be the one you see onscreen, depending
on how many graphics pages are available on your system. Only the EGA,
VGA, and Hercules graphics cards support multiple pages.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/putimage?rev=1708041953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:53+02:00</dc:date>
        <title>putimage</title>
        <link>https://code-reference.com/c/graphics.h/putimage?rev=1708041953&amp;do=diff</link>
        <description>putimage

Syntax of putimage


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

Description of putimage


putimage puts the bit image previously saved with getimage back onto the
screen, with the upper left corner of the image placed at (left,top).
bitmap points to the area in memory where the source image is stored.
The op parameter to putimage specifies a combination operator that
controls how the color for each destination pixel onscreen is computed,
based on …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wscanf?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>wscanf</title>
        <link>https://code-reference.com/c/wchar.h/wscanf?rev=1708041930&amp;do=diff</link>
        <description>wscanf
 #include &lt;wchar.h&gt;
 int wscanf(const wchar_t *restrict, ...);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/fwprintf?rev=1708041934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:34+02:00</dc:date>
        <title>fwprintf</title>
        <link>https://code-reference.com/c/wchar.h/fwprintf?rev=1708041934&amp;do=diff</link>
        <description>fwprintf
 #include &lt;wchar.h&gt;
 int fwprintf(FILE *restrict, const wchar_t *restrict, ...);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/count?rev=1402184093&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-08T01:34:53+02:00</dc:date>
        <title>count</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/count?rev=1402184093&amp;do=diff</link>
        <description>count

    

- (NSUInteger)count
 


Returns the number of entries in a dictionary.

Return Value
- NSUInteger

ObjC Sourcecode Example



    // ** Init dictionary with entries
    NSDictionary *myDictionary = [[NSDictionary alloc]initWithObjectsAndKeys:@&quot;value1&quot;, @&quot;key1&quot;, @&quot;value2&quot;, @&quot;key2&quot;, nil];
    
    int count = myDictionary.count;
    
    // ** Output dictionary count
    NSLog(@&quot;myDictionary count: %i&quot;, myDictionary.count);</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/c/graphics.h/setvisualpage?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>setvisualpage</title>
        <link>https://code-reference.com/c/graphics.h/setvisualpage?rev=1708041955&amp;do=diff</link>
        <description>setvisualpage

Syntax of setvisualpage


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

Description of setvisualpage


setvisualpage makes page the visual graphics page.


Example of setvisualpage


/* setvisualpage example */

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

int main(void)
{
   /* select driver and mode that supports multiple pages */
   int gdriver = EGA, gmode = EGAHI, errorcode;
   int x, y, ht;

   /* initialize graphics and local va…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/getwchar?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>getwchar</title>
        <link>https://code-reference.com/c/wchar.h/getwchar?rev=1708041930&amp;do=diff</link>
        <description>getwchar
 #include &lt;wchar.h&gt;
 wint_t getwchar(void);
return value

C Sourcecode Example


no example yet


output</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/iswalpha?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>iswalpha</title>
        <link>https://code-reference.com/c/wchar.h/iswalpha?rev=1708041931&amp;do=diff</link>
        <description>iswalpha
 #include &lt;wchar.h&gt;
 int iswalpha(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcswcs?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>wcswcs</title>
        <link>https://code-reference.com/c/wchar.h/wcswcs?rev=1708041930&amp;do=diff</link>
        <description>wcswcs
 #include &lt;wchar.h&gt;
 wchar_t *wcswcs(const wchar_t *, const wchar_t *);
return value

C Sourcecode Example


no example yet


output</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/graphics.h/ellipse?rev=1708041952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:52+02:00</dc:date>
        <title>ellipse</title>
        <link>https://code-reference.com/c/graphics.h/ellipse?rev=1708041952&amp;do=diff</link>
        <description>ellipse

Syntax of ellipse


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

Description of ellipse


ellipse draws an elliptical arc in the current drawing color with its
center at (x,y) and the horizontal and vertical axes given by xradius and
yradius, respectively. The ellipse travels from stangle to endangle. If
stangle equals 0 and endangle equals 360, the call to ellipse draws a
complete ellipse.
The angle for ellipse is reckoned c…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/file?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>FILE</title>
        <link>https://code-reference.com/c/stdio.h/file?rev=1708041940&amp;do=diff</link>
        <description>FILE
 FILE Pointer (stream)
 shows on a given file
 // here is a better explanation necessary
C Sourcecode Example


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


int main ( void )
{
FILE *filestream;

filestream=fopen(&quot;test.txt&quot;,&quot;r&quot;);

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

fclose(filestream);
return 0;

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

Syntax of fillellipse


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

Description of fillellipse


Draws an ellipse using (x,y) as a center point and xradius and yradius as
the horizontal and vertical axes, and fills it with the current fill
color and fill pattern.</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/stdlib.h/atexit?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>atexit</title>
        <link>https://code-reference.com/c/stdlib.h/atexit?rev=1708041890&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    int atexit(void (*func)(void));
 

Description


       The atexit function registers the given function to be called at normal
       process termination
       
       atexit returns the value 0 if successful, otherwise it returns
       a nonzero value.</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/exp?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>exp</title>
        <link>https://code-reference.com/cpp/cmath/exp?rev=1708041880&amp;do=diff</link>
        <description>double exp(double);


calculates the exponential value of a number

cpp Sourcecode Example

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

using namespace std;
int main ( void ) 
{
    double x;
    x = 9.0;

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;the exponential value of &quot; &lt;&lt; x &lt;&lt; &quot; is &quot; &lt;&lt; exp(x) &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/div?rev=1708041889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:49+02:00</dc:date>
        <title>div</title>
        <link>https://code-reference.com/c/stdlib.h/div?rev=1708041889&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
    div_t div(int numerator, int denominator);


    calculates the quotient and remainder from division.

div C Sourcecode Example


/* 
 * div c example code
 * http://code-reference.com/c/stdlib.h/div 
 */
#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 )
{
  int numerator, denominator;
  printf(&quot;please type in numerator and denominator for div\n&quot;);
  printf(&quot;numerator :&quot;);
  s…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/ctanh?rev=1359979483&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T13:04:43+02:00</dc:date>
        <title>ctanh</title>
        <link>https://code-reference.com/c/complex.h/ctanh?rev=1359979483&amp;do=diff</link>
        <description>double complex ctanh(double complex z);


description of ctanh

Calculate the Complex Tangent


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = ctanh(zdouble);
   printf(&quot;ctanh(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</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/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/graphics.h/floodfill?rev=1708041952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:52+02:00</dc:date>
        <title>floodfill</title>
        <link>https://code-reference.com/c/graphics.h/floodfill?rev=1708041952&amp;do=diff</link>
        <description>floodfill

Syntax of floodfill


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

Description of floodfill


floodfill fills an enclosed area on bitmap devices. (x,y) is a &quot;seed
point&quot; within the enclosed area to be filled. The area bounded by the
color border is flooded with the current fill pattern and fill color. If
the seed point is within an enclosed area, the inside will be filled. If
the seed is outside the enclosed area, the exterior will be filled.
Use fillpoly instea…</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/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/graphics.h/setallpalette?rev=1708041951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:51+02:00</dc:date>
        <title>setallpalette</title>
        <link>https://code-reference.com/c/graphics.h/setallpalette?rev=1708041951&amp;do=diff</link>
        <description>setallpalette

Syntax of setallpalette


#include &lt;graphics.h&gt;
void setallpalette(struct palettetype *palette);
  

Description of setallpalette


setallpalette sets the current palette to the values given in the
palettetype structure pointed to by palette.
You can partially (or completely) change the colors in the EGA/VGA
palette with setallpalette.
The MAXCOLORS constant and the palettetype structure used by
setallpalette are defined in graphics.h as follows:
#define MAXCOLORS  15

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


    double pow(double, double );


pow() returns base raised to the exp power.

C Sourcecode Example

compile in linux with: gcc pow.c -o pow -lm -Wall


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

#include &lt;math.h&gt; /* including math library */

int main( void )
{
    printf (&quot;4 to the 2th power is: %lf\n &quot;, pow(4, 2));
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setfillpattern?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>setfillpattern</title>
        <link>https://code-reference.com/c/graphics.h/setfillpattern?rev=1708041954&amp;do=diff</link>
        <description>setfillpattern

Syntax of setfillpattern


#include &lt;graphics.h&gt;
void setfillpattern(char *upattern, int color);
  

Description of setfillpattern


setfillpattern is like setfillstyle, except that you use it to set a
user-defined 8x8 pattern rather than a predefined pattern.
upattern is a pointer to a sequence of 8 bytes, with each byte
corresponding to 8 pixels in the pattern. Whenever a bit in a pattern
byte is set to 1, the corresponding pixel is plotted.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/atan2?rev=1708041937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:37+02:00</dc:date>
        <title>atan2</title>
        <link>https://code-reference.com/c/math.h/atan2?rev=1708041937&amp;do=diff</link>
        <description>atan2


    double atan2(double , double );


calculates arctangent from 2 numbers

C Sourcecode Example

compile in linux with: gcc atan2.c -o atan2 -lm -Wall


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

#include &lt;math.h&gt; /* including math library */

int main ( void ){
    double a=1.2, b=-2.6;
    printf(&quot;atan2 from %f and %f is %f\n&quot;, a, b, atan2(a, b) * 90 / 3.17);
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/arc?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>arc</title>
        <link>https://code-reference.com/c/graphics.h/arc?rev=1708041954&amp;do=diff</link>
        <description>arc

Syntax of arc


#include &lt;graphics.h&gt;
void arc(int x, int y, int stangle, int endangle, int radius);
  

Description of arc


arc draws a circular arc in the current drawing color centered at (x,y)
with a radius given by radius. The arc travels from stangle to endangle.
If stangle equals 0 and endangle equals 360, the call to arc draws a
complete circle.
The angle for arc is reckoned counterclockwise, with 0 degrees at 3
o'clock, 90 degrees at 12 o'clock, and so on.
The linestyle parameter …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/gettextsettings?rev=1708041950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:50+02:00</dc:date>
        <title>gettextsettings</title>
        <link>https://code-reference.com/c/graphics.h/gettextsettings?rev=1708041950&amp;do=diff</link>
        <description>gettextsettings

Syntax of gettextsettings


#include &lt;graphics.h&gt;
void gettextsettings(struct textsettingstype *texttypeinfo);
  

Description of gettextsettings


gettextsettings fills the textsettingstype structure pointed to by
textinfo with information about the current text font, direction, size,
and justification. The textsettingstype structure used by gettextsettings
is defined in graphics.h as follows:
struct textsettingstype {
   int font;
   int direction;
   int charsize;
   int hori…</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/vfwprintf?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>vfwprintf</title>
        <link>https://code-reference.com/c/wchar.h/vfwprintf?rev=1708041927&amp;do=diff</link>
        <description>vfwprintf
 #include &lt;wchar.h&gt;
 int vfwprintf(FILE *restrict, const wchar_t *restrict, va_list);
return value

C Sourcecode Example


no example yet


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

Syntax of getimage


#include &lt;graphics.h&gt;
void getimage(int left, int top, int right, int bottom, void *bitmap);
  

Description of getimage


getimage copies an image from the screen to memory.
left, top, right, and bottom define the screen area to which the
rectangle is copied. bitmap points to the area in memory where the bit
image is stored. The first two words of this area are used for the width
and height of the rectangle; the remainder holds the image itself.</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/c/graphics.h/settextstyle?rev=1708041950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:50+02:00</dc:date>
        <title>settextstyle</title>
        <link>https://code-reference.com/c/graphics.h/settextstyle?rev=1708041950&amp;do=diff</link>
        <description>settextstyle

Syntax of settextstyle


#include &lt;graphics.h&gt;
void settextstyle(int font, int direction, int charsize);
  

Description of settextstyle


settextstyle sets the text font, the direction in which text is
displayed, and the size of the characters. A call to settextstyle affects
all text output by outtext and outtextxy.
The parameters font, direction, and charsize passed to settextstyle are
described in the following:
font: One 8x8 bit-mapped font and several &quot;stroked&quot; fonts are avail…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/mbsrtowcs?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>mbsrtowcs</title>
        <link>https://code-reference.com/c/wchar.h/mbsrtowcs?rev=1708041928&amp;do=diff</link>
        <description>mbsrtowcs
 #include &lt;wchar.h&gt;
 size_t mbsrtowcs(wchar_t *restrict, const char **restrict, size_t, mbstate_t *restrict);
return value

C Sourcecode Example


no example yet


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

Syntax of linerel


#include &lt;graphics.h&gt;
void linerel(int dx, int dy);
  

Description of linerel


linerel draws a line from the CP (current position) to a point that is a
relative distance (dx,dy) from the CP. The CP is advanced by (dx,dy).</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/wcwidth?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>wcwidth</title>
        <link>https://code-reference.com/c/wchar.h/wcwidth?rev=1708041929&amp;do=diff</link>
        <description>wcwidth
 #include &lt;wchar.h&gt;
  int wcwidth(wchar_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/intvalue?rev=1708042346&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:26+02:00</dc:date>
        <title>intValue</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/intvalue?rev=1708042346&amp;do=diff</link>
        <description>intValue

    

- (int)intValue;
 


Returns the receiver’s value.

Return Value
- The receiver’s value as datatyp, converting it as necessary.

ObjC Sourcecode Example



    //** Sample Datatype **
    int myInt = 30;
    
    //** Initializing NSNumber Object **
    NSNumber *myIntNumber = [[NSNumber alloc]initWithInt:myInt];
    
    //**  To access your value use intValue **
    if ([myIntNumber intValue] == 30) {
        
        NSLog(@&quot;myIntNumber: %@&quot;, myIntNumber);
        NSLog(@&quot;myIn…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcstold?rev=1708041926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:26+02:00</dc:date>
        <title>wcstold</title>
        <link>https://code-reference.com/c/wchar.h/wcstold?rev=1708041926&amp;do=diff</link>
        <description>wcstold
 #include &lt;wchar.h&gt;
long double wcstold(const wchar_t *restrict, wchar_t **restrict);
return value

C Sourcecode Example


no example yet


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

Syntax of getaspectration


#include &lt;graphics.h&gt;
void getaspectratio(int *xasp, int *yasp);
  

Description of getaspectration


The y aspect factor, *yasp, is normalized to 10,000. On all graphics
adapters except the VGA, *xasp (the x aspect factor) is less than *yasp
because the pixels are taller than they are wide. On the VGA, which has
&quot;square&quot; pixels, *xasp equals *yasp. In general, the relationship between
*yasp and *xasp can be stated as
*yasp = 10,000
*xasp &lt;= 10,000
ge…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcstoull?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>wcstoull</title>
        <link>https://code-reference.com/c/wchar.h/wcstoull?rev=1708041929&amp;do=diff</link>
        <description>wcstoull
 #include &lt;wchar.h&gt;
 unsigned long long wcstoull(const wchar_t *restrict, wchar_t **restrict, int);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsrchr?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>wcsrchr</title>
        <link>https://code-reference.com/c/wchar.h/wcsrchr?rev=1708041928&amp;do=diff</link>
        <description>wcsrchr
 #include &lt;wchar.h&gt;
 wchar_t *wcsrchr(const wchar_t *, wchar_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/frexp?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>frexp</title>
        <link>https://code-reference.com/cpp/cmath/frexp?rev=1708041879&amp;do=diff</link>
        <description>frexp


    double frexp(double);


Mantissa m. in *n is the exponent.

cpp Sourcecode Example

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

using namespace std;
int main ( void ) 
{
  double x;
  int n;

  x = 42.0;
  
  //cout.setf(ios::fixed, ios::floatfield);
  cout.precision(8);

  cout &lt;&lt; frexp (x, &amp;n) &lt;&lt; &quot; * 2^&quot; &lt;&lt; n &lt;&lt; &quot; = &quot; &lt;&lt; x &lt;&lt; endl;
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/log?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>log</title>
        <link>https://code-reference.com/cpp/cmath/log?rev=1708041879&amp;do=diff</link>
        <description>log


    double log(double);


Natural logarithm of a number

cpp Sourcecode Example

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

using namespace std;
int main ( void ) 
{
    double x;
    x = log(1.3);

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;The log is &quot; &lt;&lt; x &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/atan?rev=1708041878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:38+02:00</dc:date>
        <title>atan</title>
        <link>https://code-reference.com/cpp/cmath/atan?rev=1708041878&amp;do=diff</link>
        <description>double atan(double);


calculates acustangens from a number

cpp Sourcecode Example


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

using namespace std;
int main ( void ){
    double a=0.2, res=0;

    res = atan(a) * 90 / 3.17;

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;atan from &quot; &lt;&lt; a &lt;&lt; &quot; is &quot; &lt;&lt; res &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/uikit.framework/uiimageview.h/init?rev=1357069265&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-01T20:41:05+02:00</dc:date>
        <title>init</title>
        <link>https://code-reference.com/objective-c/uikit.framework/uiimageview.h/init?rev=1357069265&amp;do=diff</link>
        <description>init

    

- (id)init;
 


Returns a UIImageView.

Return Value
- UIImageView

ObjC Sourcecode Example



    // ** Initialize imageView **
    UIImageView *myImageView = [[UIImageView alloc]init];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, myImageView);</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/atan2?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>atan2</title>
        <link>https://code-reference.com/cpp/cmath/atan2?rev=1708041880&amp;do=diff</link>
        <description>double atan2(double , double );


calculates arctangent from 2 numbers

cpp Sourcecode Example


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

using namespace std;
int main ( void ){
    double a=1.2, b=-2.6, res;
    res = atan2(a, b) * 90 / 3.17;
    
    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(7);

    cout &lt;&lt; &quot;atan2 from &quot; &lt;&lt; a &lt;&lt; &quot; and &quot; &lt;&lt; b &lt;&lt; &quot; is &quot;  &lt;&lt; res &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/acos?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>acos</title>
        <link>https://code-reference.com/cpp/cmath/acos?rev=1708041880&amp;do=diff</link>
        <description>double acos(double);

 calculates arccosine
cpp Sourcecode Example


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

using namespace std;
int main ( void ){
    double a=0.2, res=0;
    res = acos(a) * 90 / 3.17;

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;acos from &quot; &lt;&lt; a &lt;&lt; &quot; is &quot; &lt;&lt; res &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/cosh?rev=1708041878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:38+02:00</dc:date>
        <title>cosh</title>
        <link>https://code-reference.com/cpp/cmath/cosh?rev=1708041878&amp;do=diff</link>
        <description>double cosh(double);


calculates the hyperbolic cosine of a number

cpp Sourcecode Example


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

using namespace std;
int main ( void ) 
{
    double x,res;
    x = log(1.3);
    res = cosh(x);
    
    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);   
    
    cout &lt;&lt; &quot;The log is &quot; &lt;&lt; x &lt;&lt; endl;
    cout &lt;&lt; &quot;the hyperbolic cosine of &quot; &lt;&lt; x &lt;&lt; &quot; is &quot; &lt;&lt; res &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/fabs?rev=1708041878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:38+02:00</dc:date>
        <title>fabs</title>
        <link>https://code-reference.com/cpp/cmath/fabs?rev=1708041878&amp;do=diff</link>
        <description>fabs


    double fabs(double);


calculates the absolute number of a given value

cpp Sourcecode Example

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

using namespace std;
int main ( void ) 
{
    double y,x;
    x = 4.2422;
    y = -3284.2;

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;the fabs of 4.2422 is &quot; &lt;&lt; fabs(x) &lt;&lt; endl;
    cout &lt;&lt; &quot;and the fabs of -3284.2 is &quot; &lt;&lt;  fabs(y) &lt;&lt; endl;
    r…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/floor?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>floor</title>
        <link>https://code-reference.com/cpp/cmath/floor?rev=1708041880&amp;do=diff</link>
        <description>floor


    double floor(double);


rounding down a number

cpp Sourcecode Example

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

using namespace std;
int main ( void ) 
{
    double y,x;
    x = 4.2;
    y = 9.9;

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;floor of &quot; &lt;&lt; x &lt;&lt; &quot; is &quot; &lt;&lt; floor(x) &lt;&lt; endl;
    cout &lt;&lt; &quot;floor of &quot; &lt;&lt; y &lt;&lt; &quot; is &quot; &lt;&lt; floor(y) &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/log10?rev=1708041935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:35+02:00</dc:date>
        <title>log10</title>
        <link>https://code-reference.com/c/math.h/log10?rev=1708041935&amp;do=diff</link>
        <description>double log10(double);


base-10 logarithm of a number

C Sourcecode Example

compile in linux with: gcc log10.c -o log10 -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

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

Syntax of setrgbpalette


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

Description of setrgbpalette


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


    double ldexp(double , int exp);


Returns x times 2 raised to n

C Sourcecode Example

compile in linux with: gcc ldexp.c -o ldexp -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{

  printf (&quot;4.2 raised to 2 is %f\n&quot;, ldexp(4.2, 2));
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getdrivername?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>getdrivername</title>
        <link>https://code-reference.com/c/graphics.h/getdrivername?rev=1708041957&amp;do=diff</link>
        <description>getdrivername

Syntax of getdrivername


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

Description of getdrivername


After a call to initgraph, getdrivername returns the name of the driver
that is currently loaded.


Example of getdrivername


/* getdrivername example */

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

int main()
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;

   /* stores the device driver name */
   char *dr…</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/graphics.h/getviewsettings?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>getviewsettings</title>
        <link>https://code-reference.com/c/graphics.h/getviewsettings?rev=1708041948&amp;do=diff</link>
        <description>getviewsettings

Syntax of getviewsettings


#include &lt;graphics.h&gt;
void getviewsettings(struct viewporttype *viewport);
  

Description of getviewsettings


getviewsettings fills the viewporttype structure pointed to by viewport
with information about the current viewport.
The viewporttype structure used by getviewport is defined in graphics.h
as follows:
struct viewporttype {
   int left, top, right, bottom;
   int clip;
};</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setaspectratio?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>setaspectratio</title>
        <link>https://code-reference.com/c/graphics.h/setaspectratio?rev=1708041954&amp;do=diff</link>
        <description>setaspectratio

Syntax of setaspectratio


#include &lt;graphics.h&gt;
void setaspectratio(int xasp, int yasp);
  

Description of setaspectratio


setaspectratio changes the default aspect ratio of the graphics system.
The graphics system uses the aspect ratio to make sure that circles are
round onscreen. If circles appear elliptical, the monitor is not aligned
properly. You could correct this in the hardware by realigning the
monitor, but it's easier to change in the software by using
setaspectratio…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/circle?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>circle</title>
        <link>https://code-reference.com/c/graphics.h/circle?rev=1708041949&amp;do=diff</link>
        <description>circle

Syntax of circle


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

Description of circle


circle draws a circle in the current drawing color with its center at
(x,y) and the radius given by radius.
The linestyle parameter does not affect arcs, circles, ellipses, or pie
slices. Only the thickness parameter is used.
If your circles are not perfectly round, adjust the aspect ratio.</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/setpalette?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>setpalette</title>
        <link>https://code-reference.com/c/graphics.h/setpalette?rev=1708041955&amp;do=diff</link>
        <description>setpalette

Syntax of setpalette


      #include &lt;graphics.h&gt;
      void setpalette(int colornum, int color);


Description of setpalette


      setpalette changes the colornum entry in the palette to color. For
      example, setpalette(0,5) changes the first color in the current palette
      (the background color) to actual color number 5. If size is the number of
      entries in the current palette, colornum can range between 0 and (size -
      1).
      You can partially (or completely)…</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/c/math.h/tanh?rev=1708041936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:36+02:00</dc:date>
        <title>tanh</title>
        <link>https://code-reference.com/c/math.h/tanh?rev=1708041936&amp;do=diff</link>
        <description>tanh


    double tanh(double);


Returns hyperbolic tangent of a radian angle x. 

C Sourcecode Example

compile with tanh.c -o tanh -lm


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

#include &lt;math.h&gt; /* including math library */

int main( void )
{
    double x;
    x = log(42);
    printf (&quot;hyperbolic tangent of 42 is %lf\n&quot;, tanh (x) );
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/putpixel?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>putpixel</title>
        <link>https://code-reference.com/c/graphics.h/putpixel?rev=1708041947&amp;do=diff</link>
        <description>putpixel

Syntax of putpixel


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

Description of putpixel


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


Example of putpixel


/* putpixel example */

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

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

int main()
{
   /* request autodetection */
   int gdriver = DETECT, gmode, errorcode;
   int i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/cpp/datatypes/double?rev=1708041876&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:36+02:00</dc:date>
        <title>double</title>
        <link>https://code-reference.com/cpp/datatypes/double?rev=1708041876&amp;do=diff</link>
        <description>double
  double
  8 Byte
  2.3E-308 - 1.7E+308
  precision 15
Cpp Sourcecode Example


#include &lt;iostream&gt;
using namespace std;

int main() 
{    

    cout &lt;&lt; &quot;Size of double: &quot; &lt;&lt; sizeof(double) &lt;&lt; &quot; bytes&quot; &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords/return?rev=1708041960&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:00+02:00</dc:date>
        <title>c:keywords:return</title>
        <link>https://code-reference.com/c/keywords/return?rev=1708041960&amp;do=diff</link>
        <description>see return</description>
    </item>
    <item rdf:about="https://code-reference.com/c/dos.h/gettime?rev=1394818990&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-14T18:43:10+02:00</dc:date>
        <title>gettime</title>
        <link>https://code-reference.com/c/dos.h/gettime?rev=1394818990&amp;do=diff</link>
        <description>struct time gettime( struct time );


description of gettime

gettime function is used to find current system time. 

returns structure varibale of type ( struct time ).



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

int main(void)
{
   struct time t;
   gettime(&amp;t);
   printf(&quot;time is %d:%d:%d\n&quot;,t.ti_hour,t.ti_min,t.ti_sec);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/getwc?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>getwc</title>
        <link>https://code-reference.com/c/wchar.h/getwc?rev=1708041928&amp;do=diff</link>
        <description>getwc
 #include &lt;wchar.h&gt;
 wint_t getwc(FILE *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsftime?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>wcsftime</title>
        <link>https://code-reference.com/c/wchar.h/wcsftime?rev=1708041933&amp;do=diff</link>
        <description>wcsftime
 #include &lt;wchar.h&gt;
 size_t wcsftime(wchar_t *restrict, size_t, const wchar_t *restrict, const struct tm *restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/swscanf?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>swscanf</title>
        <link>https://code-reference.com/c/wchar.h/swscanf?rev=1708041927&amp;do=diff</link>
        <description>swscanf
 #include &lt;wchar.h&gt;
 int swscanf(const wchar_t *restrict, const wchar_t *restrict, ...);
return value

C Sourcecode Example


no example yet


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

Syntax of setwritemode


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

Description of setwritemode


The following constants are defined:
COPY_PUT = 0/* MOV */
XOR_PUT  = 1/* XOR */
Each constant corresponds to a binary operation between each byte in the
line and the corresponding bytes onscreen. COPY_PUT uses the assembly
language MOV instruction, overwriting with the line whatever is on the
screen. XOR_PUT uses the XOR command to combine the line with the screen.
Two suc…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/bool?rev=1708041912&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:12+02:00</dc:date>
        <title>_Bool</title>
        <link>https://code-reference.com/c/datatypes/bool?rev=1708041912&amp;do=diff</link>
        <description>Typ: _Bool
  1 Byte
  0 and 1  ( the underscore '_' and Shift B is nessesary )
C Sourcecode Example

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

 
int main(void)
{
   printf(&quot;_Bool: %d bytes\n&quot;, sizeof(_Bool) );
   
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/long_double?rev=1708041914&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:14+02:00</dc:date>
        <title>long double</title>
        <link>https://code-reference.com/c/datatypes/long_double?rev=1708041914&amp;do=diff</link>
        <description>long double
  long double
  10 Byte
  3.4E-4932 - 1.1E+4932
  precision: 19
  
  
C Sourcecode Example

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

 
int main(void){
printf(&quot;long double: %d bytes\n&quot;, sizeof(long double) );
}
return 0;</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/c/wchar.h/wmemmove?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>wmemmove</title>
        <link>https://code-reference.com/c/wchar.h/wmemmove?rev=1708041931&amp;do=diff</link>
        <description>wmemmove
 #include &lt;wchar.h&gt;
  wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h/boolvalue?rev=1708042345&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:25+02:00</dc:date>
        <title>boolValue</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h/boolvalue?rev=1708042345&amp;do=diff</link>
        <description>boolValue

    

- (BOOL)boolValue;
 


Returns the receiver’s value.

Return Value
- The receiver’s value as datatyp, converting it as necessary.

ObjC Sourcecode Example



    //** Sample Datatype **
    BOOL myBool = NO;
       
    //** Initializing NSNumber Object **
    NSNumber *myBoolNumber = [[NSNumber alloc]initWithBool:myBool];
    
    //**  To access your value use boolValue **
    if ([myBoolNumber boolValue] == NO) {
        
        NSLog(@&quot;myBoolNumber: %@&quot;, myBoolNumber);
    …</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/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/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/graphics.h/getgraphmode?rev=1708041956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:56+02:00</dc:date>
        <title>getgraphmode</title>
        <link>https://code-reference.com/c/graphics.h/getgraphmode?rev=1708041956&amp;do=diff</link>
        <description>getgraphmode

Syntax of getgraphmode


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

Description of getgraphmode


Your program must make a successful call to initgraph before calling
getgraphmode.
The enumeration graphics_mode, defined in graphics.h, gives names for the
predefined graphics modes. For a table listing these enumeration values,
refer to the description for initgraph.</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/math.h/fmod?rev=1708041937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:37+02:00</dc:date>
        <title>fmod</title>
        <link>https://code-reference.com/c/math.h/fmod?rev=1708041937&amp;do=diff</link>
        <description>fmod


    double fmod(double, double );


returns the remainder of a statement

C Sourcecode Example

compile in linux with: gcc fmod.c -o fmod -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
double y,x;
x = 9;
y = 4.2;
printf(&quot;rest of %f / %f is %f\n&quot;, x, y, fmod(x,y) );
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/sqrt?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>sqrt</title>
        <link>https://code-reference.com/cpp/cmath/sqrt?rev=1708041879&amp;do=diff</link>
        <description>sqrt


    double sqrt(double);


returns the square root

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{

  //cout.setf(ios::fixed, ios::floatfield);
  cout.precision(8);

  cout &lt;&lt; &quot;square root from 4.2 is &quot; &lt;&lt; sqrt (4.2) &lt;&lt; endl;
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/vwprintf?rev=1708041926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:26+02:00</dc:date>
        <title>vwprintf</title>
        <link>https://code-reference.com/c/wchar.h/vwprintf?rev=1708041926&amp;do=diff</link>
        <description>vwprintf
 #include &lt;wchar.h&gt;
 int vwprintf(const wchar_t *restrict, va_list);
return value

C Sourcecode Example


no example yet


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

Syntax of moveto


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

Description of moveto


moveto moves the current position (CP) to viewport position (x,y).


Example of moveto


/* moveto 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;);

   /* rea…</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/define?rev=1515738548&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:08+02:00</dc:date>
        <title>#define</title>
        <link>https://code-reference.com/cpp/define?rev=1515738548&amp;do=diff</link>
        <description>#define


#define cpp cout &lt;&lt; &quot;C++&quot; &lt;&lt; endl;


#define is used for creating names that will overwrite the current event. 

For example:



// we are going to make a program that will use a #define for replacing a number

#include &lt;iostream&gt;
#include &lt;cmath&gt;

#define FIVE 5

using namespace std;

int main() {

   cout &lt;&lt; &quot;The normal square root of 5 is: &quot; &lt;&lt; sqrt(FIVE) &lt;&lt; endl;
   cout &lt;&lt; &quot;The int square root of 5 is: &quot; &lt;&lt; (int)sqrt(FIVE) &lt;&lt; endl;
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/graphdefaults?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>graphdefaults</title>
        <link>https://code-reference.com/c/graphics.h/graphdefaults?rev=1708041949&amp;do=diff</link>
        <description>graphdefaults

Syntax of graphdefaults


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

Description of graphdefaults


graphdefaults resets all graphics settings to their defaults:
    * sets the viewport to the entire screen.
    * moves the current position to (0,0).
    * sets the default palette colors, background color, and drawing
color.
    * sets the default fill style and pattern.
    * sets the default text font and justification.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/registerbgifont?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>registerbgifont</title>
        <link>https://code-reference.com/c/graphics.h/registerbgifont?rev=1708041949&amp;do=diff</link>
        <description>registerbgifont

Syntax of registerbgifont


#include &lt;graphics.h&gt;
int registerbgifont(void (*font)(void));
  

Description of registerbgifont


Calling registerbgifont informs the graphics system that the font pointed
to by font was included at link time. This routine checks the linked-in
code for the specified font; if the code is valid, it registers the code
in internal tables.
By using the name of a linked-in font in a call to registerbgifont, you
also tell the compiler (and linker) to link …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/ungetwc?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>ungetwc</title>
        <link>https://code-reference.com/c/wchar.h/ungetwc?rev=1708041932&amp;do=diff</link>
        <description>ungetwc
 #include &lt;wchar.h&gt;
 wint_t ungetwc(wint_t, FILE *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/pow?rev=1366075845&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-16T03:30:45+02:00</dc:date>
        <title>pow</title>
        <link>https://code-reference.com/cpp/cmath/pow?rev=1366075845&amp;do=diff</link>
        <description>float  pow(float  base, float  exponent);
    double pow(double base, double exponent);
    double pow(double base, int    exponent);


pow() returns base raised to the exp power.

cpp Sourcecode Example


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

using namespace std;
int main( void )
{
    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;4 raised to the 2nd power is: &quot; &lt;&lt; pow(4, 2) &lt;&lt; endl;

    return 0;
}</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/wchar.h/wctype?rev=1708041934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:34+02:00</dc:date>
        <title>wctype</title>
        <link>https://code-reference.com/c/wchar.h/wctype?rev=1708041934&amp;do=diff</link>
        <description>wctype
 #include &lt;wchar.h&gt;
  wctype_t      wctype(const char *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/dos.h/sound?rev=1708041965&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:05+02:00</dc:date>
        <title>sound</title>
        <link>https://code-reference.com/c/dos.h/sound?rev=1708041965&amp;do=diff</link>
        <description>void sound( unsigned int );


description of sound

Producessound of a specified frequency.

mostly used for adding music to c program

random values and delay needed to make some strange sounds.



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

int main(void)
{
   int i;
   for ( i = 42 ; i &lt;= 4200 ; i ++  )
   {
      i = i + rand(100);
      sound(i);
      delay(50);
   }
   nosound();

   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wmemset?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>wmemset</title>
        <link>https://code-reference.com/c/wchar.h/wmemset?rev=1708041933&amp;do=diff</link>
        <description>wmemset
 #include &lt;wchar.h&gt;
  wchar_t *wmemset(wchar_t *, wchar_t, size_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/putwc?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>putwc</title>
        <link>https://code-reference.com/c/wchar.h/putwc?rev=1708041928&amp;do=diff</link>
        <description>putwc
 #include &lt;wchar.h&gt;
 wint_t putwc(wchar_t, FILE *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/ctan?rev=1359979421&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T13:03:41+02:00</dc:date>
        <title>ctan</title>
        <link>https://code-reference.com/c/complex.h/ctan?rev=1359979421&amp;do=diff</link>
        <description>double complex ctan(double complex z);


description of ctan

Calculate the Complex Tangent


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = ctan(zdouble);
   printf(&quot;ctan(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/vswprintf?rev=1708041933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:33+02:00</dc:date>
        <title>vswprintf</title>
        <link>https://code-reference.com/c/wchar.h/vswprintf?rev=1708041933&amp;do=diff</link>
        <description>vswprintf
 #include &lt;wchar.h&gt;
 int vswprintf(wchar_t *restrict, size_t, const wchar_t *restrict, va_list);
return value

C Sourcecode Example


no example yet


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

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

Syntax of getmoderange


#include &lt;graphics.h&gt;
void getmoderange(int graphdriver, int *lomode, int *himode);
  

Description of getmoderange


getmoderange gets the range of valid graphics modes for the given
graphics driver, graphdriver. The lowest permissible mode value is
returned in *lomode, and the highest permissible value is *himode. If
graphdriver specifies an invalid graphics driver, both *lomode and
*himode are set to -1. If the value of graphdriver is -1, the currently
l…</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/graphics.h/getarccoords?rev=1708041956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:56+02:00</dc:date>
        <title>getarccoords</title>
        <link>https://code-reference.com/c/graphics.h/getarccoords?rev=1708041956&amp;do=diff</link>
        <description>getarccoords

Syntax of getarccoords


#include &lt;graphics.h&gt;
void getarccoords(struct arccoordstype *arccoords);
  

Description of getarccoords


getarccoords fills in the arccoordstype structure pointed to by arccoords
with information about the last call to arc. The arccoordstype structure
is defined in graphics.h as follows:
struct arccoordstype {
   int x, y;
   int xstart, ystart, xend, yend;
};
The members of this structure are used to specify the center point (x,y),
the starting position…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wmemcmp?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>wmemcmp</title>
        <link>https://code-reference.com/c/wchar.h/wmemcmp?rev=1708041932&amp;do=diff</link>
        <description>wmemcmp
 #include &lt;wchar.h&gt;
  int wmemcmp(const wchar_t *, const wchar_t *, size_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/exp?rev=1708041937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:37+02:00</dc:date>
        <title>exp</title>
        <link>https://code-reference.com/c/math.h/exp?rev=1708041937&amp;do=diff</link>
        <description>double exp(double);


calculates the exponential value of a number

C Sourcecode Example

compile in linux with: gcc exp.c -o exp -lm -Wall

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

#include &lt;math.h&gt; /* including math library */

int main ( void ) 
{
double x;
x = 9.0;
printf(&quot;the exponential value of %f is %f\n&quot;, x, exp(x));
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/fillpoly?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>fillpoly</title>
        <link>https://code-reference.com/c/graphics.h/fillpoly?rev=1708041948&amp;do=diff</link>
        <description>fillpoly

Syntax of fillpoly


#include &lt;graphics.h&gt;
void fillpoly(int numpoints, int *polypoints);
  

Description of fillpoly


fillpoly draws the outline of a polygon with numpoints points in the
current line style and color (just as drawpoly does), then fills the
polygon using the current fill pattern and fill color.
polypoints points to a sequence of (numpoints * 2) integers. Each pair of
integers gives the x- and y-coordinates of a point on the polygon.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/variable_scope_and_qualifiers/static?rev=1708041853&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:13+02:00</dc:date>
        <title>Static</title>
        <link>https://code-reference.com/arduino/variable_scope_and_qualifiers/static?rev=1708041853&amp;do=diff</link>
        <description>The static keyword is used to create variables that are visible to only one function. However unlike local variables that get created and destroyed every time a function is called, static variables persist beyond the function call, preserving their data between function calls.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/atan?rev=1708041935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:35+02:00</dc:date>
        <title>atan</title>
        <link>https://code-reference.com/c/math.h/atan?rev=1708041935&amp;do=diff</link>
        <description>atan


    double atan(double);


calculates acustangens from a number

C Sourcecode Example

compile in linux with: gcc atan.c -o atan -lm -Wall


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

#include &lt;math.h&gt; /* including math library */

int main ( void ){
    double a=0.2;
    printf(&quot;atan from %f is %f\n&quot;, a, atan(a) * 90 / 3.17);
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getpalette?rev=1708041958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:58+02:00</dc:date>
        <title>getpalette</title>
        <link>https://code-reference.com/c/graphics.h/getpalette?rev=1708041958&amp;do=diff</link>
        <description>getpalette

Syntax of getpalette


#include &lt;graphics.h&gt;
void getpalette(struct palettetype *palette);
  

Description of getpalette


getpalette fills the palettetype structure pointed to by palette with
information about the current palette's size and colors.
The MAXCOLORS constant and the palettetype structure used by getpalette
are defined in graphics.h as follows:
#define MAXCOLORS  15

struct palettetype {
   unsigned char size;
   signed char colors[MAXCOLORS + 1];
};
size gives the numbe…</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/c/wchar.h/iswupper?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>iswupper</title>
        <link>https://code-reference.com/c/wchar.h/iswupper?rev=1708041930&amp;do=diff</link>
        <description>iswupper
 #include &lt;wchar.h&gt;
 int iswupper(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/iswcntrl?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>iswcntrl</title>
        <link>https://code-reference.com/c/wchar.h/iswcntrl?rev=1708041931&amp;do=diff</link>
        <description>iswcntrl
 #include &lt;wchar.h&gt;
 int iswcntrl(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/iswdigit?rev=1708041927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:27+02:00</dc:date>
        <title>iswdigit</title>
        <link>https://code-reference.com/c/wchar.h/iswdigit?rev=1708041927&amp;do=diff</link>
        <description>iswdigit
 #include &lt;wchar.h&gt;
 int iswdigit(wint_t);
return value

C Sourcecode Example


no example yet


output</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/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/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/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T21:51:53+02:00</dc:date>
        <title>initWithObjectsAndKeys</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff</link>
        <description>initWithObjectsAndKeys

    

- (instancetype)initWithObjectsAndKeys:(id)firstObject, (NSString*)firstKey, ...
 


Initializes a newly allocated dictionary with entries constructed from the specified set of values and keys.

Return Value
- NSDictionary</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/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/c/graphics.h/getmaxy?rev=1708041953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:53+02:00</dc:date>
        <title>getmaxy</title>
        <link>https://code-reference.com/c/graphics.h/getmaxy?rev=1708041953&amp;do=diff</link>
        <description>getmaxy

Syntax of getmaxy


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

Description of getmaxy


getmaxy returns the maximum (screen-relative) y value for the current
graphics driver and mode.
For example, on a CGA in 320*200 mode, getmaxy returns 199. getmaxy is
invaluable for centering, determining the boundaries of a region
onscreen, and so on.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>ungetc</title>
        <link>https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff</link>
        <description>ungetc


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

 int ungetc(int chr, FILE *stream);


Pushes chr (which must not be EOF), onto (input) stream stream such that it will be returned by the next read. Only one character of pushback is guaranteed (for each stream). Returns chr, or EOF on error.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsncpy?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>wcsncpy</title>
        <link>https://code-reference.com/c/wchar.h/wcsncpy?rev=1708041931&amp;do=diff</link>
        <description>wcsncpy
 #include &lt;wchar.h&gt;
 wchar_t *wcsncpy(wchar_t *restrict, const wchar_t *restrict, size_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T15:58:12+02:00</dc:date>
        <title>switch</title>
        <link>https://code-reference.com/c/control_structures/switch?rev=1365602292&amp;do=diff</link>
        <description>description

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

Syntax of closegraph


#include &lt;graphics.h&gt;
void closegraph(int wid=ALL_WINDOWS);
  

Description of closegraph


closegraph deallocates all memory allocated by the graphics system, then
restores the screen to the mode it was in before you called initgraph.
(The graphics system deallocates memory, such as the drivers, fonts, and
an internal buffer, through a call to _graphfreemem.)</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcscat?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>wcscat</title>
        <link>https://code-reference.com/c/wchar.h/wcscat?rev=1708041932&amp;do=diff</link>
        <description>wcscat
 #include &lt;wchar.h&gt;
 wchar_t *wcscat(wchar_t *restrict, const wchar_t *restrict);
return value

C Sourcecode Example


no example yet


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

Syntax of sector


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

Description of sector


Draws and fills an elliptical pie slice using (x,y) as the center point,
xradius and yradius as the horizontal and vertical radii, respectively,
and drawing from stangle to endangle. The pie slice is outlined using the
current color, and filled using the pattern and color defined by
setfillstyle or setfillpattern.
The angles for sector are g…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/complex.h/cacos?rev=1359934792&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T00:39:52+02:00</dc:date>
        <title>cacos</title>
        <link>https://code-reference.com/c/complex.h/cacos?rev=1359934792&amp;do=diff</link>
        <description>double complex cacos(double complex z);


description of cacos

compute the complex arc cosine of z

with branch cuts outside the interval (from -1 to +1) along the real axis. 


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = cacos(zdouble);
   printf(&quot;cacos(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/lineto?rev=1708041951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:51+02:00</dc:date>
        <title>lineto</title>
        <link>https://code-reference.com/c/graphics.h/lineto?rev=1708041951&amp;do=diff</link>
        <description>lineto

Syntax of lineto


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

Description of lineto


lineto draws a line from the CP (current position) to (x,y), then moves
the CP to (x,y).


Example of lineto


/* lineto 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;…</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/cpp/control_structures/break?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/cpp/control_structures/break?rev=1708041872&amp;do=diff</link>
        <description>syntax
   break;
   
   Description: break ends a loop immediately
cpp Sourcecode Example


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

using namespace std;
int main ( void ) {

int i;
i=0;

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

cout &lt;&lt; &quot;The answer is &quot; &lt;&lt; i &lt;&lt;;
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/short?rev=1708041910&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:10+02:00</dc:date>
        <title>short</title>
        <link>https://code-reference.com/c/datatypes/short?rev=1708041910&amp;do=diff</link>
        <description>short
  short
  2 Byte
  signed: -32768 - 32767
  unsigned: 0 - 65535
  
C Sourcecode Example

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

 
int main(void)
{
  printf(&quot;short: %d bytes\n&quot;, sizeof(short) );
  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/c/conio.h/window?rev=1360707212&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-12T23:13:32+02:00</dc:date>
        <title>window</title>
        <link>https://code-reference.com/c/conio.h/window?rev=1360707212&amp;do=diff</link>
        <description>void window(int left, int top, int right, int bottom);


description of window

Defines the active text mode window.

window defines a text window on the screen. If the coordinates are invalid, the call window is ignored.
left and top are the screen coordinates of the upper left corner of the window.
right, and bottom are the screen coordinates of the lower right corner of the window.</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/cpp/cmath/cos?rev=1708041878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:38+02:00</dc:date>
        <title>cos</title>
        <link>https://code-reference.com/cpp/cmath/cos?rev=1708041878&amp;do=diff</link>
        <description>double cos(double);


calculates the cosine of a degree

cpp Sourcecode Example


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

using namespace std;
int main ( void ) 
{
    double x, res;
    x = 90;
    res = cos(x*3.14159/42);
    
    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;the cosine of &quot; &lt;&lt; x &lt;&lt; &quot; ° is &quot; &lt;&lt; res &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsncat?rev=1708041932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:32+02:00</dc:date>
        <title>wcsncat</title>
        <link>https://code-reference.com/c/wchar.h/wcsncat?rev=1708041932&amp;do=diff</link>
        <description>wcsncat
 #include &lt;wchar.h&gt;
 wchar_t *wcsncat(wchar_t *restrict, const wchar_t *restrict, size_t);
return value

C Sourcecode Example


no example yet


output</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/cpp/cmath/log10?rev=1708041879&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:39+02:00</dc:date>
        <title>log10</title>
        <link>https://code-reference.com/cpp/cmath/log10?rev=1708041879&amp;do=diff</link>
        <description>log10


    double log10(double);


base-10 logarithm of a number

cpp Sourcecode Example

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

using namespace std;
int main ( void )
{
    double x;
    x = log10(42000);
    
    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;The log10 of 42000 is &quot; &lt;&lt; x &lt;&lt; endl;
    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/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/complex.h/cimag?rev=1359938248&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:37:28+02:00</dc:date>
        <title>cimag</title>
        <link>https://code-reference.com/c/complex.h/cimag?rev=1359938248&amp;do=diff</link>
        <description>double cimag(double complex z);


description of cimag

calculate the complex imaginary part


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = cimag(zdouble);
   printf(&quot;cimag(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/casinh?rev=1359937241&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:20:41+02:00</dc:date>
        <title>casinh</title>
        <link>https://code-reference.com/c/complex.h/casinh?rev=1359937241&amp;do=diff</link>
        <description>double complex casinh(double complex z);


description of casinh

calculate the complex arc hyperbolic sine


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = casinh(zdouble);
   printf(&quot;casinh(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/cmath/fmod?rev=1708041880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:40+02:00</dc:date>
        <title>fmod</title>
        <link>https://code-reference.com/cpp/cmath/fmod?rev=1708041880&amp;do=diff</link>
        <description>fmod


    double fmod(double, double );


returns the remainder of a statement

cpp Sourcecode Example


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

using namespace std;
int main ( void ) 
{
    double y,x;
    x = 9;
    y = 4.2;

    //cout.setf(ios::fixed, ios::floatfield);
    cout.precision(8);

    cout &lt;&lt; &quot;rest of &quot; &lt;&lt; x &lt;&lt; &quot; / &quot; &lt;&lt; y &lt;&lt; &quot; is &quot; &lt;&lt; fmod(x,y) &lt;&lt; endl;
    return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcrtomb?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>wcrtomb</title>
        <link>https://code-reference.com/c/wchar.h/wcrtomb?rev=1708041928&amp;do=diff</link>
        <description>wcrtomb
 #include &lt;wchar.h&gt;
 size_t wcrtomb(char *restrict, wchar_t, mbstate_t *restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/math.h/tan?rev=1708041937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:37+02:00</dc:date>
        <title>tan</title>
        <link>https://code-reference.com/c/math.h/tan?rev=1708041937&amp;do=diff</link>
        <description>tan


    double tan(double);


Returns the tangent of a radian angle x. 

C Sourcecode Example

compile with gcc tan.c -o tan -lm


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

#include &lt;math.h&gt; /* including math library */

int main( void )
{
    double x;
    x = 42;
    
    printf (&quot;tan of %lf° is %lf\n&quot;, x, tan (x*3.1415/180));
    return 0;
}</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/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/graphics.h/clearviewport?rev=1708041952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:52+02:00</dc:date>
        <title>clearviewport</title>
        <link>https://code-reference.com/c/graphics.h/clearviewport?rev=1708041952&amp;do=diff</link>
        <description>clearviewport

Syntax of clearviewport


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

Description of clearviewport


clearviewport erases the viewport and moves the CP (current position) to
home (0,0), relative to the viewport.


Example of clearviewport


/* clearviewport example */

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

#define CLIP_ON 1   /* activates clipping in viewport */

int main(void)
{
   /* request autodetection */
   int gdriver = DET…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/if?rev=1708041886&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:46+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/c/control_structures/if?rev=1708041886&amp;do=diff</link>
        <description>if


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

    if ( condition == true ){
    command;    
    }


C Sourcecode Example


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


int main( void )
{
  int i;

  for (i=0;i&lt;=99;i++){
    if (i==42) {
        printf(&quot;I have found the answer: %i\n&quot;,i);
    }
}

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/conj?rev=1359977746&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T12:35:46+02:00</dc:date>
        <title>conj</title>
        <link>https://code-reference.com/c/complex.h/conj?rev=1359977746&amp;do=diff</link>
        <description>double complex conj(double complex z);


description of conj

calculate the complex conjugate


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

int main( void )
{
   long double complex z = -1.11 - I*2.22;
   long double result;
   result = conjl(z);
   printf(&quot;conjl of %lf + %lf*I is %lf + %lf*I\n&quot;,creall(z), cimagl(z), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/mousey?rev=1708041951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:51+02:00</dc:date>
        <title>mousey</title>
        <link>https://code-reference.com/c/graphics.h/mousey?rev=1708041951&amp;do=diff</link>
        <description>mousey

Syntax of mousey


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

Description of mousey


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

Syntax of mousex


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

Description of mousex


The mousex function is available in the winbgim implementation of BGI
graphics. It returns the most recent x coordinate of the mouse within the
graphics window. X-coordinates start with 0 at the left edge of the
window and increase to getmaxx( ) at the right edge of the window.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/getwindowwidth?rev=1708041947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:47+02:00</dc:date>
        <title>getwindowwidth</title>
        <link>https://code-reference.com/c/graphics.h/getwindowwidth?rev=1708041947&amp;do=diff</link>
        <description>getwindowwidth

Syntax of getwindowwidth


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

Description of getwindowwidth


The getwindowwidth function is available in the winbgim implementation of
BGI graphics. The function returns the total width of the window
including nondrawable border areas.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/cleardevice?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>cleardevice</title>
        <link>https://code-reference.com/c/graphics.h/cleardevice?rev=1708041955&amp;do=diff</link>
        <description>cleardevice

Syntax of cleardevice


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

Description of cleardevice


cleardevice erases (that is, fills with the current background color) the
entire graphics screen and moves the CP (current position) to home (0,0).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/pieslice?rev=1708041954&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:54+02:00</dc:date>
        <title>pieslice</title>
        <link>https://code-reference.com/c/graphics.h/pieslice?rev=1708041954&amp;do=diff</link>
        <description>pieslice

Syntax of pieslice


#include &lt;graphics.h&gt;
void pieslice(int x, int y, int stangle, int endangle, int radius);
  

Description of pieslice


pieslice draws and fills a pie slice centered at (x,y) with a radius
given by radius. The slice travels from stangle to endangle. The slice is
outlined in the current drawing color and then filled using the current
fill pattern and fill color.
The angles for pieslice are given in degrees. They are measured
counterclockwise, with 0 degrees at 3 o'c…</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsmutablearray.h/init?rev=1401479598&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T21:53:18+02:00</dc:date>
        <title>init</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsmutablearray.h/init?rev=1401479598&amp;do=diff</link>
        <description>init

Inherited from NSArray.

    

- (id)init;
 


Returns an empty array.

Return Value
- NSMutableArray

ObjC Sourcecode Example



    // ** Init array **
    NSMutableArray *myArray = [[NSMutableArray alloc]init];
    
    // ** Output array **
    NSLog(@&quot;myArray : %@&quot;, myArray);</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/objective-c/foundation.framework/nsvalue.h/valuewithcgpoint?rev=1708042343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:23+02:00</dc:date>
        <title>valueWithCGPoint</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgpoint?rev=1708042343&amp;do=diff</link>
        <description>valueWithCGPoint

    

+ (NSValue *)valueWithCGPoint:(CGPoint)point;
 


Creates and returns an NSValue object that contains the value of a CGPoint.

Return Value
- A new NSValue object.

ObjC Sourcecode Example



    // ** Sample datatype **
    CGPoint aPoint = CGPointMake(150.0f, 200.0f);
    
    // ** Create nsvalue object **
    NSValue *cgPointValue = [NSValue valueWithCGPoint:aPoint];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, cgPointValue);</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/highvideo?rev=1360428653&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-09T17:50:53+02:00</dc:date>
        <title>highvideo</title>
        <link>https://code-reference.com/c/conio.h/highvideo?rev=1360428653&amp;do=diff</link>
        <description>void highvideo(void);


description of highvideo

Used to select the highlighted character.

selects highlighted character by setting Intensity bits the current foreground color.
This function has no effect on the characters that are currently displayed on the screen.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/drawpoly?rev=1708041952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:52+02:00</dc:date>
        <title>drawpoly</title>
        <link>https://code-reference.com/c/graphics.h/drawpoly?rev=1708041952&amp;do=diff</link>
        <description>drawpoly

Syntax of drawpoly


#include &lt;graphics.h&gt;
void drawpoly(int numpoints, int *polypoints);
  

Description of drawpoly


drawpoly draws a polygon with numpoints points, using the current line
style and color.
*polypoints points to a sequence of (numpoints * 2) integers. Each pair
of integers gives the x- and y-coordinates of a point on the polygon.
In order to draw a closed figure with n vertices, you must pass n + 1
coordinates to drawpoly where the nth coordinate is equal to the 0th.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/examples/port_scanner?rev=1708041925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:25+02:00</dc:date>
        <title>portscanner in c</title>
        <link>https://code-reference.com/c/examples/port_scanner?rev=1708041925&amp;do=diff</link>
        <description>compile with gcc portscanner.c -o portscanner

portscanner c example


/*
 * This example is a very simple Portscanner 
 * for c network programming
 * http://code-reference.com/c/examples/port_scanner
 */

#include &lt;stdio.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;netinet/in.h&gt;
#include &lt;errno.h&gt;
#include &lt;netdb.h&gt;
#include &lt;signal.h&gt;

int main(int argc, char **argv)
{
  int probeport = 0;
  struct hostent *host;
  int err, i, net,a,b,c,d,anz,x,w;
  struct sockaddr_in sa;
  struct servent *bar;
     …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/setbkcolor?rev=1708041955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:55+02:00</dc:date>
        <title>setbkcolor</title>
        <link>https://code-reference.com/c/graphics.h/setbkcolor?rev=1708041955&amp;do=diff</link>
        <description>setbkcolor

Syntax of setbkcolor


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

Description of setbkcolor


setbkcolor sets the background to the color specified by color. The
argument color can be a name or a number as listed below. (These symbolic
names are defined in graphics.h.)
Name   Value
BLACK  0
BLUE   1
GREEN  2
CYAN   3
RED    4
MAGENTA5
BROWN  6
LIGHTGRAY    7
DARKGRAY     8
LIGHTBLUE    9
LIGHTGREEN   10
LIGHTCYAN    11
LIGHTRED     12
LIGHTMAGENTA 13
YELLOW 14
WHITE  15
Fo…</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/c/wchar.h/wcscpy?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>wcscpy</title>
        <link>https://code-reference.com/c/wchar.h/wcscpy?rev=1708041931&amp;do=diff</link>
        <description>wcscpy
 #include &lt;wchar.h&gt;
 wchar_t *wcscpy(wchar_t *restrict, const wchar_t *restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/dos.h/delay?rev=1708041964&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:04+02:00</dc:date>
        <title>delay</title>
        <link>https://code-reference.com/c/dos.h/delay?rev=1708041964&amp;do=diff</link>
        <description>void delay(unsigned int);


description of delay

delay function is used to suspend execution of a program for a particular time

the parameter are number of milliseconds ( 1 second = 1000 milliseconds)



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

int main( void )
{
    printf(&quot;This c program quits in 42 seconds.\n&quot;);        
    delay(42000);                        
    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/c/complex.h/cabs?rev=1359934334&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T00:32:14+02:00</dc:date>
        <title>cabs</title>
        <link>https://code-reference.com/c/complex.h/cabs?rev=1359934334&amp;do=diff</link>
        <description>double cabs(double complex z);


description of cabs

cabs() compute the complex absolute value ... also called modules, norm, or magnitude of z.


#include &lt;stdio.h&gt; /* including standard library */
#include &lt;complex.h&gt;

void main(void)
{
   double complex z=4.2 + I*2.34;
   double result;

   result = cabs(z);
   printf(&quot;cabs(%f + I*%f) = %f\n&quot;,creal(z), cimag(z), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/catan?rev=1359937381&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:23:01+02:00</dc:date>
        <title>catan</title>
        <link>https://code-reference.com/c/complex.h/catan?rev=1359937381&amp;do=diff</link>
        <description>double complex catan(double complex z);


description of catan

calculate the complex arc tangent


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = catan(zdouble);
   printf(&quot;catan(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</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/cpp/control_structures/continue?rev=1708041872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:32+02:00</dc:date>
        <title>continue</title>
        <link>https://code-reference.com/cpp/control_structures/continue?rev=1708041872&amp;do=diff</link>
        <description>continue;
cpp Sourcecode Example


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

using namespace std;
int main( void ) {
int i;

for (i=0;i&lt;=80;i++) {
    if (i==42) continue;
    cout &lt;&lt; &quot;The answer is probably not &quot; &lt;&lt; i &lt;&lt; endl;
}

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcscspn?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>wcscspn</title>
        <link>https://code-reference.com/c/wchar.h/wcscspn?rev=1708041931&amp;do=diff</link>
        <description>wcscspn
 #include &lt;wchar.h&gt;
 size_t wcscspn(const wchar_t *, const wchar_t *);
return value

C Sourcecode Example


no example yet


output</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/wchar.h/mbsinit?rev=1708041931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:31+02:00</dc:date>
        <title>mbsinit</title>
        <link>https://code-reference.com/c/wchar.h/mbsinit?rev=1708041931&amp;do=diff</link>
        <description>mbsinit
 #include &lt;wchar.h&gt;
 int mbsinit(const mbstate_t *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/towlower?rev=1708041930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:30+02:00</dc:date>
        <title>towlower</title>
        <link>https://code-reference.com/c/wchar.h/towlower?rev=1708041930&amp;do=diff</link>
        <description>towlower
 #include &lt;wchar.h&gt;
 wint_t towlower(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/creal?rev=1359978837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T12:53:57+02:00</dc:date>
        <title>creal</title>
        <link>https://code-reference.com/c/complex.h/creal?rev=1359978837&amp;do=diff</link>
        <description>double creal(double complex z);


description of creal

calculate the complex real part


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

int main( void )
{

   double complex zdouble=(double complex)4.24 + I*1.34;
   printf(&quot;creal(%f)\n&quot;, creal(zdouble));
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/mbrtowc?rev=1708041929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:29+02:00</dc:date>
        <title>mbrtowc</title>
        <link>https://code-reference.com/c/wchar.h/mbrtowc?rev=1708041929&amp;do=diff</link>
        <description>mbrtowc
 #include &lt;wchar.h&gt;
 size_t mbrtowc(wchar_t *restrict, const char *restrict, size_t, mbstate_t *restrict);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/cpow?rev=1359978125&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T12:42:05+02:00</dc:date>
        <title>cpow</title>
        <link>https://code-reference.com/c/complex.h/cpow?rev=1359978125&amp;do=diff</link>
        <description>double complex cpow(double complex x, double complex y);


description of cpow

calculate the complex power


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

int main(void)
{
   double complex zd= (double complex) -4.2 + I*4.2;
   double zpowd=(double complex) (long double complex)42.0;
   double result;

   result = cpow(zd,zpowd);
   printf(&quot;cpow(%f + I*%f,%f + I*%f) = %f\n&quot;,creal(zd), cimag(zd), creal(zpowd), cimag(zpowd), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/cexp?rev=1359938062&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:34:22+02:00</dc:date>
        <title>cexp</title>
        <link>https://code-reference.com/c/complex.h/cexp?rev=1359938062&amp;do=diff</link>
        <description>double complex cexp(double complex z);


description of cexp

calculate the complex exponential


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

int main( void )
{

   double complex z=4.2424 + I*(-2.41231);
   double result;
   result = cexp(z);
   printf(&quot;cexp(%f + (%f)*I) = %f + (%f)*I\n&quot;,creal(z), cimag(z),creal(result),cimag(result));
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/sizeof?rev=1708041890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:50+02:00</dc:date>
        <title>sizeof</title>
        <link>https://code-reference.com/c/stdlib.h/sizeof?rev=1708041890&amp;do=diff</link>
        <description>“New”

sizeof


#include &lt;stdlib.h&gt;

    int sizeof(VALUE);


    sizeof operator returns the number of bytes to be reserved for a variable or a data type.

C Sourcecode Example


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


int main(void){

printf(&quot;int:         %d bytes\n&quot;, sizeof(int) );
printf(&quot;Hello World: %d bytes\n&quot;, sizeof(&quot;Hello World&quot;) );

return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/casin?rev=1359937138&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:18:58+02:00</dc:date>
        <title>casin</title>
        <link>https://code-reference.com/c/complex.h/casin?rev=1359937138&amp;do=diff</link>
        <description>double complex casin(double complex z);


description of casin

Calculate the Complex Arc Sine


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = casin(zdouble);
   printf(&quot;casin(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/csinh?rev=1359979184&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T12:59:44+02:00</dc:date>
        <title>csinh</title>
        <link>https://code-reference.com/c/complex.h/csinh?rev=1359979184&amp;do=diff</link>
        <description>double complex csinh(double complex z);


description of csinh

calculate the complex hyperbolic sine


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = csinh(zdouble);
   printf(&quot;csinh(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcsxfrm?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>wcsxfrm</title>
        <link>https://code-reference.com/c/wchar.h/wcsxfrm?rev=1708041928&amp;do=diff</link>
        <description>wcsxfrm
 #include &lt;wchar.h&gt;
 size_t wcsxfrm(wchar_t *restrict, const wchar_t *restrict, size_t);
return value

C Sourcecode Example


no example yet


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

Syntax of imagesize


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

Description of imagesize


imagesize determines the size of the memory area required to store a bit
image. If the size required for the selected image is greater than or
equal to 64K - 1 bytes, imagesize returns 0xFFFF (-1).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/rectangle?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>rectangle</title>
        <link>https://code-reference.com/c/graphics.h/rectangle?rev=1708041949&amp;do=diff</link>
        <description>rectangle

Syntax of rectangle


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

Description of rectangle


rectangle draws a rectangle in the current line style, thickness, and
drawing color.
(left,top) is the upper left corner of the rectangle, and (right,bottom)
is its lower right corner.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/catanh?rev=1359937491&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:24:51+02:00</dc:date>
        <title>catanh</title>
        <link>https://code-reference.com/c/complex.h/catanh?rev=1359937491&amp;do=diff</link>
        <description>double complex catanh(double complex z);


description of catanh

calculate the complex arc hyperbolic tangent


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = catanh(zdouble);
   printf(&quot;catanh(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   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/c/wchar.h/vwscanf?rev=1708041934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:34+02:00</dc:date>
        <title>vwscanf</title>
        <link>https://code-reference.com/c/wchar.h/vwscanf?rev=1708041934&amp;do=diff</link>
        <description>vwscanf
 #include &lt;wchar.h&gt;
 int vwscanf(const wchar_t *restrict, va_list);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/wcscmp?rev=1708041934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:34+02:00</dc:date>
        <title>wcscmp</title>
        <link>https://code-reference.com/c/wchar.h/wcscmp?rev=1708041934&amp;do=diff</link>
        <description>wcscmp
 #include &lt;wchar.h&gt;
 int wcscmp(const wchar_t *, const wchar_t *);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
    <item rdf:about="https://code-reference.com/c/datatypes/float?rev=1708041908&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:08+02:00</dc:date>
        <title>float</title>
        <link>https://code-reference.com/c/datatypes/float?rev=1708041908&amp;do=diff</link>
        <description>float
  float
  4 Byte
  1.2E-38 - 3.4E+38
  
  precision 6
  
C Sourcecode Example


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

 
int main(void)
{
  printf(&quot;float: %d bytes\n&quot;, sizeof(float) );
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff</link>
        <description>syntax
   break;
   
   Description: break ends a loop immediately
C Sourcecode Example


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


int main ( void ) {

int i;
i=0;

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

printf(&quot;The answer is %i\n&quot;,i);
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/complex.h/ccos?rev=1359937607&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T01:26:47+02:00</dc:date>
        <title>ccos</title>
        <link>https://code-reference.com/c/complex.h/ccos?rev=1359937607&amp;do=diff</link>
        <description>double complex ccos(double complex z);


description of ccos

calculate the complex cosine


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

int main( void )
{

   long double complex zlong=4.2 + I*2.34;
   double complex zdouble=(double complex)zlong;

   double result;

   result = ccos(zdouble);
   printf(&quot;ccos(%f + I*%f) = %f\n&quot;, creal(zdouble), cimag(zdouble), result);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/wchar.h/iswgraph?rev=1708041926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:26+02:00</dc:date>
        <title>iswgraph</title>
        <link>https://code-reference.com/c/wchar.h/iswgraph?rev=1708041926&amp;do=diff</link>
        <description>iswgraph
 #include &lt;wchar.h&gt;
 int iswgraph(wint_t);
return value

C Sourcecode Example


no example yet


output</description>
    </item>
</rdf:RDF>
