Sunday, May 1, 2022

What is Computer Graphics Programming C\C++-trendhacking

 

इस ब्लॉग पोस्ट में हम C,C++ के Advanced  Graphics Programming सीखेंगे और समझेंगे की Graphics Programming की आवश्यकता क्या है Graphics Programming से  सम्बन्धित अन्य महत्वपूर्ण Topics को Read करेंगे  तो चलिए start करते है:-

    • What is Graphics Programming in  hindi
    • Indroduction Graphics Programming in hindi
    • Use of Graphics Programming in hindi
    • Graphics Programming C/C++ in hindi


What is Graphics Programming in Hindi  

Computer Graphics ऐसी technic है जिसकी सहायता से यह प्रोग्रामिंग लैंग्वेज से Image ,line ,animation ,rectangle, bars और अन्य कई Geometrical figures बनाते है 

इस का उपयोग Graphics animation product , games और अन्य Graphics Users Application(GUI ) बनाने में करते है

यदि आप printf() funtions का प्रयोग Normal  text output के लिया  जाता है formatting  text  output का प्रयोग Graphics header file का उपयोग किया जाता है जिसे आप font color और style आदि change कर सकते है   

graphics.h एक C\C++  programming  की एक pre defined हैडर फाइल है जिसके अंदर ग्राफ़िक्स से रिलेटेड फंक्शन डिक्लेअर किये गए है। हमें अपने प्रोग्राम में graphics का यूज़ करने के लिए इस हैडर फाइल की जरुरत पड़ती है। 

c/c++ में default output mode "text mode " होता है  इसलिए हमको अलग-अलग Shapes ,text display करने के लिये  Graphics mode में swich करना होगा | 

Graphics Programmg C/C++ में करने से पहले आपको Graphics coordinate System in computer समझना होगा आपने Math में Coordinate  Geometrical  होगा जो कुछ इस तरह से होता है Figures 1.1  में आप देख सकते है 

figures 1.1 

Graphics programming C/C++ में Coordinate System अलग होता है कंप्यूटर के left Top bottom (0,0) में हो
ता है जो आप figures 1.2 को देख कर समझे सकते है 

figures1.2

आगे के tutorial में हम देखेगे initgraph() function

 



3 comments:

🆓call said...

Thanks bro, this was very helpful to me.

Second father of computer said...

Nice 👍👍👍 sir

Second father of computer said...

Thanks for this sir