Graphics programming in c in Hindi

Graphics programming in c in Hindi


Graphics C Programming in Hindi.

Graphics programming in c in Hindi

                 Graphics C Programming


Graphics C Programming in Hindi:

नमस्ते दोस्तो स्वागत है आप सब का हमरी इस website  आज हम graphics c  programming  के बारे में बात करेंगे | आप हमरी इस website की सहायता programming  को आसानी से सीख  सकते हो मैं आपको Hindi  में बहुत आसान तरीके से programming करना बताउगा जिससे आप किसी भी programming  को आसानी से  सीख  सकते है | आज हम graphics  c  programming  के बारे में बात करेंगे तो चलिए हम देखते है|


Introduction of graphics in c language in Hindi:


c graphics  का उपयोग अलग-अलग प्रकार के shapes को draw  करने के लिए किया जाता है जैसे - line , circles , Bars  आदि का निर्माण करने के लिए किया जाता है Graphics  c  का उपयोग animation projects , game ,तथा Graphical User  Interface (GUI) application का निर्माण करने के लिए किया जाता है किसी भी text  को अलग -अलग font तथा color  में बदलने के लिए graphics  c  programming का उपयोग कर सकते है सामान्य रूप से c  language का आउटपुट  "text mode"  मैं होता है | हमें अलग - अलग प्रकार के shapes को draw  करने से पहले आउटपुट को Graphic  mode  में बदलना पड़ता है graphics  design  करने से पहले हमें "graphics.h" हैडर फाइल को include करने पड़ता है|

Features of graphics c programming in Hindi:


मैं आपको बताऊगा की graphics c programming की क्या-क्या  विशेषताएं होती है मैं आपको Hindi मैं बहुत आसान तरीके से बताने की कोसित करुँगा जिसके सहायता से आप आसानी से graphics c programming के बारे में जान सकेंगे |
c language में ऐसी कई विशेषताएं है जिसके कारण graphics c programming का उपयोग कई तरह के कार्यो के लिए किया जाता है |

  • . Graphics c programming का उपयोग game बनाने के लिए किया जाता है |
  • अलग-अलग shapes का निर्माण करने के लिए graphics c programming का प्रयोग किया जाता है |
  •  Graphics c programming की सहायता से applications का निर्माण किया जाता है |
  • अलग -अलग तरह के color तथा background को set करने के लिए graphics c programming का प्रयोग किया जाता है |
  •  Animated graph का निर्माण करने के लिए graphics c programming का प्रयोग किया जाता है |

Initialize   the  graphics programming in c:


 दोस्तों graphics को program में include करने के लिए कई तरह के कार्य किये जाते है जिन्हे निम्न steps में defined किया गया है |


 1. पहले step में graphics.h header file को include किया जाता है |

जैसे - #include<graphics.h >

2 .इसके बाद graphics driver को अपने program में lode किया जाता है | जिसको निम्न प्रकार से defined कर सकते है |
जैसेint gd=DETECT,gm ;
यहाँ पर gd और gm integer type के variable है gd का प्रयोग ग्राफ़िक driver को initialize करने  के लिए किया गया है DETECT graphics.h
के अंतर्गत पहले से defined एक macro है और यहाँ पर gm के सहायता से graphics mode को initialize किया गया है |



