{"id":24780,"date":"2017-10-15T11:08:28","date_gmt":"2017-10-15T05:38:28","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=24780"},"modified":"2017-10-15T11:18:26","modified_gmt":"2017-10-15T05:48:26","slug":"getdrivername-function","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/getdrivername-function\/","title":{"rendered":"getdrivername function"},"content":{"rendered":"<p>getdrivername function returns a pointer to the current graphics driver.<\/p>\n<h2 id=\"c-program-for-getdrivername\">C program for getdrivername<\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-c code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-c code-embed-code\">#include&lt;graphics.h&gt;<br\/>#include&lt;conio.h&gt;<br\/> <br\/>main()<br\/>{<br\/>   int gd = DETECT, gm;<br\/> <br\/>   char *drivername;<br\/> <br\/>   initgraph(&amp;gd, &amp;gm, &quot;C:\\\\TC\\\\BGI&quot;);<br\/> <br\/>   drivername = getdrivername();<br\/>   outtextxy(200, 200, drivername);<br\/> <br\/>   getch();<br\/>   closegraph();<br\/>   return 0;<br\/>}<\/code><\/pre> <\/div>\n[ad type=&#8221;banner&#8221;]\n","protected":false},"excerpt":{"rendered":"<p>getdrivername-function &#8211;  Coding  &#8211; getdrivername function returns a pointer to the current graphics driver. &#8211; C program for getdrivername.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82927,1],"tags":[83101,83109,83110,83107,83023,83108,83106,83099,83105,83104,83103,83102],"class_list":["post-24780","post","type-post","status-publish","format-standard","hentry","category-c-programming-2","category-coding","tag-c-graphics-program-for-animation","tag-function-use","tag-function-use-php","tag-getpeername-function","tag-graphics-functions-in-c-language-pdf","tag-js-get-function-name","tag-outtext-in-c","tag-outtextxy","tag-program-of-line-in-c","tag-program-to-draw-a-human-face-in-c-graphics","tag-smiley-face-program-in-c","tag-what-is-line-function-explain-with-the-help-of-program"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/comments?post=24780"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24780\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=24780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=24780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=24780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}