Posts

Showing posts from March, 2020

Tokens, Identifiers, & Keywords

Image
Tokens, Identifiers, & Keywords Introduction to C Tokens C language का syntax कई दूसरी popular languages के द्वारा follow किया गया है, इसलिए C का syntax समझना आपके लिए बहुत आवश्यक है। एक C program tokens से मिलकर बना होता है। यदि आप C language के सभी tokens को use करना सिख ले तो आप C language के expert बन जायेंगे। उदाहरण के लिए की नीचे दिए गए program को देखिये। ये program tokens का सही क्रम में use है और इसके सिवा कुछ भी नहीं है। Example:- Tokens 6 types के होते है। इनकी list नीचे दी जा रही है। Example:- यदि इस list के अनुसार आप देखें तो ऊपर दिए गए program में int, main, printf ,+ और Software programming is cool आदि सब कुछ tokens ही है। इन सभी tokens के बारे में अभी ना बता कर इस tutorial में आपको सिर्फ identifiers और keywords के बारे में ही बताया जा रहा है। बाकी tokens के बारे में आपको आगे की tutorials में बताया जायेगा।  C Character Set Example:- C language में आप एक program characters की sequence में लिखते है। जैसे की #include <s...

Installing VsCode C Compiler

Image
Installing VsCode C Compiler Using GCC with MinGW In this book you configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger from  Mingw-w64  to create programs that run on Windows. After configuring VS Code, you will compile and debug a simple Hello World program in VS Code. This book not teach you about GCC or Mingw-w64 or the C++ language. For those subjects, there are many good resources available on the Web. Prerequisites To successfully complete this book, you must do the following steps: Install  Visual Studio Code . Install the  C/C++ extension for VS Code . You can install the C/C++ extension by searching for 'c++' in the Extensions view ( Ctrl+Shift+X ). You will install Mingw-w64 via the SourceForge website. Click  Mingw-w64  to begin downloading the compressed archive file. Extract the tools from the compressed file to a folder that has no spaces in its path. In this book we assume it is installed ...

Features of C Language

Image
💥 Features of C Language 💥 C language की popularity का कारण उसके features रहे है। ये features C language को unique और powerful बनाते है।  Structured C एक structured programming language है। C में किसी program को छोटे छोटे modules के रूप में create किया जाता है, जिन्हें functions कहा जाता है। ऐसा करने से programs को manage और debug करने में आसानी रहती है और बड़ी problem को भी आसानी से solve किया जा सकता है।  Small   C 32 reserved keywords provide करती है। ये keywords programmer को language पर control provide करते है। इन keywords के उपयोग को समझ कर आप C language में programming कर सकते है। C language के small होने से इसे कम समय में easily learn किया जा सकता है। साथ ही इसे use करने में भी आसानी होती है।  Middle Level   C एक middle level language है। C high level (software के बहुत करीब) और low level (hardware के बहुत करीब) दोनों तरह की applications create करने में सक्षम है। C language का यह feature उन programmers के लिए एक advant...

Versions of C Language

Image
💥 Versions  of  C Language 💥 C समय की सबसे अधिक use की जाने वाली programming language है। इसे 1970 के दशक में develop किया गया था। C 1989 तक American National Standards Institute (ANSI) और उसके बाद से International Organization for Standardization (ISO) के द्वारा standardize की गयी है।  शुरुआत से लेकर अब तक C language के कई versions (standards) release हो चुके है।  K & R – यह original C language version था जो Brian Kernighan और Dennis Ritchie द्वारा publish किया गया था।  C89 – C का first standard ANSI द्वारा 1989 में publish किया गया था। इसे ANSI C और C89 नामों से जाना जाता है।  C99 – 1999 में ISO द्वारा C का नया standard publish किया गया। इसमें कुछ नए built in data types, keywords, header files और libraries add की गयी थी।  C11 – 2007 में ISO द्वारा C का एक और standard publish किया गया। इसमें type generic macros, anonymous structures और multithreading जैसे नए features add किये गए थे।  ऊपर दी गयी versions की list में C11 सबस...

C language Introduction and History of C language.

Image
Introduction to "C" Language 👌💥Hindi/English💥👌 C एक structured general purpose programming language है। इसे unix operating system को दोबारा लिखने के लिए develop किया गया था। इससे पहले unix operating system को B language में लिखा गया था। लगभग पूरा unix operating system और उसमें run होने वाले ज्यादातर programs C language में ही popular है B language Ken Thompson के द्वारा 1970 में Bell laboratories में लिखी गई थी। B एक type less language थी। यानि B में data types का कोई concept नहीं था। B language ज्यादा pop-uparity नहीं हासिल कर पायी थी। C language को Dennis Ritchie ने 1972 में bell laboratories में ही develop किया था। C एक type full language है। C language बहुत से data types provide करती है। C एक बहुत ही short और simple language थी। इसलिए कम ही समय में यह बहुत अधिक popular हो गयी और इसे दूसरे computer scientists भी प्रयोग करने लगे। C language की popularity में आज भी कोई कमी नहीं आई है। किसी भी दूसरी programming language को सीखने से पहले ...

What is C language? c programming, #programming

Image
Today 🎈💥 💥 Start  💥💥 🎈  Course { C }   Language -::: Content :::- What is C Language History of C Features of C First C Program Flow of C Program printf scanf Variables in C Data Types in c Keywords in c C Operators C Comments C Escape Sequence Constants in C C Fundamental Test C Control Statements C if-else C switch C Loops C do-while loop C while loop C for loop C break C continue C goto Type Casting C Control Statement Test C Functions What is function Call: Value & Reference Recursion in c Storage Classes C Functions Test C Array 1-D Array 2-D Array Array to Function C Array Test C Pointers C Pointers C Pointer to Pointer C Pointer Arithmetic C Pointers Test C Dynamic Memory Dynamic memory C Strings String in C C gets() & puts() C String Functions C strlen() C strcpy() C strcat() C strcmp() C strrev() C strlwr() C strupr() C strstr() C String Test C Math C Structure C Array...