{"id":170,"date":"2024-03-23T20:25:13","date_gmt":"2024-03-23T14:55:13","guid":{"rendered":"https:\/\/manik.in\/site\/?page_id=170"},"modified":"2024-03-23T22:17:26","modified_gmt":"2024-03-23T16:47:26","slug":"graphics-h-programming-with-c-c","status":"publish","type":"page","link":"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/","title":{"rendered":"Graphics.h Programming with C\/C++"},"content":{"rendered":"<div id=\"pl-170\"  class=\"panel-layout\" ><div id=\"pg-170-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-170-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-170-0-0-0\" class=\"so-panel widget widget_nav_menu panel-first-child\" data-index=\"0\" ><div class=\"menu-graphics-h-container\"><ul id=\"menu-graphics-h\" class=\"menu\"><li id=\"menu-item-210\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-210\"><a href=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/\">Page 1<\/a><\/li>\n<li id=\"menu-item-209\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-209\"><a href=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c-2\/\">Page 2<\/a><\/li>\n<li id=\"menu-item-208\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-208\"><a href=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c-3\/\">Page 3<\/a><\/li>\n<li id=\"menu-item-207\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-207\"><a href=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c-4\/\">Page 4<\/a><\/li>\n<li id=\"menu-item-206\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-206\"><a href=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c-5\/\">Page 5<\/a><\/li>\n<li id=\"menu-item-205\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-205\"><a href=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c-6\/\">Page 6<\/a><\/li>\n<\/ul><\/div><\/div><div id=\"panel-170-0-0-1\" class=\"so-panel widget widget_sow-editor panel-last-child\" data-index=\"1\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">The Old Graphics Library<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>The <code>graphics.h<\/code> library is a graphics library that was commonly used in older versions of the C programming language. It provides a simple way to perform graphical operations like drawing shapes, lines, and text on a computer screen. Here are some key points about the <code>graphics.h<\/code> library:<\/p>\n<ol>\n<li><strong>Bundled with Borland Compilers:<\/strong> <code>graphics.h<\/code> was primarily associated with Borland compilers like Turbo C and Borland C++, which were popular in the 1980s and 1990s. It was bundled with these compilers and provided an easy-to-use interface for creating graphical applications.<\/li>\n<li><strong>DOS Environment:<\/strong> It was designed to work in the MS-DOS environment, where programs could directly access hardware and memory. This made it efficient for drawing graphics on the screen without needing complex operating system support.<\/li>\n<li><strong>Simple Interface:<\/strong> The library provided simple functions for drawing basic shapes like lines, circles, rectangles, and polygons. It also included functions for setting colors, filling shapes, and handling mouse and keyboard input.<\/li>\n<li><strong>Not Standardized:<\/strong> <code>graphics.h<\/code> was not part of the standard C library, so its usage was limited to specific compilers and platforms. Different implementations existed for different compilers, and code written using <code>graphics.h<\/code> was not portable across different systems.<\/li>\n<li><strong>Limited Support:<\/strong> As graphical environments evolved, <code>graphics.h<\/code> became outdated and less commonly used. Modern operating systems like Windows, Linux, and macOS do not provide native support for <code>graphics.h<\/code>, making it incompatible with newer development environments.<\/li>\n<li><strong>Alternatives:<\/strong> With the decline of <code>graphics.h<\/code>, developers moved towards using more modern and portable graphics libraries like OpenGL, DirectX, SDL (Simple DirectMedia Layer), and libraries based on GUI frameworks like Qt and GTK+.<\/li>\n<\/ol>\n<p>Despite its limitations and obsolescence in modern computing, <code>graphics.h<\/code> holds nostalgic value for many programmers who started their journey in computer graphics during the era of DOS-based programming. It played a significant role in introducing many beginners to the world of graphics programming.<\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The graphics.h library is a graphics library that was commonly used in older versions of the C programming language. It provides a simple way to perform graphical operations like drawing shapes, lines, and text on a computer screen. Here are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":""},"categories":[9],"tags":[],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Graphics.h Programming with C\/C++ - Manik Sir&#039;s web<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Graphics.h Programming with C\/C++ - Manik Sir&#039;s web\" \/>\n<meta property=\"og:description\" content=\"The graphics.h library is a graphics library that was commonly used in older versions of the C programming language. It provides a simple way to perform graphical operations like drawing shapes, lines, and text on a computer screen. Here are [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/\" \/>\n<meta property=\"og:site_name\" content=\"Manik Sir&#039;s web\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-23T16:47:26+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/\",\"url\":\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/\",\"name\":\"Graphics.h Programming with C\/C++ - Manik Sir&#039;s web\",\"isPartOf\":{\"@id\":\"https:\/\/manik.in\/site\/#website\"},\"datePublished\":\"2024-03-23T14:55:13+00:00\",\"dateModified\":\"2024-03-23T16:47:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/manik.in\/site\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Graphics.h Programming with C\/C++\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/manik.in\/site\/#website\",\"url\":\"https:\/\/manik.in\/site\/\",\"name\":\"Manik Sir&#039;s web\",\"description\":\"&quot;Presence of doubt is the proof of intelligence.&quot;\",\"publisher\":{\"@id\":\"https:\/\/manik.in\/site\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/manik.in\/site\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/manik.in\/site\/#organization\",\"name\":\"Manik Sir&#039;s web\",\"url\":\"https:\/\/manik.in\/site\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png\",\"contentUrl\":\"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png\",\"width\":250,\"height\":106,\"caption\":\"Manik Sir&#039;s web\"},\"image\":{\"@id\":\"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Graphics.h Programming with C\/C++ - Manik Sir&#039;s web","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/","og_locale":"en_US","og_type":"article","og_title":"Graphics.h Programming with C\/C++ - Manik Sir&#039;s web","og_description":"The graphics.h library is a graphics library that was commonly used in older versions of the C programming language. It provides a simple way to perform graphical operations like drawing shapes, lines, and text on a computer screen. Here are [&hellip;]","og_url":"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/","og_site_name":"Manik Sir&#039;s web","article_modified_time":"2024-03-23T16:47:26+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/","url":"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/","name":"Graphics.h Programming with C\/C++ - Manik Sir&#039;s web","isPartOf":{"@id":"https:\/\/manik.in\/site\/#website"},"datePublished":"2024-03-23T14:55:13+00:00","dateModified":"2024-03-23T16:47:26+00:00","breadcrumb":{"@id":"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/manik.in\/site\/graphics-h-programming-with-c-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/manik.in\/site\/"},{"@type":"ListItem","position":2,"name":"Graphics.h Programming with C\/C++"}]},{"@type":"WebSite","@id":"https:\/\/manik.in\/site\/#website","url":"https:\/\/manik.in\/site\/","name":"Manik Sir&#039;s web","description":"&quot;Presence of doubt is the proof of intelligence.&quot;","publisher":{"@id":"https:\/\/manik.in\/site\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/manik.in\/site\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/manik.in\/site\/#organization","name":"Manik Sir&#039;s web","url":"https:\/\/manik.in\/site\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/","url":"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png","contentUrl":"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png","width":250,"height":106,"caption":"Manik Sir&#039;s web"},"image":{"@id":"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/"}}]}},"coauthors":[],"author_meta":{"author_link":"https:\/\/manik.in\/site\/author\/myselfmanik-in\/","display_name":"myself@manik.in"},"relative_dates":{"created":"Posted 2 years ago","modified":"Updated 2 years ago"},"absolute_dates":{"created":"Posted on March 23, 2024","modified":"Updated on March 23, 2024"},"absolute_dates_time":{"created":"Posted on March 23, 2024 8:25 pm","modified":"Updated on March 23, 2024 10:17 pm"},"featured_img_caption":"","featured_img":false,"series_order":"","_links":{"self":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages\/170"}],"collection":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":5,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages\/170\/revisions"}],"predecessor-version":[{"id":223,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages\/170\/revisions\/223"}],"wp:attachment":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/tags?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}