<?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:04:15+02:00</dc:date>
        <items>
            <rdf:Seq>
                <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/stdlib.h/bsearch?rev=1708041888&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_set_local_infile_handler?rev=1361836747&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/c/stdlib.h/qsort?rev=1708041892&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/mousex?rev=1708041952&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/putimage?rev=1708041953&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/c/stdlib.h/atexit?rev=1708041890&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/bitwise_operators/bitwiseand?rev=1708041855&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/setjmp.h/longjmp?rev=1360003254&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/string.h/memmove?rev=1708041975&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/arduino/data_types/void?rev=1708041852&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/graphics.h/imagesize?rev=1708041951&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/string.h/memcpy?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memchr?rev=1708041974&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/stdio.h/setbuf?rev=1708041941&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/datatypes?rev=1358857076&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/clearviewport?rev=1708041952&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/stdlib.h/free?rev=1413084164&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/variable_scope_and_qualifiers/volatile?rev=1708041853&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/cpp/constant/define?rev=1708041877&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/graphics.h/restorecrtmode?rev=1708041958&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/conio.h/highvideo?rev=1360428653&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/control_structures/for?rev=1708041847&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/delline?rev=1708041903&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/conio.h/clrscr?rev=1708041902&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memset?rev=1708041975&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/memcmp?rev=1708041975&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/graphdefaults?rev=1708041949&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/c/constant/define?rev=1708041922&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/c/graphics.h/getch?rev=1708041957&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/graphics.h/kbhit?rev=1708041948&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/arduino/time/delaymicroseconds?rev=1708041862&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/graphics.h/moveto?rev=1708041958&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/variables/global_variable?rev=1708041842&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setviewport?rev=1415235930&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/arduino/advanced_io/pulsein?rev=1708041871&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/arduino/digital_io/digitalread?rev=1708041846&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/graphics.h/bar?rev=1708041955&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/arduino/data_types/booleanvariables?rev=1708041851&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/java/lang/system/exit?rev=1708042324&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/micros?rev=1708041862&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/digital_io/digitalwrite?rev=1708041846&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/variable_scope_and_qualifiers/scope?rev=1708041853&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/conio.h/textbackground?rev=1414779984&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/dos.h/delay?rev=1708041964&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/random_numbers/random?rev=1708041857&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/stdlib.h/exit?rev=1708041892&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/interrupts/interrupts?rev=1708041864&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/malloc?rev=1708041892&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/stdio.h/tmpfile?rev=1708041940&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/arduino/structure/setup?rev=1708041868&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/setmousequeuestatus?rev=1708041956&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/c/conio.h/gotoxy?rev=1439192715&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/graphics.h/setallpalette?rev=1708041951&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/graphics.h/getwindowwidth?rev=1708041947&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/setactivepage?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/structure/loop?rev=1708041868&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/dos.h/sleep?rev=1708041965&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/graphics.h/arc?rev=1708041954&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/mysql/mysql.h/mysql_debug?rev=1362003170&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/ismouseclick?rev=1708041949&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/mblen?rev=1708041890&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/floodfill?rev=1708041952&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/getbkcolor?rev=1708041957&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/conio.h/gettext?rev=1360369313&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/analog_io/analogwrite?rev=1360951690&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/arduino/interrupts/nointerrupts?rev=1708041864&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/assert.h/assert?rev=1398606376&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/graphics.h/setrgbpalette?rev=1708041947&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/graphics.h/getmoderange?rev=1708041952&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/c/ctype.h/toascii?rev=1708041923&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/arduino/digital_io/pinmode?rev=1708041846&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/arduino/analog_io/analogread?rev=1360951305&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/closegraph?rev=1708041951&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/graphics.h/lineto?rev=1708041951&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/mysql/mysql.h/mysql_get_client_info?rev=1708042333&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/conio.h/textcolor?rev=1360428990&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/arduino/due_only/analogwriteresolution?rev=1708041863&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/millis?rev=1708041862&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/arithmetic_operators/modulo?rev=1708041858&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/stdio.h/rewind?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_options4?rev=1361835920&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/dos.h/sound?rev=1708041965&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getmaxheight?rev=1708041957&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/stdio.h/fwrite?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/random_numbers/randomseed?rev=1708041857&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/fillellipse?rev=1708041958&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/graphics.h/sector?rev=1708041956&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/arduino/utilities/sizeof?rev=1708041864&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/c/stdio.h/fscanf?rev=1708041942&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/graphics.h/getviewsettings?rev=1708041948&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/circle?rev=1708041949&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/stdlib.h/calloc?rev=1708041889&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_library_end?rev=1361835350&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/data_types/unsignedlong?rev=1708041851&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/arduino/constants/progmem?rev=1708041856&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/java/loops/for?rev=1366269081&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/arduino/data_types/string?rev=1708041852&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/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/graphics.h/fillpoly?rev=1708041948&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/graphics.h/setfillpattern?rev=1708041954&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/string.h/strcspn?rev=1708041975&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/stdio.h/vfprintf?rev=1708041943&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/control_structures/return?rev=1708041885&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/wchar.h/btowc?rev=1708041928&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/mysql/mysql.h/mysql_change_user?rev=1361916183&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/java/util/scanner/nextlong?rev=1365581680&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/graphics.h/getlinesettings?rev=1708041947&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/readimagefile?rev=1708041948&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdarg.h/va_end?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_create_db?rev=1361919366&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/math.h/floor?rev=1708041937&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/graphics.h/getpixel?rev=1439308760&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner?rev=1369672518&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fdopen?rev=1361800230&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/mysql/mysql.h/mysql_drop_db?rev=1362003386&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/mysql/mysql.h/mysql_get_host_info?rev=1361886971&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/stdio.h/fsetpos?rev=1708041944&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/c/stdio.h/remove?rev=1708041944&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_get_server_version?rev=1361888045&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_fetch_fields?rev=1362096452&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/control_structures/while?rev=1361019359&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_autocommit?rev=1361915690&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/c/conio.h/cgets?rev=1359922865&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/math.h/cos?rev=1708041935&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/java/control_structures/continue?rev=1708041837&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/cpp/control_structures/return?rev=1708041872&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/atof?rev=1708041888&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/ungetch?rev=1360707830&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/stdio.h/printf?rev=1408637388&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/mysql/mysql.h/mysql_options?rev=1361835680&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/graphics.h/writeimagefile?rev=1430946537&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/c/stdio.h/fgets?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fopen?rev=1430730823&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/cpp/cctype/isascii?rev=1708041874&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/c/mysql/mysql.h/mysql_init?rev=1359920158&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/mysql/mysql.h/mysql_free_result?rev=1708042328&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_set_local_infile_default?rev=1361836346&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/graphics.h/getpalettesize?rev=1708041953&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/math.h/fabs?rev=1708041935&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/wiki/syntax?rev=1501533425&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/csin?rev=1359979069&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/keywords/stdout?rev=1358093495&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/conio.h/kbhit?rev=1708041900&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/java/main?rev=1515738546&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/stdarg.h/va_start?rev=1708041946&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/dos.h/setdate?rev=1708041965&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/c/stdio.h/fgetpos?rev=1361069952&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/mysql/mysql.h/mysql_commit?rev=1361919057&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/stdlib.h/ldiv?rev=1708041890&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/c/math.h/sqrt?rev=1708041936&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/c/stdarg.h/va_copy?rev=1708041946&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/c/arithmetic_operators?rev=1708040903&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/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/stdlib.h/mbstowcs?rev=1708041891&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/conio.h/putch?rev=1359922245&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/stdio.h/putchar?rev=1708041943&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/wchar.h/fputws?rev=1708041933&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/java/datatypes?rev=1515738546&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/datatypes/double?rev=1708041912&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/textmode?rev=1424206921&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/complex.h/clog?rev=1359977276&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/stdio.h/snprintf?rev=1361804212&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/ctype.h/tolower?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/loops/while?rev=1365667420&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/cpp/variables?rev=1401900353&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/getdisplaycolor?rev=1708041950&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/datatypes/long_double?rev=1708041914&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/cpp/cctype/toascii?rev=1708041874&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/ctype.h/isgraph?rev=1708041922&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/cpp/cctype/tolower?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/islower?rev=1708041924&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/string.h/strspn?rev=1361063627&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/c/math.h/atan?rev=1708041935&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/ctype.h/iscntrl?rev=1708041923&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/textwidth?rev=1708041955&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/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/string.h/strstr?rev=1361064726&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/cpp/cmath/sqrt?rev=1708041879&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/c/string.h/strxfrm?rev=1361066569&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/math.h/log10?rev=1708041935&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/c/graphics.h/getmodename?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/math.h/ldexp?rev=1708041937&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/cpp/cmath/log?rev=1708041879&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/frexp?rev=1708041879&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/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/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/c/complex.h/carg?rev=1359935219&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/tolowercase?rev=1365581466&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/iscntrl?rev=1708041874&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/math.h/asin?rev=1708041937&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/swapbuffers?rev=1708041948&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/control_structures/goto?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/touppercase?rev=1365581482&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/toupper?rev=1708041875&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/java/io/printstream/println?rev=1708042322&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/replace?rev=1708042325&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/uikit.framework/uialerview.h?rev=1708041978&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/math/round?rev=1365581526&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isgraph?rev=1708041873&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/java/variables/array?rev=1366179085&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/cpp/cctype/islower?rev=1708041875&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/complex.h/csqrt?rev=1359979300&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/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/c/string.h/strcat?rev=1361067308&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/control_structures/do?rev=1708041885&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isspace?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/charat?rev=1365581451&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/math.h/log?rev=1708041936&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/c/keywords/void?rev=1708041963&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/cpp/cmath/tanh?rev=1708041879&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/cpp/cmath/ceil?rev=1708041879&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/time.h/ctime?rev=1708041883&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/math.h/sin?rev=1708041935&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/java/control_structures/if?rev=1365582955&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/getvisualpage?rev=1708041956&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/string.h/strcoll?rev=1708041974&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/math.h/exp?rev=1708041937&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/java/util/scanner/nextline?rev=1365581665&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/complex.h/ctan?rev=1359979421&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/mysql/mysql.h/mysql_get_character_set_info?rev=1361832170&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/stdlib.h/sizeof?rev=1708041890&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/c/string.h/strcpy?rev=1396667049&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/complex.h/csinh?rev=1359979184&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/cpp/control_structures/continue?rev=1708041872&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/string.h/strcmp?rev=1708041975&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/cpp/cmath/sinh?rev=1708041879&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/examples/fonts?rev=1708041979&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/c/complex.h/cacos?rev=1359934792&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/stdio.h/ungetc?rev=1708041943&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/wchar.h/fputwc?rev=1708041933&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/conio.h/cscanf?rev=1359922510&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/stdlib.h/mbtowc?rev=1403877396&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/java/control_structures/switch?rev=1365602129&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/ctype.h/isblank?rev=1708041923&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/math/random?rev=1708042323&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/classes/extends?rev=1366963338&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/cpp/cmath/cos?rev=1708041878&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/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/arduino/control_structures/return?rev=1708041847&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/c/graphics.h/settextstyle?rev=1708041950&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/graphics.h/getactivepage?rev=1708041952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdlib.h/wctomb?rev=1708041891&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/sprintf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/include?rev=1708041967&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/stdlib.h/atol?rev=1708041891&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/div?rev=1708041889&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/string.h/strerror?rev=1361058590&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/datatypes/bool?rev=1708041912&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/getwchar?rev=1708041930&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/lang/string/toarray?rev=1366267847&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vsprintf?rev=1708041943&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/stdlib.h/wcstombs?rev=1708041888&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/loops/do?rev=1515738547&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/util/scanner/nextdouble?rev=1365581618&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/graphics.h/printimage?rev=1708041947&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/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/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/complex.h/ccos?rev=1359937607&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/complex.h/catanh?rev=1359937491&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/keywords/null?rev=1358093454&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/cctype/isspace?rev=1708041874&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/conio.h/cputs?rev=1359922049&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/playground/c/stdio.h/printf?rev=1501372178&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/control_structures/else?rev=1708041838&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/java/control_structures/break?rev=1708041837&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/ctype.h/isprint?rev=1708041922&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/cpp/cctype/isxdigit?rev=1708041875&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/gets?rev=1708041941&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/c/graphics.h/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/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/mysql/mysql.h/mysql_set_local_infile_handler?rev=1361836747&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T00:59:07+02:00</dc:date>
        <title>mysql_set_local_infile_handler</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_set_local_infile_handler?rev=1361836747&amp;do=diff</link>
        <description>void mysql_set_local_infile_handler(
     MYSQL *mysql, 
     int (*local_infile_init)(void **, const char *, void *),
     int (*local_infile_read)(void *, char *, unsigned int), 
     void (*local_infile_end)(void *), 
     int (*local_infile_error)(void *, char*, unsigned int), 
     void *userdata
     );</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/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/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:58+02:00</dc:date>
        <title>clearmouseclick</title>
        <link>https://code-reference.com/c/graphics.h/clearmouseclick?rev=1708041958&amp;do=diff</link>
        <description>clearmouseclick

Syntax of clearmouseclick


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

Description of clearmouseclick


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

The bitwise operators perform their calculations at the bit level of variables. They help solve a wide range of common programming problems. Much of the material below is from an excellent tutorial on bitwise math wihch may be found  here.</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/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/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/string.h/memmove?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>memmove</title>
        <link>https://code-reference.com/c/string.h/memmove?rev=1708041975&amp;do=diff</link>
        <description>memmove


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


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

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

n: number of bytes to be copied (The type size_t corresponds usually int))</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/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/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/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/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/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/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/arduino/data_types?rev=1708040897&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:17+02:00</dc:date>
        <title>data types Overview</title>
        <link>https://code-reference.com/arduino/data_types?rev=1708040897&amp;do=diff</link>
        <description>data types Overview
 Name                 Description              array array  booleanvariables booleanvariables  byte byte  char char  double double  float float  int int  long long  short short  string string  stringobject stringobject  unsignedchar unsignedchar  unsignedint unsignedint  unsignedlong unsignedlong  void void  word word 
automatically generated overview ...

Change this page if you have a better description</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/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/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/datatypes?rev=1358857076&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-22T13:17:56+02:00</dc:date>
        <title>datatypes Overview</title>
        <link>https://code-reference.com/c/datatypes?rev=1358857076&amp;do=diff</link>
        <description>datatypes Overview
 Name                 Description              auto auto  auto auto  bool bool  char char  const const  const const  double double  float float  int int  int8 int8  int8 int8  int8_t int8_t  int8_t int8_t  int16 int16  int16 int16  int16_t int16_t  int16_t int16_t  int32 int32  int32 int32  int32_t int32_t  int32_t int32_t  int64 int64  int64 int64  int64_t int64_t  int64_t int64_t  intmax_t intmax_t  intmax_t intmax_t  intptr_t intptr_t  intptr_t intptr_t  int_fast8_t int_fas…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:00+02:00</dc:date>
        <title>Print Writer</title>
        <link>https://code-reference.com/java/io/printwriter?rev=1708041840&amp;do=diff</link>
        <description>----------

The PrintWriter class is a simple way of writing to files in Java io. It can be used in many ways and offers a great deal of methods inside the class. Some of these are quite common methods throughout the language itself. I will go through them step by step, giving examples for each. Let's get started:</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/arduino/variable_scope_and_qualifiers/volatile?rev=1708041853&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:13+02:00</dc:date>
        <title>volatile keyword</title>
        <link>https://code-reference.com/arduino/variable_scope_and_qualifiers/volatile?rev=1708041853&amp;do=diff</link>
        <description>volatile is a keyword known as a variable qualifier, it is usually used before the datatype of a variable, to modify the way in which the compiler and subsequent program treats the variable.

Declaring a variable volatile is a directive to the compiler. The compiler is software which translates your C/C++ code into  the machine code, which are the real instructions for the Atmega chip in the Arduino.</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/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/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/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/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/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/arduino/control_structures/for?rev=1708041847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:07+02:00</dc:date>
        <title>for statements</title>
        <link>https://code-reference.com/arduino/control_structures/for?rev=1708041847&amp;do=diff</link>
        <description>Desciption

The for statement is used to repeat a block of statements enclosed in curly braces. An increment counter is usually used to increment and terminate the loop. The for statement is useful for any repetitive operation, and is often used in combination with arrays to operate on collections of data/pins.</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/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/string.h/memset?rev=1708041975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:15+02:00</dc:date>
        <title>memset</title>
        <link>https://code-reference.com/c/string.h/memset?rev=1708041975&amp;do=diff</link>
        <description>memset


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


memset Fill / overwrite memory region with certain characters

str = Target memory block /c string

c = value byte that is used to overwrite

n = number of chars to be copied</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/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/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/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/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/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/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/c/graphics.h/getch?rev=1708041957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:57+02:00</dc:date>
        <title>getch</title>
        <link>https://code-reference.com/c/graphics.h/getch?rev=1708041957&amp;do=diff</link>
        <description>getch

Syntax of getch


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

Description of getch


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

Syntax of kbhit


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

Description of kbhit


The kbhit function is available in the winbgim implementation of BGI
graphics. You do not need to include conio.h; just include graphics.h.
The function returns true (non-zero) if there is a character in the input
buffer ready to read. Otherwise it returns false. In order to work, the
user must click in the graphics window (i.e., the Windows focus must be
in the graphics window).</description>
    </item>
    <item rdf:about="https://code-reference.com/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/arduino/time/delaymicroseconds?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>delayMicroseconds()</title>
        <link>https://code-reference.com/arduino/time/delaymicroseconds?rev=1708041862&amp;do=diff</link>
        <description>Description

Pauses the program for the amount of time (in microseconds) specified as parameter.  There are a thousand microseconds in a millisecond, and a million microseconds in a second.

Currently, the largest value that will produce an accurate delay is 16383. This could change in future Arduino releases.  For delays longer than a few thousand microseconds, you should use delay() instead.</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/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/java/variables/global_variable?rev=1708041842&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:02+02:00</dc:date>
        <title>global variable</title>
        <link>https://code-reference.com/java/variables/global_variable?rev=1708041842&amp;do=diff</link>
        <description>define a global variable in java, after the public class block

example of global varialbe  in java


 package codereferececomjava;

public class CodeRefereceComJava {

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

    
    public static void f…</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/arduino/advanced_io/pulsein?rev=1708041871&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:31+02:00</dc:date>
        <title>pulseIn()</title>
        <link>https://code-reference.com/arduino/advanced_io/pulsein?rev=1708041871&amp;do=diff</link>
        <description>Description

Reads a pulse (either HIGH or LOW) on a pin.  For example, if value is HIGH, pulseIn() waits for the pin to go HIGH, starts timing, then waits for the pin to go LOW and stops timing.  Returns the length of the pulse in microseconds. Gives up and returns 0 if no pulse starts within a specified time out.</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/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/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/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/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/arduino/data_types/booleanvariables?rev=1708041851&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:11+02:00</dc:date>
        <title>boolean</title>
        <link>https://code-reference.com/arduino/data_types/booleanvariables?rev=1708041851&amp;do=diff</link>
        <description>A boolean holds one of two values, true or false.  (Each boolean variable occupies one byte of memory.)

Example


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

boolean running = false;

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

void loop()
{
  if (digitalRead(switchPin) == LOW)
  {  // switch is pressed - pullup keeps pin high …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/arduino/time/micros?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>micros()</title>
        <link>https://code-reference.com/arduino/time/micros?rev=1708041862&amp;do=diff</link>
        <description>Description

Returns the number of microseconds since the Arduino board began running the current program.  This number will overflow (go back to zero), after approximately 70 minutes.  On 16 MHz Arduino boards (e.g. Duemilanove and Nano), this function has a resolution of four microseconds (i.e. the value returned is always a multiple of four).  On 8 MHz Arduino boards (e.g. the LilyPad), this function has a resolution of eight microseconds.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/digital_io/digitalwrite?rev=1708041846&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:06+02:00</dc:date>
        <title>digitalWrite()</title>
        <link>https://code-reference.com/arduino/digital_io/digitalwrite?rev=1708041846&amp;do=diff</link>
        <description>Description

Write a HIGH or a LOW value to a digital pin.

If the pin has been configured as an OUTPUT with pinMode(), its voltage will be set to the corresponding value: 5V (or 3.3V on 3.3V boards) for HIGH, 0V (ground) for LOW.

If the pin is configured as an INPUT, writing a HIGH value with digitalWrite()  will enable an internal 20K pullup resistor.  Writing LOW will disable the pullup. The pullup resistor is enough to light an LED dimly, so if LEDs appear to work, but very dimly, this is a…</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/variable_scope_and_qualifiers/scope?rev=1708041853&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:13+02:00</dc:date>
        <title>Variable Scope</title>
        <link>https://code-reference.com/arduino/variable_scope_and_qualifiers/scope?rev=1708041853&amp;do=diff</link>
        <description>Variables in the C programming language, which Arduino uses, have a property called scope. This is in contrast to languages such as BASIC where every variable is a global variable.

A global variable is one that can be seen by every function in a program. Local variables are only visible to the function in which they are declared. In the Arduino environment, any  variable declared outside of a function (e.g. setup(), loop(), etc. ), is a global variable.</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/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/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/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/arduino/random_numbers/random?rev=1708041857&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:17+02:00</dc:date>
        <title>random()</title>
        <link>https://code-reference.com/arduino/random_numbers/random?rev=1708041857&amp;do=diff</link>
        <description>Description

The random function generates pseudo-random numbers. 

Syntax

random(max)

random(min, max)

Parameters

min - lower bound of the random value, inclusive  (optional)

max - upper bound of the random value, exclusive

Returns

a random number between min and max-1 (long)</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/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/arduino/interrupts/interrupts?rev=1708041864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:24+02:00</dc:date>
        <title>interrupts()</title>
        <link>https://code-reference.com/arduino/interrupts/interrupts?rev=1708041864&amp;do=diff</link>
        <description>Description

Re-enables interrupts (after they've been disabled by noInterrupts()).  Interrupts allow certain important tasks to happen in the background and are enabled by default.  Some functions will not work while interrupts are disabled, and incoming communication may be ignored.  Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical sections of code.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/arduino/structure/setup?rev=1708041868&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:28+02:00</dc:date>
        <title>setup()</title>
        <link>https://code-reference.com/arduino/structure/setup?rev=1708041868&amp;do=diff</link>
        <description>The setup() function is called when a sketch starts.  Use it to initialize variables, pin modes, start using libraries, etc. The setup function will only run once, after each powerup or reset of the Arduino board.

Example


int buttonPin = 3;

void setup()
{
  Serial.begin(9600);
  pinMode(buttonPin, INPUT);
}

void loop()
{
  // ...
}</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/setmousequeuestatus?rev=1708041956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:56+02:00</dc:date>
        <title>setmousequeuestatus</title>
        <link>https://code-reference.com/c/graphics.h/setmousequeuestatus?rev=1708041956&amp;do=diff</link>
        <description>setmousequeuestatus

Syntax of setmousequeuestatus


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

Description of setmousequeuestatus


The setmousequeuestatus function is available in the winbgim
implementation of BGI graphics. This function controls whether mouse
events of a particular kind are queued for processing. If the status
parameter is false, then mouse events of the specified kind are not
queued. This means that each time a mouse event of that kind oc…</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/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/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/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/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/stdio.h/fprintf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fprintf</title>
        <link>https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff</link>
        <description>int fprintf(FILE *stream, const char *format, ...);


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



optional flag:



-  left adjust

+  always sign

0  zero pad

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



optional minimum width: if specified as *…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/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/arduino/structure/loop?rev=1708041868&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:28+02:00</dc:date>
        <title>Example</title>
        <link>https://code-reference.com/arduino/structure/loop?rev=1708041868&amp;do=diff</link>
        <description>!loop()

After creating a setup() function, which initializes and sets the initial values, the loop() function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond.  Use it to actively control the Arduino board.</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/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/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/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/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/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/c/graphics.h/ismouseclick?rev=1708041949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:49+02:00</dc:date>
        <title>ismouseclick</title>
        <link>https://code-reference.com/c/graphics.h/ismouseclick?rev=1708041949&amp;do=diff</link>
        <description>ismouseclick

Syntax of ismouseclick


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

Description of ismouseclick


The ismouseclick function is available in the winbgim implementation of
BGI graphics. This function returns true if there is an unprocessed mouse
event of the specified kind. The argument to ismouseclick is one of these
constants from the graphics.h file:
  WM_MOUSEMOVE
if you want to detect a mouse movement
  WM_LBUTTONDBLCLK
...detect when the left mouse button is double …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/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/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/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/arduino/analog_io/analogwrite?rev=1360951690&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T19:08:10+02:00</dc:date>
        <title>analogWrite()</title>
        <link>https://code-reference.com/arduino/analog_io/analogwrite?rev=1360951690&amp;do=diff</link>
        <description>Description

Writes an analog value ( PWM wave) to a pin.  Can be used to light a LED at varying brightnesses or drive a motor at various speeds.  After a call to analogWrite(), the pin will generate a steady square wave of the specified duty cycle until the next call to analogWrite() (or a call to digitalRead() or digitalWrite() on the same pin).  The frequency of the PWM signal is approximately 490 Hz.</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/arduino/interrupts/nointerrupts?rev=1708041864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:24+02:00</dc:date>
        <title>noInterrupts()</title>
        <link>https://code-reference.com/arduino/interrupts/nointerrupts?rev=1708041864&amp;do=diff</link>
        <description>Description

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


    int toascii (int c);


a macro thats convert c into ascii chars

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; 
 
 void main(void) 
 { 
   int i; 
 
   for (i=0x2a; i&lt;=0x42; i++) { 
     printf(&quot;%#04x is %c\n&quot;, i, toascii(i));
   } 
 
 }</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/arduino/digital_io/pinmode?rev=1708041846&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:06+02:00</dc:date>
        <title>pinMode()</title>
        <link>https://code-reference.com/arduino/digital_io/pinmode?rev=1708041846&amp;do=diff</link>
        <description>Description

Configures the specified pin to behave either as an input or an output.

As of Arduino 1.0.1, it is possible to enable the internal pullup resistors with the mode INPUT_PULLUP.  Additionally, the INPUT mode explicitly disables the internal pullups.</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/arduino/analog_io/analogread?rev=1360951305&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-15T19:01:45+02:00</dc:date>
        <title>analogRead()</title>
        <link>https://code-reference.com/arduino/analog_io/analogread?rev=1360951305&amp;do=diff</link>
        <description>Description

Reads the value from the specified analog pin. The Arduino board contains a 6 channel (8 channels on the Mini and Nano, 16 on the Mega), 10-bit analog to digital converter. This means that it will map input voltages between 0 and 5 volts into integer values between 0 and 1023. This yields a resolution between readings of: 5 volts / 1024 units or, .0049 volts (4.9 mV) per unit. The input range and resolution can be changed using analogReference(type).</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/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/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/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/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/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/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/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/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/arduino/due_only/analogwriteresolution?rev=1708041863&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:23+02:00</dc:date>
        <title>analogWriteResolution()</title>
        <link>https://code-reference.com/arduino/due_only/analogwriteresolution?rev=1708041863&amp;do=diff</link>
        <description>Description

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

analogWriteResolution() sets the resolution of the analogWrite() function. It defaults to 8 bits (values between 0-255) for backward compatibility with AVR based boards.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/time/millis?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>millis()</title>
        <link>https://code-reference.com/arduino/time/millis?rev=1708041862&amp;do=diff</link>
        <description>Description

Returns the number of milliseconds since the Arduino board began running the current program.  This number will overflow (go back to zero), after approximately 50 days.

Parameters

None

Returns

Number of milliseconds since the program started (unsigned long)</description>
    </item>
    <item rdf:about="https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-22T02:30:47+02:00</dc:date>
        <title>Keywords in C 89/99</title>
        <link>https://code-reference.com/c/keywords?rev=1358818247&amp;do=diff</link>
        <description>C89 Keywords

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

Calculates the remainder when one integer is divided by another.  It is useful for keeping a variable within a particular range (e.g. the size of an array).

Syntax

result = dividend % divisor

Parameters

dividend: the number to be divided</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/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/mysql/mysql.h/mysql_options4?rev=1361835920&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T00:45:20+02:00</dc:date>
        <title>mysql_options4</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_options4?rev=1361835920&amp;do=diff</link>
        <description>int mysql_options4(MYSQL *mysql, enum mysql_option option, const void *arg1, const void *arg2)


description of mysql_options4

mysql_options4 is in work by code-reference.com 

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


no example at the moment</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/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/arduino/time/delay?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>delay()</title>
        <link>https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff</link>
        <description>Description

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

Syntax

delay(ms)

Parameters

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

Returns

nothing

Example


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

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

void loop()
{
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);          …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/graphics.h/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/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/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/arduino/random_numbers/randomseed?rev=1708041857&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:17+02:00</dc:date>
        <title>randomSeed(seed)</title>
        <link>https://code-reference.com/arduino/random_numbers/randomseed?rev=1708041857&amp;do=diff</link>
        <description>Description

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

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

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

Syntax

sizeof(variable)

Parameters

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

Example code

The sizeof operator is useful for dealing with arrays (such as strings) where it is convenient to be able to change the  size of the array without breaking other parts of the program.</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/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/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/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/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/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/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/mysql/mysql.h/mysql_library_end?rev=1361835350&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T00:35:50+02:00</dc:date>
        <title>mysql_library_end</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_library_end?rev=1361835350&amp;do=diff</link>
        <description>void mysql_library_end(void)


description of mysql_library_end

mysql_library_end is in work by code-reference.com 

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


no example at the moment


output of mysql_library_end c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/data_types/unsignedlong?rev=1708041851&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:11+02:00</dc:date>
        <title>unsigned long</title>
        <link>https://code-reference.com/arduino/data_types/unsignedlong?rev=1708041851&amp;do=diff</link>
        <description>Description

Unsigned long variables are extended size variables for number storage, and store 32 bits (4 bytes). Unlike standard longs unsigned longs won't store negative numbers, making their range from 0 to 4,294,967,295 (2^32 - 1).

Example


unsigned long time;

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  Serial.print(&quot;Time: &quot;);
  time = millis();
  //prints time since program started
  Serial.println(time);
  // wait a second so as not to send massive amounts of data
  delay(10…</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/arduino/constants/progmem?rev=1708041856&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:16+02:00</dc:date>
        <title>PROGMEM</title>
        <link>https://code-reference.com/arduino/constants/progmem?rev=1708041856&amp;do=diff</link>
        <description>Store data in flash (program) memory instead of SRAM.  There's a description of the various  types of memory available on an Arduino board.

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


description of for

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

example 1 of for in java




package codereferececomjava;
 
public class CodeRefereceComJava {
 
 
    public static void main(String[] args) {
        
        int myOtherCount=5;
 
 
        for (int i = 0; i &lt;= myOtherCount; i++) {
            System.out.print…</description>
    </item>
    <item rdf:about="https://code-reference.com/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/arduino/data_types/string?rev=1708041852&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:12+02:00</dc:date>
        <title>string</title>
        <link>https://code-reference.com/arduino/data_types/string?rev=1708041852&amp;do=diff</link>
        <description>Description

Text strings can be represented in two ways.  you can use the String data type, which is part of the core as of version 0019, or you can make a string out of an array of type char and null-terminate it.  This page described the latter method. For more details on the String object, which gives you more functionality at the cost of more memory, see the String object page.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/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/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/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/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/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/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/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/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/wchar.h/btowc?rev=1708041928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:28+02:00</dc:date>
        <title>btowc</title>
        <link>https://code-reference.com/c/wchar.h/btowc?rev=1708041928&amp;do=diff</link>
        <description>btowc


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


Description

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

return value

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

output is affected by the current LC_TYPE locale.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/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/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/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/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/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/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/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/readimagefile?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>readimagefile</title>
        <link>https://code-reference.com/c/graphics.h/readimagefile?rev=1708041948&amp;do=diff</link>
        <description>readimagefile

Syntax of readimagefile


#include &quot;graphics.h&quot;
void readimagefile(
    const char* title=NULL,	
    int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX
    );
  

Description of readimagefile

&lt;code c&gt;
The readimagefile 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 a BMP, GIF, JPG, ICO, EMF or WMF image
file and displays it in part of the current active window. The fi…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdarg.h/va_end?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_end?rev=1708041946&amp;do=diff</link>
        <description>void va_end(va_list ap);


description


       Each invocation of va_start() must be matched by a corresponding invocation of
       va_end() in the same function.  After the call va_end(ap) the variable ap is
       undefined.  Multiple traversals of the list, each bracketed by va_start() and
       va_end() are possible.  va_end() may be a macro or a function.</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_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/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/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/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/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/java/util/scanner?rev=1369672518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-05-27T18:35:18+02:00</dc:date>
        <title>Scanner()</title>
        <link>https://code-reference.com/java/util/scanner?rev=1369672518&amp;do=diff</link>
        <description>Reads input from a Keyboard, or a Device

CODE_SIGN_IDENTITY

--verify

--file-list

--display -r- Terminal.app

example Scanner in java


package scanner;

import java.util.Scanner;

public class Scanner {

    public static void main(String[] args) {
        
        /* Create Scanner Object for the input from the keyboard */
        Scanner scan = new Scanner(System.in); 
        
        double currency, amount, exchangeRate;
        String currencyName, newCurrency;
                
       …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/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/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/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/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/c/stdio.h/remove?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>remove</title>
        <link>https://code-reference.com/c/stdio.h/remove?rev=1708041944&amp;do=diff</link>
        <description>int remove(const char *filename);


Removes specified file. Returns non-zero on failure.

Example Source


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

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

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

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

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

 fprintf (tmpfile, &quot;temporary file f…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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_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_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_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/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/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/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_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/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/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/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/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/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/java/control_structures/continue?rev=1708041837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:03:57+02:00</dc:date>
        <title>continiue</title>
        <link>https://code-reference.com/java/control_structures/continue?rev=1708041837&amp;do=diff</link>
        <description>continiue;


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

example of continiue in java


package codereferececomjava;

public class CodeRefereceComJava {

 
    public static void main(String[] args) {

        int i;
        for (i=40;i&lt;=45;i++) {
            if (i==42) continue;
            System.out.println(&quot;The answer is probably not &quot;+i);
        }
 
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/atof?rev=1708041888&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:48+02:00</dc:date>
        <title>atof</title>
        <link>https://code-reference.com/c/stdlib.h/atof?rev=1708041888&amp;do=diff</link>
        <description>atof


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


Description


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

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

       except that atof() does not detect errors.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/mysql/mysql.h/mysql_options?rev=1361835680&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T00:41:20+02:00</dc:date>
        <title>mysql_options</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_options?rev=1361835680&amp;do=diff</link>
        <description>int mysql_options(MYSQL *mysql, enum mysql_option option, const void *arg)


description of mysql_options

mysql_options is in work by code-reference.com 

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


no example at the moment


output of mysql_options c example
  no example at the moment</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/graphics.h/writeimagefile?rev=1430946537&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-05-06T23:08:57+02:00</dc:date>
        <title>writeimagefile</title>
        <link>https://code-reference.com/c/graphics.h/writeimagefile?rev=1430946537&amp;do=diff</link>
        <description>writeimagefile

Syntax of writeimagefile


#include &quot;graphics.h&quot;
void writeimagefile(
    const char* title=NULL,	
    double width_inches=7, double border_left_inches=0.75, double
border_top_inches=0.75,
    int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX
    );</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/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/stdio.h/fgetc?rev=1417696073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-12-04T13:27:53+02:00</dc:date>
        <title>fgetc</title>
        <link>https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff</link>
        <description>fgetc


    int fgetc ( FILE * stream );


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

C Sourcecode Example


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


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


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

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

  while((c = fget…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/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/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/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/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/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/mysql/mysql.h/mysql_free_result?rev=1708042328&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:08+02:00</dc:date>
        <title>mysql_free_result</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_free_result?rev=1708042328&amp;do=diff</link>
        <description>void mysql_free_result(MYSQL_RES *result)


description of mysql_free_result

mysql_free_result is in work by code-reference.com 

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


no example at the moment


output of mysql_free_result c example
  no example at the moment</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_set_local_infile_default?rev=1361836346&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-26T00:52:26+02:00</dc:date>
        <title>mysql_set_local_infile_default</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_set_local_infile_default?rev=1361836346&amp;do=diff</link>
        <description>void mysql_set_local_infile_default(MYSQL *mysql)


description of mysql_set_local_infile_default

mysql_set_local_infile_default is in work by code-reference.com 

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


no example at the moment


output of mysql_set_local_infile_default c example
  no example at the moment</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/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/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/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/wiki/syntax?rev=1501533425&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-07-31T22:37:05+02:00</dc:date>
        <title>Formatting Syntax</title>
        <link>https://code-reference.com/wiki/syntax?rev=1501533425&amp;do=diff</link>
        <description>DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the Edit this page button at the top or bottom of the page. If you want to try something, just use the playground page. The simpler markup is easily accessible via quickbuttons, too.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/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/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/java/main?rev=1515738546&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:06+02:00</dc:date>
        <title>main</title>
        <link>https://code-reference.com/java/main?rev=1515738546&amp;do=diff</link>
        <description>A class contains attributes(objects,variables,etc) and methods(pieces of code).

The main method is the method which will run.

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



        public class test
        {
                public static void main(String[] args)
                {
               
                }
        }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/stdarg.h/va_start?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_start?rev=1708041946&amp;do=diff</link>
        <description>void va_start(va_list ap, argN);


description


       The va_start() macro initializes ap for subsequent use by va_arg() and
       va_end(), and must be called first.
    
       The argument last is the name of the last argument before the variable
       argument list, that is, the last argument of which the calling function knows
       the type.
    
       Because the address of this argument may be used in the va_start() macro, it
       should not be declared as a register variable, or…</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/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/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/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/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/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/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/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/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/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/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/c/stdarg.h/va_copy?rev=1708041946&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:46+02:00</dc:date>
        <title>c:stdarg.h:va_copy</title>
        <link>https://code-reference.com/c/stdarg.h/va_copy?rev=1708041946&amp;do=diff</link>
        <description>void va_copy(va_list dest, va_list src);



       An obvious implementation would have a va_list be a pointer to the stack frame
       of the variadic function.  In such a setup (by far the most common) there
       seems nothing against an assignment
    
           va_list aq = ap;
    
       Unfortunately, there are also systems that make it an array of pointers (of
       length 1), and there one needs
    
           va_list aq;
           *aq = *ap;
    
       Finally, on systems where…</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/c/arithmetic_operators?rev=1708040903&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T00:48:23+02:00</dc:date>
        <title>arithmetic operators</title>
        <link>https://code-reference.com/c/arithmetic_operators?rev=1708040903&amp;do=diff</link>
        <description>* (multiplicator) 

/ (dividing) 

% (modulo) ... e.g. rest of a number

+ -

++ --


example


#include &lt;stdio.h&gt;

int main (void) {
int x,y;
x=2;

x = x+1; // = 3
x = x++; // = 3
x = ++x; // = 3
x = +=x; // = 4
// and so on

/*
for the wired case of 
x = x+++x;
or 
x=x---x; 

that means 
x = x++ +x; 
and 
x = x-- -x;


also possible is

x = x- --x;
*/
}</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/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/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/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/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/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/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/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/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/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/java/datatypes?rev=1515738546&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:06+02:00</dc:date>
        <title>Declaration Dataypes</title>
        <link>https://code-reference.com/java/datatypes?rev=1515738546&amp;do=diff</link>
        <description>package datatypes;

public class DataTypes {

    public static void main(String[] args) {
        // primitiv Datatypes
        
        boolean aa = true;     // 1 bit
        char bb = 'A';         // 2 Bytes
        char cc = 65;          // 2 Bytes
        byte dd = 12;          // 1 Byte -128 - +127
        short ee = 234;        // 2 Bytes -32768 - +32767
        int ff = 4711;         // 4 Bytes
        long gg = 34567;       // 8 Bytes
        float hh = 3.14f;      // 4 Bytes
        d…</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/conio.h/textmode?rev=1424206921&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-02-17T22:02:01+02:00</dc:date>
        <title>textmode</title>
        <link>https://code-reference.com/c/conio.h/textmode?rev=1424206921&amp;do=diff</link>
        <description>Changes screen mode (in text mode)

Declaration: void textmode(int newmode);

Remarks:
textmode selects a specific text mode.

You can give the text mode (the argument
newmode) by using a symbolic constant from the
enumeration type text_modes (defined in
CONIO.H).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>description</title>
        <link>https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff</link>
        <description>int fputchar( int c );


description

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

example


#include &lt;stdio.h&gt;

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

    fp = fopen( &quot;file.txt&quot;, &quot;r&quot; );
    if( fp != NULL ) {
      c = fgetc( fp );
      while( c != EOF ) {
        fputchar( c );
        c = fgetc( fp );
      }
      fclose( fp );
    }
  }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/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/control_structures/break?rev=1708041885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:45+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/c/control_structures/break?rev=1708041885&amp;do=diff</link>
        <description>syntax
   break;
   
   Description: break ends a loop immediately
C Sourcecode Example


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


int main ( void ) {

int i;
i=0;

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

printf(&quot;The answer is %i\n&quot;,i);
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/java/loops/while?rev=1365667420&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-11T10:03:40+02:00</dc:date>
        <title>while</title>
        <link>https://code-reference.com/java/loops/while?rev=1365667420&amp;do=diff</link>
        <description>while (condition) {

//command

}


a while loop do something while a condition

example of while loop in java


package codereferececomjava;

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

        int i=4;
              
        while(i==4) {
        
             i++;
         }
         
        System.out.println(&quot;i is :&quot; + i );
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/getdisplaycolor?rev=1708041950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:50+02:00</dc:date>
        <title>getdisplaycolor</title>
        <link>https://code-reference.com/c/graphics.h/getdisplaycolor?rev=1708041950&amp;do=diff</link>
        <description>getdisplaycolor

Syntax of getdisplaycolor


#include &lt;graphics.h&gt;
int getdisplaycolor( int color );
  

Description of getdisplaycolor


The getdisplaycolor function is available in the winbgim implementation
of BGI graphics. getdisplaycolor is used to get an color that the current
actual display device can display.</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/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/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/cpp/cctype/toascii?rev=1708041874&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:34+02:00</dc:date>
        <title>toascii</title>
        <link>https://code-reference.com/cpp/cctype/toascii?rev=1708041874&amp;do=diff</link>
        <description>toascii


    int toascii (int c);


a macro thats convert c into ascii chars

cpp Sourcecode Example


#include &lt;iostream&gt; /* including standard library */
#include &lt;cctype&gt; 
 
using namespace std;
int main( void ) 
 { 
   int i; 
   for (i=0x2a; i&lt;=0x42; i++) { 
       cout &lt;&lt; i &lt;&lt; &quot; is &quot; &lt;&lt; static_cast&lt;char&gt;(toascii(i)) &lt;&lt; endl;
   } 
 
 }</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/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/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/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/ctype.h/islower?rev=1708041924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:24+02:00</dc:date>
        <title>islower</title>
        <link>https://code-reference.com/c/ctype.h/islower?rev=1708041924&amp;do=diff</link>
        <description>islower


    int islower(int chr);


checks whether a character is lowercase

C Sourcecode Example


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

#include &lt;ctype.h&gt;

int main ( void )
{
  int i;
  char string[11]=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( islower(string[i]) != 0 )
      {
       printf(&quot;Character %i is a lower char\n&quot;,i);
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/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/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/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/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/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/string.h/strstr?rev=1361064726&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T02:32:06+02:00</dc:date>
        <title>strstr</title>
        <link>https://code-reference.com/c/string.h/strstr?rev=1361064726&amp;do=diff</link>
        <description>#include &lt;stdlib.h&gt;
char *strstr(const char *str1, const char *str2);


strstr C Sourcecode Example


/* 
 * strstr example code
 * http://code-reference.com/c/string.h/strstr
 */
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
    
int main ( void )
{
   char str[] = &quot;42 is the result or ? but what was the question&quot;;
   char *ptr;
   // set the Pointer ptr to &quot;or ?&quot;
   ptr = strstr (str, &quot;or ?&quot;);
   // replace the text with &quot;yes&quot;
   strncpy (ptr, &quot;yes&quot;, 3);
   printf(&quot;%s\n&quot;,str);
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/java/lang/string/tolowercase?rev=1365581466&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:11:06+02:00</dc:date>
        <title>toLowerCase</title>
        <link>https://code-reference.com/java/lang/string/tolowercase?rev=1365581466&amp;do=diff</link>
        <description>toLowerCase()
toLowerCase(locale);




description of toLowerCase

returns the String, converted to lowerspace.

example of toLowerCase in java



package lang;

public class Lang {

    public static void main(String[] args) {
        
        String str = &quot;TEST 1234&quot;;
        
        str = str.toLowerCase();
        // str = str.toLowerCase(Locale.SIMPLIFIED_CHINESE); // for Simplified Chinese
        
        System.out.println(str+&quot; in lowercase&quot;);
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/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/graphics.h/swapbuffers?rev=1708041948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:48+02:00</dc:date>
        <title>swapbuffers</title>
        <link>https://code-reference.com/c/graphics.h/swapbuffers?rev=1708041948&amp;do=diff</link>
        <description>swapbuffers

Syntax of swapbuffers


#include &quot;graphics.h&quot;
void swapbuffers( );
  

Description of swapbuffers

&lt;code c&gt;
The swapbuffers function is available in the winbgim implementation of
BGI graphics. You do not need to include conio.h; just include
graphics.h. The function swaps the roles of the current active and the
current visual graphics buffers. It is equivalent to these statements:</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/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/java/lang/string/touppercase?rev=1365581482&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:11:22+02:00</dc:date>
        <title>toUpperCase</title>
        <link>https://code-reference.com/java/lang/string/touppercase?rev=1365581482&amp;do=diff</link>
        <description>toUpperCase()
toUpperCase(locale)


description of toUpperCase

returns the String, converted to uppercase.

example of toUpperCase in java



package lang;

public class Lang {

    public static void main(String[] args) {
        
        String str = &quot;test 1234&quot;;
        
        str = str.toUpperCase();
        // str = str.toUpperCase(Locale.SIMPLIFIED_CHINESE); // for Simplified Chinese
        
        System.out.println(str+&quot; in uppercase&quot;);
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/java/io/printstream/println?rev=1708042322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:02+02:00</dc:date>
        <title>println</title>
        <link>https://code-reference.com/java/io/printstream/println?rev=1708042322&amp;do=diff</link>
        <description>This line outputs the string parameter to the console with a line return.


println(parameter): void

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



Language Example


        System.out.println(&quot;Hello&quot;);
        System.out.println(&quot;I am a programmer&quot;);
        
        System.out.println(&quot; 3 + 4 = &quot; + 3+4 ); // appends 3 and 4 to the string
        System.out.println(&quot; 3 + 4 = &quot; + (3+4) ); // calculate 3+4 before the string &quot;7&quot; added</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/string/replace?rev=1708042325&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:05+02:00</dc:date>
        <title>replace</title>
        <link>https://code-reference.com/java/lang/string/replace?rev=1708042325&amp;do=diff</link>
        <description>public String replace(CharSequence target, CharSequence replacement)


description of replace

this method is used to replace a char Sequence

example of replace in java


package replace;

public class ReplaceString {

    public static void main(String[] args) {

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

----------

UIAlertView is a standard class in the UIKit framework. It is commonly used to display the state of something, or even just be used a way to communicate to the user in iOS applications.

Code


#import &lt;UIKit/UIKit&gt;

- (void) viewDidLoad {
   UIAlertView *alert = [[UIAlertView alloc]
                          initWithTitle:@&quot;Title Message&quot;
                          message:@&quot;This is a simple message!&quot;
                          delegate:self
                          canc…</description>
    </item>
    <item rdf:about="https://code-reference.com/java/lang/math/round?rev=1365581526&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:12:06+02:00</dc:date>
        <title>Math.round</title>
        <link>https://code-reference.com/java/lang/math/round?rev=1365581526&amp;do=diff</link>
        <description>rounds a number 

example of round in java



package roundanumber;
import java.lang.Math;

public class Roundanumber {


    public static void main(String[] args) {
        // TODO code application logic here
        
        double number, number2;
        number = 33.384422;
        number2 = 33.898823;
    
    System.out.println(&quot;number: &quot; + Math.round(number));
    System.out.println(&quot;number2: &quot; + Math.round(number2));
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/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/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/java/variables/array?rev=1366179085&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-17T08:11:25+02:00</dc:date>
        <title>Arrays in Java</title>
        <link>https://code-reference.com/java/variables/array?rev=1366179085&amp;do=diff</link>
        <description>an array, it is a object variable (box,container), which is a variable in a position to take up more than one object of the same type and manage it

example of arrays in java


package arrays;

public class Arrays {

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


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


int main( void ) {
int i;
    
    do
        printf(&quot;Hello World no %i\n&quot;,i);
    while (i++);
    
return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/java/lang/string/charat?rev=1365581451&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:10:51+02:00</dc:date>
        <title>charAt</title>
        <link>https://code-reference.com/java/lang/string/charat?rev=1365581451&amp;do=diff</link>
        <description>charAt(int index)


description of charAt

returns char value at the specified index of  string.

example of charAt in java



package lang;

public class Lang {

    public static void main(String[] args) {
        
        String str = &quot;test 1234&quot;;
        char chr;
        
        chr = str.charAt(1);
        
        System.out.println(chr+&quot; is the 2 char&quot;);
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/c/keywords/void?rev=1708041963&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:03+02:00</dc:date>
        <title>c:keywords:void</title>
        <link>https://code-reference.com/c/keywords/void?rev=1708041963&amp;do=diff</link>
        <description>see void</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/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/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/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/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/time.h/ctime?rev=1708041883&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:43+02:00</dc:date>
        <title>ctime</title>
        <link>https://code-reference.com/c/time.h/ctime?rev=1708041883&amp;do=diff</link>
        <description>ctime


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


Description

The ctime() function shall convert the time pointed to by clock, representing time in seconds since the Epoch,
to local time in the form of a string. It shall be equivalent to</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/java/control_structures/if?rev=1365582955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:35:55+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/java/control_structures/if?rev=1365582955&amp;do=diff</link>
        <description>if ( condition == true ){
    command;    
 }


check if a condition is true or false

example of if in java




package plausibilitycheck;

import java.util.Scanner;

public class Plausibilitycheck{

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

        int celsius;
        double fahrenheit;

        Scanner scan = new Scanner(System.in);

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

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

Syntax of getvisualpage


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

Description of getvisualpage


The getvisualpage function is available in the winbgim implementation of
BGI graphics. getvisualpage gets the page number of the currently visable
page (which is visible on the screen).
The visual graphics page might not be the one where drawing currnetly
takes place.
The original winbgi was designed to support up to 16 pages, but I have
only used pages 1 and 2 myself. NOTE:…</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/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/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/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/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/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/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/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/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/mysql/mysql.h/mysql_get_character_set_info?rev=1361832170&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T23:42:50+02:00</dc:date>
        <title>mysql_get_character_set_info</title>
        <link>https://code-reference.com/c/mysql/mysql.h/mysql_get_character_set_info?rev=1361832170&amp;do=diff</link>
        <description>void mysql_get_character_set_info(MYSQL *mysql, MY_CHARSET_INFO *cs)


description of mysql_get_character_set_info

mysql_get_character_set_info is in work by code-reference.com 

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


no example at the moment</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/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/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/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/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/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/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/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/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/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/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/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/objective-c/examples/fonts?rev=1708041979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:19+02:00</dc:date>
        <title>Custom Fonts</title>
        <link>https://code-reference.com/objective-c/examples/fonts?rev=1708041979&amp;do=diff</link>
        <description>Using a custom font in Cocoa touch


There are a lot of fonts provided by iOS. This example will use “Heiti SC”.

Importing a font not provided by iOS

Sample Font: Lobster.otf

1. Copy the font into your project.

2. Go to project info.plist and add the key: “fonts provided by application”. It should be kind of type array.

3. Insert the font as item into the array. The item font-name must be the name of your font-file (here: Lobster.otf).</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/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/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/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/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/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/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/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/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/stdlib.h/mbtowc?rev=1403877396&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-27T15:56:36+02:00</dc:date>
        <title>mbtowc</title>
        <link>https://code-reference.com/c/stdlib.h/mbtowc?rev=1403877396&amp;do=diff</link>
        <description>mbtowc


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

Description

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


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

int main(void)
{
  wchar_t wchar;
  char string[] = &quot;mbtowc: 測試…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/string.h/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/java/control_structures/switch?rev=1365602129&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T15:55:29+02:00</dc:date>
        <title>switch</title>
        <link>https://code-reference.com/java/control_structures/switch?rev=1365602129&amp;do=diff</link>
        <description>The switch statement is a multi-select control structure. An expression is evaluated once and compared to 'constants'. In case of equality, the 'statements' that come after the 'constant' are processed. In switch 'statements' can only ordinary data types (ie, 'int', 'long', char, short, etc.) can be used.</description>
    </item>
    <item rdf:about="https://code-reference.com/cpp/control_structures/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/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/java/lang/math/random?rev=1708042323&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:03+02:00</dc:date>
        <title>Math.random()</title>
        <link>https://code-reference.com/java/lang/math/random?rev=1708042323&amp;do=diff</link>
        <description>Math.random() double;


generate a 'double' random number

example of Math.random in java


package codereferececomjava;

public class CodeRefereceComJava {

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

Syntax of getactivepage


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

Description of getactivepage


The getactivepage function is available in the winbgim implementation of
BGI graphics. getactivepage gets the page number of the currently active
page (where drawing takes place).
The active graphics page might not be the one you see onscreen, depending
on how many graphics pages are available on your system.
The original winbgi was designed to support up to 16 pages, but I …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdlib.h/wctomb?rev=1708041891&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:51+02:00</dc:date>
        <title>wctomb</title>
        <link>https://code-reference.com/c/stdlib.h/wctomb?rev=1708041891&amp;do=diff</link>
        <description>wctomb


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

Description

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

wctomb maximum MB_CUR_MAX sign stores in a string.

The behavior of wctomb is affected by the LC_CTYPE category of the current locale</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/preprocessor/include?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>#include</title>
        <link>https://code-reference.com/c/preprocessor/include?rev=1708041967&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */
#include &quot;myheader.h&quot;


description

include a file into your c sourcecode

C Example 1


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

int main(void){
   printf(&quot;the answer to life the universe and everything is %d \n&quot;, 42 );
}</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/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/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/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/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/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/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/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/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/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/java/lang/string/toarray?rev=1366267847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-18T08:50:47+02:00</dc:date>
        <title>toCharArray</title>
        <link>https://code-reference.com/java/lang/string/toarray?rev=1366267847&amp;do=diff</link>
        <description>public char[] toCharArray()


description of toCharArray()

converts a string to a new character array

example of toCharArray in java


package codereferececomjava;

public class CodeRefereceComJava {


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

        text = str.toCharArray();
        for (int i = 0; i &lt;= text.length - 1; i++) {
            
        System.out.printl…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/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/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/java/loops/do?rev=1515738547&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-01-12T07:29:07+02:00</dc:date>
        <title>do</title>
        <link>https://code-reference.com/java/loops/do?rev=1515738547&amp;do=diff</link>
        <description>do {
 command;
} while (condition);



a do loop will run while a condition is false

example of do loop in java


package codereferececomjava;

public class CodeRefereceComJava {
 
    public static void main(String[] args) {
    
        int i=4;
        
        do {
         i++;
        } while(i==4);
        
        System.out.println(&quot;i is :&quot; + i );
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/java/util/scanner/nextdouble?rev=1365581618&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-10T10:13:38+02:00</dc:date>
        <title>nextDouble()</title>
        <link>https://code-reference.com/java/util/scanner/nextdouble?rev=1365581618&amp;do=diff</link>
        <description>public double nextDouble()


double scanned from the input

example nextDouble in java


package scanner;

import java.util.Scanner;

public class Scanner {

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

Syntax of printimage


#include &quot;graphics.h&quot;
void printimage(
    const char* title=NULL,	
    double width_inches=7, double border_left_inches=0.75, double
border_top_inches=0.75,
    int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX
    );</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/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/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/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/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/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/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/keywords/null?rev=1358093454&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-13T17:10:54+02:00</dc:date>
        <title>NULL</title>
        <link>https://code-reference.com/c/keywords/null?rev=1358093454&amp;do=diff</link>
        <description>NULL

A Macro (NULL Pointer constant)

does not point anywhere


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


    int fputc(int ch, FILE *stream); 


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

C Sourcecode Example


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


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

 
int main( void )
{
  FILE *stream, *stream_target;
  char c;
 
  if((stream=fopen(&quot;test.txt&quot;,&quot;rb&quot;))==NULL) {
    printf(&quot;Cannot open file.\n&quot;);
    return 1;
  }
 
  if((stream_targ…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/conio.h/cputs?rev=1359922049&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T21:07:29+02:00</dc:date>
        <title>cputs</title>
        <link>https://code-reference.com/c/conio.h/cputs?rev=1359922049&amp;do=diff</link>
        <description>int cputs(const char *str);


description of cputs

Returns a string to the screen.



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



Depending _directvideo of the global variable, the string is written either directly or through a BIOS call to screen memory.
To contrast to fprintf and printf, not translated cputs line character (\ n) in the combination of characters carriage return / line feed (\ r \ n).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/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/playground/c/stdio.h/printf?rev=1501372178&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-07-30T01:49:38+02:00</dc:date>
        <title>printf</title>
        <link>https://code-reference.com/playground/c/stdio.h/printf?rev=1501372178&amp;do=diff</link>
        <description>printf


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

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


Arguments

The function printf prints format to STDOUT


Code    Description

%c 	character value

%s 	string of characters

%d 	signed integer

%i 	signed integer

%f 	floating point value

%e 	scientific notation, with a lowercase “e”

%E 	scientific notation, with a uppercase “E”

%g 	use %e or %f

%G 	use %E or %f 

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


check if a condition is true or false

example of else




package plausibilitycheck;

import java.util.Scanner;

public class Plausibilitycheck{

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

        int celsius;
        double fahrenheit;

        Scanner scan = new Scanner(System.in);

        System.out.print(&quot;Please …</description>
    </item>
    <item rdf:about="https://code-reference.com/java/control_structures/break?rev=1708041837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:03:57+02:00</dc:date>
        <title>break</title>
        <link>https://code-reference.com/java/control_structures/break?rev=1708041837&amp;do=diff</link>
        <description>break;


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

example of break in java


package codereferececomjava;

public class CodeRefereceComJava {

 
    public static void main(String[] args) {

        int i;
        for (i=42;i&lt;=45;i++) {
            if (i==43) break;
            System.out.println(&quot;The answer is probably &quot;+i);
        }
 
    }
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/ctype.h/isprint?rev=1708041922&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:22+02:00</dc:date>
        <title>isprint</title>
        <link>https://code-reference.com/c/ctype.h/isprint?rev=1708041922&amp;do=diff</link>
        <description>isprint


    int isprint(int chr);


tests if character is printable

C Sourcecode Example


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

#include &lt;ctype.h&gt;

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


checks whether a character is hexadecimal

cpp Sourcecode Example


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

using namespace std;
int main ( void )
{
  int i;
  string str=&quot;Test -!&amp;%1&quot;;
  for (i=0; i &lt;= 11;i++)
    {
     if ( isxdigit(str[i]) != 0 )
      {
       cout &lt;&lt; &quot;Character &quot; &lt;&lt; i &lt;&lt; &quot; is a xdigit&quot; &lt;&lt; endl;
      }
    }
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/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>
</rdf:RDF>