Initialize   the  graphics in Hindi:


 दोस्तों graphics को program में include करने के लिए कई तरह के कार्य किये जाते है जिन्हे निम्न steps में defined किया गया है |


  • 1. पहले step में "graphics.h" header file को include किया जाता है |
          जैसे - #include<graphics.h >
  • 2 .इसके बाद graphics driver को अपने program में lode किया जाता है | जिसको निम्न प्रकार से defined कर सकते है |
          जैसे -int gd=DETECT,gm ;
          यहाँ पर gd और gm integer type के variable है gd का प्रयोग ग्राफ़िक driver को initialize करने  के               लिए किया गया है DETECT graphics.h
         के अंतर्गत पहले से defined एक macro है और यहाँ पर gm के सहायता से graphics modeको                          initialize किया गया है|
  • 3 . graphics driver को lode करने के लिए उसका address defined काना होता है जिससे graphics driver को program में प्रयोग किया जा सके graphics driver को computer से program में initialize किया जाता है | जिसके लिए "initgraph" फंक्शन का प्रयोग किया जाता है|
  • 4 . initgraph()- Graphics को computer से अपने program में initialize करने के लिए initgraph() function का प्रयोग किया जाता है|
         जैसे - "initgraph(&gd ,&gm,"BGI") ;"
        यहाँ पर gd graphic driver का path है और gm के सहायता के graphics mode को initialize                किया है तथा इसके बाद BGI folder का address  दिया गया है  जहाँ graphics से सम्बंधित                        information store रहती है |
  • 5 . closegraph ()-यहाँ पर open किये गए graphcs mode से बाहर आने के लिए "closegraph()" function का प्रयोग किया जाता है |

Graphics program in c language in Hindi


#include<graphics.h>
#include<conio.h>
Void main()
{
Int  gd=DETECT , gm;
initgraph ( & gd , & gm , “C\\TC \\ BGI”);
getch();
closegraph();
}
दोस्तो अब हम दिए गए program के output के बारे में बात करेंगे उपरोक्त प्रोग्राम में सबसे पहले graphics.h हैडर फाइल को include किया गया है और प्रोग्राम को graphics mode में initialize किया गया है और graphics driver तथा graphics mode को integer type defined किया गया है initgraph() function की सहायता से graphics को अपने प्रोग्राम में सम्लित किया गया है getch() function की सहायता से key को control किया गया है और graphics mode को बंद करने के लिए closegraph() function का उपयोग किया गया है |

Graphics function in c language in Hindi:

line();
bar();
circle();
rectangle();
ellipse();
getcolor();
getmaxcolor();
getmaxx();
getmaxy();
outtextx();
outtexty();
outtextxy();
setbkcolor();
setfillstyle();



Conclusion:
दोस्तो यदि आपको हमारा यह post अच्छा लगा हो तो आप हमें comments करके बता सकते हो आपको हमने   graphics c programming in hindi में पूरी तरह बताया है अगर दोस्तो आपको कोई problem होती है तो आप हमे comment कर के बता सकते है धन्यवाद दोस्तो हमारी इस website को विजिट करने के लिए |

COMMENTS

BLOGGER: 5

Name

Current affairs,2,DATA STRUCTURE,1,Graphics C in Hindi,5,LibreOffice,1,
ltr
item
HRTECH: Graphics programming in c in Hindi
Graphics programming in c in Hindi
Graphics programming in c in Hindi
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPVcFWqtXfEw_ISjhQ2B24LtU-8wFFXaQYm7Bsf-Jooi9_v_dwGyxQe0R7_qDeVqw6MDbbyex2tInq7fuKsmyfL_OYckZlgtDQtpvwgkFT0nbwyjg7gIFV7zcfWXqTO1MCIZ8HiGfleQ4p/s1600/graphics+programming+in+c+in+hindi.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPVcFWqtXfEw_ISjhQ2B24LtU-8wFFXaQYm7Bsf-Jooi9_v_dwGyxQe0R7_qDeVqw6MDbbyex2tInq7fuKsmyfL_OYckZlgtDQtpvwgkFT0nbwyjg7gIFV7zcfWXqTO1MCIZ8HiGfleQ4p/s72-c/graphics+programming+in+c+in+hindi.png
HRTECH
https://stdguuru.blogspot.com/2020/05/graphics-programming-in-c-in-hindi.html
https://stdguuru.blogspot.com/
https://stdguuru.blogspot.com/
https://stdguuru.blogspot.com/2020/05/graphics-programming-in-c-in-hindi.html
true
3086343517927733625
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy