How To Create A Library And Split A Program Across Multiple Files | C Programming Tutorial

How To Create A Library And Split A Program Across Multiple Files | C Programming Tutorial

Portfolio Courses

2 года назад

71,952 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Nishu Kumar
Nishu Kumar - 02.09.2023 07:03

Hello sir, I have query like how library.h file will interface with library.c file? Since we have created library.c file but not added to main file or even library.h. how does this interface work? Please explain one.

Ответить
Mohammed Jerjawi
Mohammed Jerjawi - 19.08.2023 13:09

Thank you so much for your dedication, sir. Whenever I have a C-related question, this channel is my ultimate go-to. The effort you've put into creating such a valuable C resource is truly commendable.
If possible, could you make a tutorial on cmake?
Your expertise would greatly benefit the community.

Ответить
Cristi Musat
Cristi Musat - 06.08.2023 17:55

OK. now put those header files in a different folder (headers ) and the main.c in a different folder (src) and make it work like that

Ответить
NS
NS - 19.07.2023 03:03

Where is the makefile video 😢

Ответить
Sirous Mohseni
Sirous Mohseni - 25.06.2023 17:37

Thanks for the video.

Ответить
StaticDynamic
StaticDynamic - 21.06.2023 20:15

Hello,
Hope you are doing good.
I'm going start my career as C/CPP developer, Can you tell will there be jobs for C/CPP developer in future,since many people are saying these languages are becoming obsolete.
Thank you.

Ответить
BL4KCY
BL4KCY - 20.06.2023 12:50

man thank you so much because you tutorials are so understandable to me <3

Ответить
HEMANT KUMAR D
HEMANT KUMAR D - 12.06.2023 10:28

thankyou very much sir!

Ответить
sutan m
sutan m - 08.05.2023 23:36

the only C tutorial that makes sense. Using a terminal and manual compilate instead of an IDE. Thank you for making this±

Ответить
Razor X
Razor X - 22.04.2023 18:13

This must be the best tutorial about this subject I've ever seen. Thank you so much! I was trying to create a library for a 100-line code function without success, but I saw your video and finally manage to do it!

Ответить
Yiğit Çoban
Yiğit Çoban - 06.03.2023 19:42

is there any video which talkes about how to use gcc? ı couldnt understand main point gcc.

Ответить
Matteo Moioli
Matteo Moioli - 28.02.2023 17:21

Great video, right on point!

Ответить
RoKkasCODE
RoKkasCODE - 21.02.2023 21:24

Perfectly put together, thanks chief

Ответить
Vinny
Vinny - 20.02.2023 22:33

i swearrrrrr, after a whole year of computer science and research , nothing beats this tutorial , thank you sooooooooo much

Ответить
Arthur Dent
Arthur Dent - 18.01.2023 22:57

Wait, do I not need to include the header file in the c file? (Ie include library.h in library.c?). Should you?

Ответить
Johirul Islam
Johirul Islam - 07.01.2023 20:24

This is a great channel to learn C. I love it very much. Thanks!

Ответить
meneerjansen00
meneerjansen00 - 30.12.2022 17:11

Thanks for this short and very useful video. Did you ever get tot make that video about 'make'?

Ответить
Awab Khan
Awab Khan - 19.11.2022 14:45

So I have a question what if I want to use the add function created in this library in another c file what is the process of that lets say I created a library with an add function and it gave me a lib1.a file how do I use this file into another c program to use the add function in lib1.a file I cannot find this anywhere or maybe I am just too dumb to understand and if you have already made a video on that can you please link it Thank you.

Ответить
Nthn
Nthn - 16.11.2022 05:58

i love u

Ответить
Steeven KENNY
Steeven KENNY - 08.11.2022 14:48

Sir this is great...keep up the excellent work....

Ответить
App Developpement
App Developpement - 07.10.2022 13:31

thanks for Your efforts, Please!!! you can make a video about MAKEFILE It's helpful on this part (compiling many files at the same time)

Ответить
Franco N. Sosa
Franco N. Sosa - 25.09.2022 02:03

I've worked with Code Blocks so far, but when I tried VS Code I had many issues compiling my multi-file projects.

I researched many, many days but as I just started learning how to code, this things about .json archives, Makefiles or the gcc commands were just too difficult to understand for me.

With this single video, I can at least say I finally understand why I gotta do all this things with VS Code in the first place. Thank you so much!

I'd really aprecciate if you make a video explaining how to set these things up, if you haven't done it already. Your explanations are great!

Ответить
MOHAMED MIRE
MOHAMED MIRE - 21.08.2022 00:30

6 useful minutes.
Hats to you off sir.

Ответить
Michael Mavrostomos
Michael Mavrostomos - 08.07.2022 15:22

Very informative in such a short time ty

Ответить
unknownpng
unknownpng - 29.04.2022 03:09

Hello sir , i would like to know if you can make a video about makefile please

Ответить
UJJWAL MARTIN
UJJWAL MARTIN - 04.04.2022 22:17

You saved my life Thanks a lot

Ответить
Marie Bruckner
Marie Bruckner - 06.03.2022 17:51

in 6 months of university i didnt understand this...
now i learned it in just 6 minutes from this video - thanks, you just made my coding a hell lot smoother and cleaner!

Ответить
Kamisama
Kamisama - 16.01.2022 08:26

teach us how to read and copy binary information from .exe files

Ответить
The intel media
The intel media - 05.01.2022 16:36

Thank you very much for this worderful opportunity provided, can't wait for the video on the use of Make file

Ответить
Comic - Typ
Comic - Typ - 05.01.2022 14:39

I just include every library i need in the header file and include the header file in the c files, works so far pretty good

Ответить
Sajjad Nazari
Sajjad Nazari - 05.01.2022 11:19

I am trying to run this in vs code but I cant.

Ответить
Sajjad Nazari
Sajjad Nazari - 05.01.2022 11:19

Hi!
Can you have a tutorial on how to run C in Vs Code?

Ответить