Why I am not using header files in a C program

  Рет қаралды 33,940

MySirG.com

MySirG.com

Күн бұрын

Пікірлер: 134
@ruchisaklani1
@ruchisaklani1 7 жыл бұрын
You are just awesome..keep it up..I have never seen this much clearity in teaching.
@double_a_creation75
@double_a_creation75 3 жыл бұрын
awsome sir pata nii Kaha se esi informatic information late ho sir aap .... love you sir thank you so much
@vikramjeet6893
@vikramjeet6893 8 жыл бұрын
thank you sir .This question was bothering me for while .
@rupeshsappata1432
@rupeshsappata1432 6 жыл бұрын
yes sir u r right.... hume bhi humare teachers ne nhi samjhaya y sb..... u r the real teacher sir... thank u so much sir
@vineetsharma2163
@vineetsharma2163 6 жыл бұрын
Sir you are great sir ESE study hum Kahi nahi kar sakte h Jo AAP sikhate h ek ek chij choti se chhoti chij AAP Bata ke chalte h thank you so much sir
@priyasingh-ob8do
@priyasingh-ob8do 7 жыл бұрын
Sir your videos r really vry helpful...i m a student of m.c.a. 2 year....i m new to this programming world as earlier i was a science side student till now ....n this is completely a new journey for me...u r really vry helpful...thx
@viveksharma2338
@viveksharma2338 8 жыл бұрын
Thankuuu So much sir... m big fan of urs.. aapke Smjhane ka Trikaa Gajab h..
@Raj_Patel21
@Raj_Patel21 8 жыл бұрын
Your explanation is so awesome , I learnt a lot from your videos, Can you make a video on making an Dynamic Array in C ? thnks
@gaurav4748
@gaurav4748 7 жыл бұрын
thanks so much sir for share this video bcoz isse mere kafi sare concepts clear ho gye......aur me un logo se kahna chahunga ki tumhe jb samaj nai aata to padhna chhod do kisi ke super interesting video ko dislike mat kro..
@maheshmishra9540
@maheshmishra9540 8 жыл бұрын
Sir, mere class me bhi esee hi huaa thaa , meri madamne jhaad diya thaa mere koo, aur ek baat yee koon hai sala jisne dislike kiyaa. love you for sharing this type of knowledge.
@rubysing9263
@rubysing9263 7 жыл бұрын
suppose stdio.h file ka hum bus printf() function use kar rhe he to preposser sare functions ke declarations ko copy paste karega but humne use bus printf()kiya he. Linker kya karega??? kya sare functions ki definitions ko link karega ya bus printf() kidefinition ko. please tell me this
@rubysing9263
@rubysing9263 7 жыл бұрын
ok thanks
@actually4660
@actually4660 6 жыл бұрын
My God sir ! Ur explanation makes complete sense! I feel so happy that I discovered your channel. This video helped a lot! #ThankUsir
@mysirgdotcom
@mysirgdotcom 6 жыл бұрын
Thanks for watching and liking it. Visit www.mysirg.com for all FREE videos. Keep sharing videos on whatsapp and FB. Also subscribe
@actually4660
@actually4660 6 жыл бұрын
MySirG.com definitely 😆👍👍
@codeAbinash
@codeAbinash 2 жыл бұрын
Extreme level of knowledge
@factworld9211
@factworld9211 Жыл бұрын
No no bro It is a god level😍😍😍😍😍😍😍😍
@nandunit
@nandunit 6 жыл бұрын
Aaj hi maine notice kia tha aapki video par .mai confuse v tha header file pe aur ye video mil gyi finally.☺️☺️☺️👍🙏
@ahmadyarkhan156
@ahmadyarkhan156 7 жыл бұрын
from Pakistan ,, big fan of u>>>salute 2 u>> splinded,> keep it up>>>
@gauravgautam1637
@gauravgautam1637 8 жыл бұрын
sir kha se late hai sar aap ye sab data bcoz itna conceptually aaj tak kisi ne aaj tak kisi ne ni padaya you are great love you tooooooooo much sir
@cpsharma161
@cpsharma161 4 жыл бұрын
सर् तुस्सी ग्रेट ।। दंडवत आपको 👏👏
@jaidippatra6440
@jaidippatra6440 8 жыл бұрын
Sir, I am using latest GCC compiler in Linux OS and while building a c program without using any header files it flags some warnings, however it executes flawlessly... 1.........hello.c:3:2: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] 2.........hello.c:3:2: note: include ‘’ or provide a declaration of ‘printf’ It means that one should use header file...
@gayatri263
@gayatri263 3 жыл бұрын
15:10 😂😂 and God bless you and your loved ones sir.... May Lord always protect you from evils...
@shrutivaishakhiyar6529
@shrutivaishakhiyar6529 6 жыл бұрын
Just Awesome sir.... I have learnt a lot from your videos...
@shreyassen4260
@shreyassen4260 5 жыл бұрын
Doubts : 1) What's the difference between original .c file and object file. 2) Why the compiler needs to convert our original .c file to object file ?
@sscode3809
@sscode3809 2 жыл бұрын
Woh sir so useful your information 🙏🙏🙏👍👍👍
@prayagparikh8020
@prayagparikh8020 7 жыл бұрын
You are very poweful and knowledgeable teacher
@manpreetsingh4106
@manpreetsingh4106 6 жыл бұрын
Your teaching is awesome
@arshadmubeen8433
@arshadmubeen8433 7 жыл бұрын
Great lecture sir... u r really very good I learn alot from your videos 👍
@zepvi9487
@zepvi9487 8 жыл бұрын
thank you very much sir my dout has been successfully cleared
@asifraj321
@asifraj321 6 жыл бұрын
Very well explained you this.i appreciate your effort.
@tohidurislammondal2897
@tohidurislammondal2897 4 жыл бұрын
very well explained sir. thank you
@surajverma8687
@surajverma8687 4 жыл бұрын
Thank you sir you are my god in programing language
@pardeepmalik1672
@pardeepmalik1672 7 жыл бұрын
You are Great sir G
@honeyguptaji8026
@honeyguptaji8026 3 жыл бұрын
Sir iske sath ek aur question aya hai mere ko ki function ki body / defination hum main ke bhar kyy karte hai andar kyu nahi kare to kya hoga
@shobhitasaxena3326
@shobhitasaxena3326 7 жыл бұрын
If we want to get the coding/definition of predefined functions like getch(), printf() how can we found it?
@pritpalAimers
@pritpalAimers 4 жыл бұрын
Sir agar hum header file nhi likhegee.....toh linker us library file ko attach kese kregaa ??.. usko kese patq chlegaa ki konsi librray attach krni hai ?
@hunnybunny8266
@hunnybunny8266 Жыл бұрын
Can we declared header files inside a main function in c
@JofIdeas
@JofIdeas 4 жыл бұрын
Sir jab preprocessor me header file code copy kr leta hai to .lib ko linker se jodne ki kya jarurat....
@travelearthtv2650
@travelearthtv2650 3 жыл бұрын
How does linker decides which library files to be linked with the object file ?
@codecorn8030
@codecorn8030 3 жыл бұрын
sir eak aur doubt main() function kuy likna haie ??? simply printf ("hello"); kyu lik nahi saktie
@sheetalsingh2794
@sheetalsingh2794 7 жыл бұрын
sir... during an interview ,,, i was asked difference between header file in C and Package in java ???
@abhisheksolanki8271
@abhisheksolanki8271 7 жыл бұрын
Y we r using "using namespace std;" in code blocks in order to use cin and cout?
@keshavramvishvakarma9100
@keshavramvishvakarma9100 4 жыл бұрын
Sir cntl +f9 se hi to compilation start ho kata h to pre processor kb chalata h
@Adityasingh-kg2cj
@Adityasingh-kg2cj 8 жыл бұрын
Thnx Sir for giving your important time on these video :)
@ASHISHSINGH-yp1kb
@ASHISHSINGH-yp1kb 4 жыл бұрын
Why it is not necessary to declare predefined function in c language but in cpp it is compulsary?
@venkatsubbu2802
@venkatsubbu2802 7 жыл бұрын
Sir use in between English words bcz we don't know Hindi fully..... U r videos very useful that why I tried understand Hindi and subject also.......... Both at time ha ha ha...Ha aha ha
@snehajitchandra2976
@snehajitchandra2976 6 жыл бұрын
You are great explain sir!!!
@aanchalsorot146
@aanchalsorot146 8 жыл бұрын
sir...if our program is not having headerfiles then what preprocessor gonna convert??? n as u said compiler includes headrfiles on its own(if we dnt write them) then it means program then again goes to preprocessor to get those headerfiles converted ..??
@anujgupta3397
@anujgupta3397 8 жыл бұрын
sir hum apni khud ki header files bhi include kr skte haina? uska faida kya hay?
@vikaspal5105
@vikaspal5105 7 жыл бұрын
Thank you sir maine abhi c programming sikhna start kia hai mujhe problem hai ki jab mai Multiply ka program bnaya to choti calculation ho rhi hai lekin bdi ni ho pa rhi hai ans galat aa rha.... Problem kya hai please tell anyone
@rubysing9263
@rubysing9263 7 жыл бұрын
sir, suppose stdio.h file ka hum bus printf() function use kar rhe he to preposser sare functions ke declarations ko copy paste karega but humne use bus printf()kiya he. Linker kya karega??? kya sare functions ki definitions ko link karega ya bus printf() kidefinition ko.
@Baldeepsarwara
@Baldeepsarwara 7 жыл бұрын
Sabhi copy hogi. watch video again
@babasahebargade3463
@babasahebargade3463 7 жыл бұрын
Sir......printf ki coding kaha save hai ....libc.so ya libc.lib
@sourabhyadav4101
@sourabhyadav4101 7 жыл бұрын
Sir tanks for this video mujhe bhi yeahi patta tha ki getch() screen ko hold kar kar rakhtaa hai aur uske liye header file conio.h lagana compulsary hai
@abiddar4280
@abiddar4280 7 жыл бұрын
Sir ur great , in code passing arry to function why square brackets are empty in function definition if it is error.
@surajwaghmare9009
@surajwaghmare9009 7 жыл бұрын
sir! you are great👍
@AnkitSingh-sy6mz
@AnkitSingh-sy6mz 7 жыл бұрын
Hats off to u sirrr g...
@mikhileshmhirphode4374
@mikhileshmhirphode4374 7 жыл бұрын
Thank you sir. But I have a question. While compile and run , many times I am not able to get output for the same program which was showing output earlier. When I click on Built and Run option , it don't shows output window but it shows error "No such file or directory" What is solution for that ?
@Raj_Patel21
@Raj_Patel21 8 жыл бұрын
main() ka return type aap kyo nahi likhte ?
@amantoor2778
@amantoor2778 8 жыл бұрын
why we should use header files if not needed?
@smithrai4040
@smithrai4040 6 жыл бұрын
Thank u sir ...my question is why we write int main() or float main void main etc why not we write char main or double main() ..plzz teach us the funda of these plzz
@ujjwalmishra933
@ujjwalmishra933 3 жыл бұрын
These are used when we want to specify what our main function is going to return
@ujjwalmishra933
@ujjwalmishra933 3 жыл бұрын
These are return type of functions
@sirikalal648
@sirikalal648 6 жыл бұрын
At the time of exam which program we need to use c or cpp. Is it OK if we use c program instead of using c++ program
@bedang1000
@bedang1000 8 жыл бұрын
sir how do u get that auto fill when u were typing the header files ?
@iam_kundan
@iam_kundan 8 жыл бұрын
sir, please tell the names of some good books for c language practise.
@mithunyadav8826
@mithunyadav8826 5 жыл бұрын
Super guru ji
@vineetsharma2163
@vineetsharma2163 6 жыл бұрын
Sir ye aur bataye ki stdio.h header file conio.h and many header files h kab konsi likhni h kya detail me bataye he sir
@aneeshberde1792
@aneeshberde1792 5 жыл бұрын
How to download turbo or app in which we can run c program
@tanveerjatu1105
@tanveerjatu1105 5 жыл бұрын
Sir , Android mobil me coding ke liye konta app best hoga jisme ham practice kr ske
@Akhileshreddy
@Akhileshreddy 5 жыл бұрын
Turbo c app
@mritunjaygiri3626
@mritunjaygiri3626 8 жыл бұрын
sir ue kon sa compiler h..
@harshitshreshthi4495
@harshitshreshthi4495 7 жыл бұрын
Sir, In code blocks C++ programs when we include a header file thn it gives error nd when we remove .h extension thn their wil be no error there.How???
@mysirgdotcom
@mysirgdotcom 7 жыл бұрын
See this sample program in CPP on code blocks and remove all your confusions kzbin.info/www/bejne/ql7YpXScd86NhtE&list=PLLYz8uHU480i1pSs2w_Vzp671ea95PeWY
@deepanshumishra4568
@deepanshumishra4568 5 жыл бұрын
Sir can i use header files in between or at last of the program
@sairajdas6692
@sairajdas6692 7 жыл бұрын
Sir new lines k lie codeblocks pay kia command dale ?
@venkatsubbu2802
@venkatsubbu2802 7 жыл бұрын
Sir Plz make a video how to create header file in C.
@rajendrasahoo7264
@rajendrasahoo7264 5 жыл бұрын
Thanks a lot for this video
@simransingh5137
@simransingh5137 8 жыл бұрын
sir jb preprocessor ny content ko copy krdia to pher linker ny .lib file sy knsi chez link ki? And what do you mean by content? kya content predefined function ka code hy?agar yes to pher linker ny .lib file sy kya link kiya? kyu k content to phly e copy ho gya tha program me jis k baad compiler chla
@simransingh5137
@simransingh5137 8 жыл бұрын
Sir what is header file content ?
@simransingh5137
@simransingh5137 8 жыл бұрын
sir what is header file content?
@simransingh5137
@simransingh5137 8 жыл бұрын
Saurabh Shukla sir you mean to say that preprocessor ny "stdio.h" ko copy kiya and Linker ny "stdio.h" ki coding humary program me ad krdi..Am i right sir?
@abhayraj216
@abhayraj216 7 жыл бұрын
Sir I am Abhay from Delhi ,ak confusion hai sir ki jab ham kisi program me header file nahi lagate hai to kya usme preprocessor nahi chalta hai directly compiler chalta hai?
@rohitpawar4096
@rohitpawar4096 6 жыл бұрын
Yes because the preprocessor work only when that sign is written (#).
@shubhamkumaragrawal2379
@shubhamkumaragrawal2379 6 жыл бұрын
why we use main() in c
@arpitjaiswal6471
@arpitjaiswal6471 7 жыл бұрын
main() { printf("Hello "); } C4013 'printf' undefined; assuming extern returning int LNK1120 1 unresolved externals LNK2019 unresolved external symbol printf referenced in function main Sir I am using Visual Studio IDE Community Version 2015 and I am getting this 3 errors above is my program and all three errors please provide a solution.
@SurajKumar-mk8nt
@SurajKumar-mk8nt 6 жыл бұрын
Awesome sir Thanks sir
@hemantkumar-007
@hemantkumar-007 8 жыл бұрын
lekin sir linux ke compiler me without header file program kabhi run nahi hota h..
@hemantkumar-007
@hemantkumar-007 8 жыл бұрын
Saurabh Shukla hello.c
@AnupSingh-dv5lt
@AnupSingh-dv5lt 7 жыл бұрын
dear sir, In the header file #include why we are writing stdio ??
@talibabbas4010
@talibabbas4010 5 жыл бұрын
# is a preprosesor directive and include is a commond for preprocessor program and stdio.h is file which content the decleration of the predefine function like...printf()..scanf()..getch and clrscr()..
@akshaychacharkar7844
@akshaychacharkar7844 8 жыл бұрын
Library files kaise include hoti h, sir
@MixCombo
@MixCombo 4 жыл бұрын
wo include nhi hoti linking time ma linker '.o' file ko '.lib' files ke sat link kr deta ha jisa humari '.exe' file banti ha
@NinjaCoders
@NinjaCoders 4 жыл бұрын
lakin sir without hadder file compiler warning kyo deta he
@aryansiddiqui2831
@aryansiddiqui2831 5 жыл бұрын
Thank you sir Sir, how to create own header file?
@huyvole9724
@huyvole9724 7 жыл бұрын
I remember getch function in conio header file, sir
@_WHO_AMI
@_WHO_AMI 7 жыл бұрын
Sir #hi ku lgate h ?
@hashirkhan941
@hashirkhan941 8 жыл бұрын
Sir polish notation program ka bhe ak video banado please....
@mukeshphulwani5972
@mukeshphulwani5972 7 жыл бұрын
Plz dont use getch() in your programs it is not use nowdays... as conio.h is not used in mordern compilers... conio.h was ment to use for msdos compiler... Like turbo. visual studios, codeblocks dont.. need this may lead to error it may create confusion in students
@kshitijgaikwad997
@kshitijgaikwad997 4 жыл бұрын
totally agreed..i am facing same problem
@ganeshsinghbisht7031
@ganeshsinghbisht7031 7 жыл бұрын
Sir kyaa.. Hum kudd ki header file bnaa kr use kr sktee or kese...?
@mysirgdotcom
@mysirgdotcom 7 жыл бұрын
yes bana sakte hain. make a file and save with .h
@enjoywithlife94
@enjoywithlife94 7 жыл бұрын
how to make our own header file?
@ankitkumar-tu9pj
@ankitkumar-tu9pj 6 жыл бұрын
@shalini Make a file & save with extension(.h).
@vishalraj9790
@vishalraj9790 6 жыл бұрын
Sir apne starting me yr nahi bataya ki c language use kaha hota.. Kah Pr use krte h coding😞
@usmanregard4835
@usmanregard4835 7 жыл бұрын
Dear sir please tell me from which Lecture number you discuss "Why I am not using header files in a C program" I have found this video from youtube but unable to find its content from your website
@mysirgdotcom
@mysirgdotcom 7 жыл бұрын
Visit www.mysirg.com or kzbin.info/www/bejne/oGaUkoaIe5qWZ5I&list=PL7ersPsTyYt2sohwBWF03kSpW1Ymt0Q9R
@mysirgdotcom
@mysirgdotcom 7 жыл бұрын
visit on campus preparation video content
@usmanregard4835
@usmanregard4835 7 жыл бұрын
Thanku sir g
@bijayalaxmi888
@bijayalaxmi888 7 жыл бұрын
thank you very much sir
@anandvijay1049
@anandvijay1049 8 жыл бұрын
Sir Just Look At The Two Different Codes Which Gives Different Values For Same Function Having Same Arguement . #Compiled & Run On Turbo C #1 Which Doesn't Include math.h void main() { int a; clrscr(); a=sqrt(9); printf("%d",a); getch(); } Output : 688 #2 Which Include math.h #include void main() { int a; clrscr(); a=sqrt(9); printf("%d",a); getch(); } Output : 3 Why This Happens Sir ? Please Explain it .
@mr.nobody2398
@mr.nobody2398 7 жыл бұрын
I got it sir I had doubt about it before
@kumaranshu9180
@kumaranshu9180 8 жыл бұрын
thank u sir🙏
@muhammeddonergoz2374
@muhammeddonergoz2374 4 жыл бұрын
can you add english subtitle please
@rubysing9263
@rubysing9263 7 жыл бұрын
thank you sir
@smartcricketer7058
@smartcricketer7058 8 жыл бұрын
thank you sir....
@AJAYSHARMA-gb6qw
@AJAYSHARMA-gb6qw 8 жыл бұрын
thank you sirG
@sahil-el7ss
@sahil-el7ss 6 жыл бұрын
Tq sir
@mandarjoshi6424
@mandarjoshi6424 4 жыл бұрын
Great!!
@kumarshivam9274
@kumarshivam9274 7 жыл бұрын
thanks sir
@ayushgarg7666
@ayushgarg7666 6 жыл бұрын
when assembler run
@shaileshmorya3719
@shaileshmorya3719 2 жыл бұрын
Thanks ss
#1 What is Dry Run Part 1of 2
20:02
MySirG.com
Рет қаралды 101 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
🎙️ Quantum Communication & Cryptography 🌌
16:49
Pentesting Club
Рет қаралды 2
Lecture 2 Identifiers in C Language  | in Hindi | MySirG.com
17:31
MySirG.com
Рет қаралды 1,9 МЛН
Nested if else in C language Hindi
16:28
MySirG.com
Рет қаралды 251 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 64 М.
Lecture 1 Introduction to C Part 2 hindi
17:33
MySirG.com
Рет қаралды 2,1 МЛН
Сборник Эксклюзивов 2024 - Уральские Пельмени
1:33:24
Уральские Пельмени
Рет қаралды 1 МЛН
C_84 Introduction to Functions - part 1 | C Language Tutorials
25:27
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН