{"id":318,"date":"2011-11-04T22:08:00","date_gmt":"2011-11-04T22:08:00","guid":{"rendered":"http:\/\/www.websitedesignwebsitedevelopment.com\/?p=318"},"modified":"2014-03-19T09:14:16","modified_gmt":"2014-03-19T09:14:16","slug":"c-program-that-prints-the-rows-of-dos-screen-with-different-colors","status":"publish","type":"post","link":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/","title":{"rendered":"C Program that prints the rows of DOS screen with different colors"},"content":{"rendered":"<p>C Program that prints the rows of DOS screen with different colors:<img loading=\"lazy\" decoding=\"async\" title=\"wdwdcpp\" src=\"http:\/\/www.websitedesignwebsitedevelopment.com\/wp-content\/uploads\/2011\/11\/wdwdcpp.png\" alt=\"\" width=\"64\" height=\"64\" align=\"right\" \/><\/p>\n<p>It was a challenging task when i was not sure that which version of C language should i use? I tried TC, TC++, Borland&#8217;s, Dev Shed&#8217;s. By the way final solution was as recommended Borland C++ with bios.h but thanks to Dev Shed&#8217;s example which helped me a lot when i got graphics.h file from there as well \ud83d\ude42<a href=\"http:\/\/www.websitedesignwebsitedevelopment.com\/wp-content\/uploads\/2011\/11\/graphics.h\"><br \/>\n<\/a><\/p>\n<p>The remaining part was logical, that how to print colored rows on DOS. I was much tired at that time so ignore my logic block. But it was working fine. Hopefully this article will and attached files will help those guys who are messing with C, C++ versions to get the graphics library working properly.<br \/>\n<a href=\"http:\/\/www.websitedesignwebsitedevelopment.com\/wp-content\/uploads\/2011\/11\/graphics.h\"><br \/>\nC++ Graphics.h Library File<\/a><\/p>\n<p><a href=\"http:\/\/www.websitedesignwebsitedevelopment.com\/wp-content\/uploads\/2011\/11\/FALL-2011_CS609_1_MC100200752.zip\">Attachment<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C Program that prints the rows of DOS screen with different colors: It was a challenging task when i was not sure that which version of C language should i use? I tried TC, TC++, Borland&#8217;s, Dev Shed&#8217;s. By the way final solution was as recommended Borland C++ with bios.h but thanks to Dev Shed&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":321,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[31],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>C Program that prints the rows of DOS screen with different colors<\/title>\n<meta name=\"description\" content=\"C++ Graphics.h Library File in C Program that prints the rows of DOS screen with different colors\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C Program that prints the rows of DOS screen with different colors\" \/>\n<meta property=\"og:description\" content=\"C++ Graphics.h Library File in C Program that prints the rows of DOS screen with different colors\" \/>\n<meta property=\"og:url\" content=\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/\" \/>\n<meta property=\"og:site_name\" content=\"AndroidBubble Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/Website-Design-Website-Development\/172363336135453\" \/>\n<meta property=\"article:published_time\" content=\"2011-11-04T22:08:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-03-19T09:14:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png\" \/>\n\t<meta property=\"og:image:width\" content=\"64\" \/>\n\t<meta property=\"og:image:height\" content=\"64\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fahad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fahad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/\"},\"author\":{\"name\":\"Fahad\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\"},\"headline\":\"C Program that prints the rows of DOS screen with different colors\",\"datePublished\":\"2011-11-04T22:08:00+00:00\",\"dateModified\":\"2014-03-19T09:14:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/\"},\"wordCount\":148,\"image\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png\",\"articleSection\":[\"C++\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/\",\"url\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/\",\"name\":\"C Program that prints the rows of DOS screen with different colors\",\"isPartOf\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png\",\"datePublished\":\"2011-11-04T22:08:00+00:00\",\"dateModified\":\"2014-03-19T09:14:16+00:00\",\"author\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\"},\"description\":\"C++ Graphics.h Library File in C Program that prints the rows of DOS screen with different colors\",\"breadcrumb\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage\",\"url\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png\",\"contentUrl\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png\",\"width\":\"64\",\"height\":\"64\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/androidbubble.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Website Development\",\"item\":\"https:\/\/androidbubble.com\/blog\/category\/website-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"C++\",\"item\":\"https:\/\/androidbubble.com\/blog\/category\/website-development\/c\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"C Program that prints the rows of DOS screen with different colors\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#website\",\"url\":\"https:\/\/androidbubble.com\/blog\/\",\"name\":\"AndroidBubble Blog\",\"description\":\"Articles &amp; Posts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/androidbubble.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\",\"name\":\"Fahad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g\",\"caption\":\"Fahad\"},\"sameAs\":[\"http:\/\/www.androidbubbles.com\/\",\"https:\/\/x.com\/phpFlex\"],\"url\":\"https:\/\/androidbubble.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C Program that prints the rows of DOS screen with different colors","description":"C++ Graphics.h Library File in C Program that prints the rows of DOS screen with different colors","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:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/","og_locale":"en_US","og_type":"article","og_title":"C Program that prints the rows of DOS screen with different colors","og_description":"C++ Graphics.h Library File in C Program that prints the rows of DOS screen with different colors","og_url":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/","og_site_name":"AndroidBubble Blog","article_publisher":"https:\/\/www.facebook.com\/pages\/Website-Design-Website-Development\/172363336135453","article_published_time":"2011-11-04T22:08:00+00:00","article_modified_time":"2014-03-19T09:14:16+00:00","og_image":[{"width":64,"height":64,"url":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png","type":"image\/png"}],"author":"Fahad","twitter_misc":{"Written by":"Fahad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#article","isPartOf":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/"},"author":{"name":"Fahad","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7"},"headline":"C Program that prints the rows of DOS screen with different colors","datePublished":"2011-11-04T22:08:00+00:00","dateModified":"2014-03-19T09:14:16+00:00","mainEntityOfPage":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/"},"wordCount":148,"image":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage"},"thumbnailUrl":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png","articleSection":["C++"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/","url":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/","name":"C Program that prints the rows of DOS screen with different colors","isPartOf":{"@id":"https:\/\/androidbubble.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage"},"image":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage"},"thumbnailUrl":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png","datePublished":"2011-11-04T22:08:00+00:00","dateModified":"2014-03-19T09:14:16+00:00","author":{"@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7"},"description":"C++ Graphics.h Library File in C Program that prints the rows of DOS screen with different colors","breadcrumb":{"@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#primaryimage","url":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png","contentUrl":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png","width":"64","height":"64"},{"@type":"BreadcrumbList","@id":"https:\/\/androidbubble.com\/blog\/website-development\/c\/c-program-that-prints-the-rows-of-dos-screen-with-different-colors\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/androidbubble.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Website Development","item":"https:\/\/androidbubble.com\/blog\/category\/website-development\/"},{"@type":"ListItem","position":3,"name":"C++","item":"https:\/\/androidbubble.com\/blog\/category\/website-development\/c\/"},{"@type":"ListItem","position":4,"name":"C Program that prints the rows of DOS screen with different colors"}]},{"@type":"WebSite","@id":"https:\/\/androidbubble.com\/blog\/#website","url":"https:\/\/androidbubble.com\/blog\/","name":"AndroidBubble Blog","description":"Articles &amp; Posts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/androidbubble.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7","name":"Fahad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g","caption":"Fahad"},"sameAs":["http:\/\/www.androidbubbles.com\/","https:\/\/x.com\/phpFlex"],"url":"https:\/\/androidbubble.com\/blog\/author\/admin\/"}]}},"views":709,"jetpack_featured_media_url":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2011\/11\/wdwdcpp.png","_links":{"self":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":2,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":1705,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions\/1705"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/media\/321"}],"wp:attachment":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}