C Language Tutorial for Beginners (With Notes + Surprise) 🔥
ฝัง
- เผยแพร่เมื่อ 22 ก.ค. 2024
- Source Code: github.com/CodeWithHarry/The-...
Download PDF Handbook (authored by me): www.codewithharry.com/notes/
Download the best IDE for C, C# and C++: bit.ly/WholeTomato-CWH
🔥 XStore - Premium WordPress theme for eCommerce success! 1.envato.market/2rXmmA
Download Cheatsheet from here: www.codewithharry.com/blogpos...
Note: Scroll to the bottom of the page to download the Handbook
Timestamps ⌚
00:00:00 Story of CRK
00:04:37 Chapter 0
00:34:13 Chapter 1
01:08:25 Chapter 1 Practice Set
01:26:02 Chapter 2
01:56:42 Chapter 2 Practice Set
02:06:00 Chapter 3
02:48:29 Chapter 3 Practice Set
03:17:47 Chapter 4
04:07:00 Chapter 4 Practice Set
04:33:59 Project 1
04:46:49 Chapter 5
05:24:53 Chapter 5 Practice Set
05:48:10 Chapter 6
06:19:31 Chapter 6 Practice Set
06:36:47 Chapter 7
07:06:01 Chapter 7 Practice Set
07:32:48 Chapter 8
07:53:26 Chapter 8 Practice Set
08:13:17 Chapter 9
08:36:18 Chapter 9 Practice Set
09:02:06 Chapter 10
09:17:52 Chapter 10 Practice Set
09:30:52 Project 2
09:39:32 Chapter 11
09:52:57 Chapter 11 Practice Set
10:01:37 Conclusion
►Checkout my English channel here: / @programmingwithharry
►Instagram: / codewithharry
Follow Me On Social Media
►Website: www.codewithharry.com
►Facebook: / codewithharry
►Instagram: / codewithharry
►Twitter: / codewithharry
Comment "#HarryBhai" if you read this 😉😉
Hope you liked this video
Download the best IDE for C, C# and C++ here: bit.ly/WholeTomato-CWH
yes , we like your video
thank you for this wonderful course
Thank youuu
Best video of C , I ever seen
This IDE is not available for current VS CODE version
good course sir
Whoever is watching this tutorial, I would tell them that you should not have any doubts in your mind because this is totally worth it.
@Felixrizzlord kyu be?
@@Felixrizzlordbhai itne sare launguage ke video dhekhe hai inke ab bharosa ho gaya hai ki aacha hi hoga
@@HarshGhotkar-zq2zq ok i thought bot tha yeh banda
@@Bhuvan.Shetty i thought he was a bot
I myself know harry bhai
@@Felixrizzlordall the best bhai👍
34:18 VARIABLE ,CONSTANTS AND KEYWORDS
1:26:04 INSTRUCTIONS AND OPERATORS
2:06:04 CONDITIONAL INSTRUCTIONS
3:17:49 LOOP CONTROL INSTRUCTIONS
4:46:52 FUNCTIONS AND RECURSION
5:48:12 POINTERS
6:36:49 ARRAYS
7:32:50 STRINGS
8:13:20 STRUCTURES
9:02:09 FILE I\O
9:39:35 DYNAMIC MEMORY ALLOCATION
that was NOICE.
@@arjansingh1035 thanks
copy paste
we need people like u, who actually teach rather than giving infinite roadmaps👍
disclaimer, apna college was not target here! hahahahah! loooooooooooooooool!
😮
bhaiya c++ course coming soon ?
Yass ..❤
Yas.. right 💯
C++ with DSA please 🙏
Yes it is much required
Yes
C++
Yess
Yes
At 30.47 you write printf("Harry"); how to further compile this for running?
Bro whya scanf function is not working in my code. When I use scanf before print its not taking any input from me.
bhai pehle ek variable assign kardo
first declare a variable, then use scanf function after printf. otherwise you'll be asked to type an input before printing the statement.
**For all the beginners**:-
At 2:05:40, If you put `int a =3.0+1` instead of `float a=3.0+1`, the answer you will get is 4 and not 4.0000 because of the type of variable a in the code. But as Harry specified here, it's always best practice to use float in such situations otherwise you'll be losing the value after decimal and Interviewer may fail you.
KOKOSHIBO❌ DOMA✅
Today I was looking for a C tutorial video and I found your old C tutorial video and now I got your new video, what a coincidence 😅
Same I am also completed 2hrs lecture from old😅
New se karoge na ab? ( Mai bhi )
bhaiya c++ course coming soon ?
@@codelearner383 pata nhi bro I think ana chahiye waise to
Same bro
1:03:00 i am getting an error named "failed to run: Access is DeniedAt '" What should I do. anyone can help me pls 😢 🙏
go to settings of vs code and allow terminal to run code...I had faced same problem while giving input to the code...
sir please help me , im getting error like this when i run simple code that you have showed in starting while explaining about variables
[Running] cd "c:\Users\91964\Downloads\" && gcc 01_variables.c -o 01_variables && "c:\Users\91964\Downloads\"01_variables
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16'
collect2.exe: error: ld returned 1 exit status
[Done] exited with code=1 in 0.374 seconds
bhaiya mai JS kr rha hu aur 3 reple create krne k bad premium mang rha h and further reple is not creating anymore.......is there any option
My god the timing of this course is insane.......I was searching for a C tutorial and was just starting to watch the old playlist but Harry Sir dropped the video on just the right time....Thank You Harry Sir!
Same
same
bhaiya c++ course coming soon ?
@@codelearner383 c is better than c++ anyways
C++ with DSA like karo
❤❤
Yes@@prabhatkumar5925
have a question will there be any c++ course coming soon with or with out DSA
@@prabhatkumar5925 have a question will there be any c++ course coming soon with or with out DSA
have a question will there be any c++ course coming soon with or with out DSA
Sir i have a question please reply ...
Aap ne jaise bola MingW download kar kai gcc,g++ download kar lia . Phir c wali directly mai ja k waha wo wala file nahi mil raha jo aap ne select kara tha ... Not now about it . Please kuch samjha dain please 😢
// Question: Calculate the area of a circle and modify the same program to calculate the volume of a cylinder given it's radious and hight:
// Hint_1: Area of the circle = 3.14 * radious * radious
//Hint_2: Volume of the cylinder = 3.14 * radious * radious * hight
#include
int main()
{
int radious;
radious = 7;
int hight;
hight = 4;
printf("The area of circle with radious %d is %f
", radious, 3.14 * radious * radious);
printf("The volume of cylinder with radious %d and hight %d is %f
", radious, hight, 3.14 * radious * radious * hight);
return 0;
}
" i hold your hand " this touch my heart
bhaiya c++ course coming soon ?
3 year back I started with same topic of your old video...best starting point proved to me.❤ All the best juniors who r stepping in this field.
bhaiya c++ course coming soon ?
In practice set no.3
Q2
When u write *else if *
else if ((marks1+marks2+marks3)/3
oh my god that just made my life
@@ShaheerAziz-f7e lol 😂😂
1:02:48 I don't know but why while running this program my computer generates random out in this program (anyone knows where I am mistaken??)
can you write the code i will debug it
your code is generating garbage value, in settings allow terminal to run code and give input in terminal it will run properly
For my personal preference......
39:21 coderunner extension
1:04:12 multi cursor functionality
1:05:59 escape sequence characters
1:09:51 ninja technique for boilercode snippet
1:29:50 Some Useful Info
1:52:04 Control+ Forward Slash shortcut for comment
1:55:25 Typecasting
2:10:49 Line Up-Down Shortcut
3:10:19 ASCII Value problem
bhaiya c++ course coming soon ?
🙏🙌🙌❤️
Bhay tune pura dekh liya 😢
@@darshanjadhav6038 Nahi bhai 🙂 abhi sirf 2 Chp pure kiye hai
Hey everyone! 🎉 Today marks the beginning of my journey to stay consistent with Code With Harry's C language course. 📚 I struggle with consistency, so I've decided to comment here every day to keep myself accountable and to motivate others. 💪
Chapter 0 Completed
Today is Day 1. Let's stay consistent and achieve our goals together!
You aren't consistent for the second day too by commenting down😂
@@ankur8680 🤣🤣
Hey, I'm a beginner too. starting with the tutorial from today. can u create a group so that we do it together huh?
Good idea @@hotnerd24
@@hotnerd24yes bhai bano ek group
my vs code is not giving output for scanf function, what should i do??
Go to File --> Preferences --> Settings or (Ctrl+,). Settings window will open. Search 'code runner' and settings for Code Runner will start appearing. Scroll down until you find 'Code Runner: Run In Terminal', check that box and close the settings and then try running the code again. It will run in terminal and also you will be able to enter inputs. Had the same problem, solved it this way.
Day 1 ----- 1:14:27
Day 2 ----- 3:08:18
Day 3 ----- 4:34:00 Excited to build my first game ever.
Day 4 ----- 5:49:31
Day 5---- forgot to note timestamp 😢
Day 6 ------- 8:20:21, 8:43:07 -----> ans= array
Bro glad to hear but I have also made one quiz game from C and posted in my channel. Wanna check this out?😊
pura detailed course h kya ye??? sb smj ayega??
@@monikasangwan7033YES
@@monikasangwan7033 I am currently on 6:37:11 and till now he has taught pretty much all the basics like conditional constructs (if, else if etc), loop controls( for, while, do while), then functions(including recursion) and pointers, later arrays and strings will be taught too, you can check his handbook to see the content.
I would say it is good for beginners like me who has never studied c before, if you do practice set of each chapter by yourself first it can help you a lot. I don't know at what level you are currently, but if you are starting out then it is definitely good to complete it, also it can act as a good revision before college exams if that is your goal.
Sorry for the long ass reply😅
@@monikasangwan7033 idk what happened, but my previous reply got deleted 😭
Anyways, for your question, you can check out his handbook(link in the description) to see the content he has taught, if you are beginner and just starting out on c , it's a great course to do, it will definitely teach you all the required basics, just make sure to solve each problem of the practice set first by yourself, then check solution or ask chatgpt for any improvements.
I am also someone who never studied c before, but just after completing half the course I feel comfortable with it, although I knew java before.
I am currently at 6:37:00 and hope to complete it soon.
7:20:35 reverse function me 👇👇ye likh sakhate he.
void reverse(int a[])
{
for (int i = 5; i >= 0; i--)
{
printf("%d\t",a[i]);
}
printf("
");
}
bro yuo just made it simple harry bhai dont like simple he want you to be advanced
harry bhai mujhe error aa raha hai chapter no 1 me pehle mene hello world print kiya to output aagaya but jab me printf("%d", a); ye dala aur pura code complete kiya to output "Hello world" bata raha hai aur mujhe 6 print karane ke liye ctrl+a karke run code karna padta hai
23:51 mine showing gcc not gcc.exe what should I do now ?
it will work . its just that your windows system hides ur extensions .. do not worry .
You cameback with a bang. I was searching updated c programming language in depth guide . Then you came with this video man
U rock.
th-cam.com/video/cWxNWKEXDTs/w-d-xo.htmlsi=10GqLs8K0eHKEugZ
I have completed learning C from Harry's previous " C in one video " ,trust me he teaches really good. sometimes it may seem he is going slow but trust me for a beginner its very helpful.
bhaiya c++ course coming soon ?
@@codelearner383 bhai bata raha hai ki puch raha hai?
Bahi me ne BCA li hai iss sal programing me kuch nahi pta me ye course muje samjh me aaye gi
Reply plz
@@a-kaydevil Zaroor ayega , just be consistent, karte karte bich me chor doge to samaj nahi ayega
//Question: Write a C program to calculate area of rectangle, using inputs supplied by the user:
//Hint: Area of the Rectangle = Length * Width
#include
int main()
{
int Length;
int Width;
printf("Enter Length
");
scanf("%d", &Length);
printf("Enter Width
");
scanf("%d", &Width);
printf("The area of the rectangle is %d", Length * Width);
return 0;
}
00:08 Introduction to Functions in C
1:02:12 Understanding pointers in C language
2:37:18 Introduction to C language basics
3:28:25 Understanding basic syntax and input/output operations in C language.
4:56:14 Variables and Data Types
6:38:46 Importance of Pointers in C programming
8:12:01 Pointers are used to store memory addresses.
8:59:08 Introduction to Variables in C Programming
such a great person THIS VIDEO IS HELPFUL
It's also going Viral 🔥🔥
Yeah its 10 hours of absolut new language … what nobody hear until now …… 😂😂😂😂
40 million views in 1 year
bhaiya c++ course coming soon ?
2:27:07 Haar Kar Jeetne Wale Ko Baazigar Kehte Hai, Aur jo false ko true or true ko false banade use NOT Operator kehte hai.
aur jo thandi marta hai usse @ninad0109 kehte hain
😂😂😂😂
any expert jo bata sakta hai k program ko vscode ma zoom kese kerty hain?
Just needed it and you uploaded!
Your videos are so helpful❤... Never stop making it 👏🏻
i use chatgpt like you from soo many months and its actually a great bway to really understand and ask question and convert and find my mistakes and how to think to get what bi get and soo on and infinite example and even more way to make it easier to underrstand
Bhaiya facing an issue first code execute hogaya but usimei tohde changes kiye mene code toh sahi hai but output still previous program ka hi arah hai ..wht to do in tht case ...first program sum ka tha a+b wala dusra mene area of square ka kara but output sum ka hi arah hai 😶😐pls batao why n wht to do bhai
This video is very helpful genuinely ❤
Lagta hai...Bhai muje fir se c language learn karna padega 😅😅..
Harry Bhai like plss...
bhaiya c++ course coming soon ?
Who told you@@codelearner383
//Question: Write a C program to calculate area of a rectangle, using hard coded inputs:
//Hint: Area of Rectangle = Length * Width
#include
int main()
{
int length;
length = 3;
int width;
width = 4;
printf("Area of the Rectangle is %d", length * width);
return 0;
}
I really needed it , thankyou .
aapki he video dekh ke maine bhot se languages sikhe hai, Whenever I get stuck on any topic/concept, you come in front of me like a life saver.,I learned many languages like C, C++, Python and Java through your videos.So, Thank you so much bhaiya
mere laptop #include mein error show krta hai hamesha .Can anyone tell me how to solve it
File ka name mein aakhri me .c lagate ho na?
For example ' file_name' is wrong
'file_name.c' is correct
04:33:59 Project 1
I made it using for loop and break statement
/*
Author : M. Kedhar Sai Ganesh
Date of Creation : 20/07/2024
Used concepts : loops, Random number generator
Question : Write a program that generates a random number and asks the player to guess
it. If the player’s guess is higher than the actual number, the program displays “Lower
number please”. Similarly, if the user’s guess is too low, the program prints “Higher
number please”. When the user guesses the correct number, the program displays the number of
guesses the player used to arrive at the number.
*/
#include
#include
#include
int main()
{
// Initialize the random number generator with the current time
srand(time(NULL));
// Generate a random number in the range 0 to 100
/*
int lower = 0;
int upper = 100;
int random_number = (rand() % (upper - lower + 1)) + lower;
*/
int rndm_num;
rndm_num = (rand() % 101); // Gives random number between 0 and 100
int a;
printf("Guess the number
");
scanf("%d", &a);
for(int i= 1; ; i++)
{
if (a > rndm_num)
{
printf("%d.Lower number please
",i);
scanf("%d", &a);
}
else if (a < rndm_num)
{
printf("%d.Higher number please
",i);
scanf("%d", &a);
}
else
{
printf("You Got it
");
printf("correst number is %d
",rndm_num);
printf("You took %d attempts to guess the number",i);
break;
}
}
return 0;
}
Someone please help..27:41 pe mera error aa raha hai..its showing "undefined reference to 'WinMain@16'
collect2.exe: Id returned 1exit status"
try checking this in chatgpt and stack overflow for refrence
❤❤❤Wow ! what a grand intro bro. You are genius
Thanks a lot bhai
ek dom Clg ke 2nd year suru hone se pehelehi ye video aa gaya Thanks a lot
-Love From West Bengal
❤❤
Please give a c language handbook link
Makaut bro!!!?
Bhai Mene Abhi 12 Pass Kiya Hai College Me Is Course Ka Naam Kya Haii Iske Liye Kya Karna Padega ..?
Btech aagar PCM se kara hai Or BCA aagar PCM se nahi kara hai
anyone know how to dwonload this pdf used invideo
cwh-full-next-space.fra1.cdn.digitaloceanspaces.com/TH-cam/The%20Ultimate%20C%20Handbook.pdf
Completed! Thank you Harry bhaiya!❤
Bhai Kitana mahenat 😢karte ho aap, Dil❤ se respect🫡 aapko😊, thanks for heart ❤️ Harry bhai🙂
bhaiya c++ course coming soon ?
the way he teaches is love.
// Question: Write a program to convert Celsius to Fahrenheit:
// Hint: Fahrenheit = ((9.0/5.0) * Celsius) + 32
#include
int main()
{
float Celsius;
Celsius = 37;
float Fahrenheit;
Fahrenheit = ((9.0 / 5.0) * Celsius) + 32;
printf("%f", Fahrenheit);
return 0;
}
day before yesterday i started with your old c language video and today i got this notification thankyou so much bhaiya . we are so blessed to have teachers like you
Today's date is 17-07-2024. Mark this date. On 17-07-2026, I will return to comment on this video and share my success as a coder, all thanks to Harry Bhai.
Will see notify me also !
Also me
Marks this also -23/07/24
Never sold any course , Always increased the confidence of every programmer who visited his channel, Teached Everything in very easy manner .....
bro where is the handbook's link i couldnt find it
launch.json error aa raha hai muje do you have any solution??
This man is a legend 🔥
"Coding Sikh lo kahi se samaj me ayegi yhi se"
That's the thing I needed the most now 😍😍😍😍
Ps: got a like from my favourite tech person 😍😍
Sir mera gcc path pr jaake add krne ke baad bhi jab me compile krra hu code ko toh object not found dikha raha h
how to upload our GUI on playstore/appstore
C Language (Code with Harry) y bhi video python k jaisa chhaaa jayega 😮🎉❤
Code with Harry 🥰❤️
bhaiya c++ course coming soon ?
This video is very helpful ❤❤❤
bhaiya maine phle bhi vs code download karne ki koshish ki thi ab download krne ke bad program run kar rha hoon toh ho nhi rha
sir code runner extension is not working properly
Maine aapka c ka playlist poora dekha hai bhai and aap itna jyada ache tareeke se "Desi " tareeke se padhate ho na. Ekdam bade bhaiya jaise haath pakad ke sikhate ho.. thank you so much harry aapke wajah se maine C sikha mai fir bhi yeh tutorial dekhunga aur revise karunga ! Thank you so much.. we need people like you who'll teach quality education for free 💞
Bhai ye tutorial sikhne ka Kya benefit hai
@@Painkiller-fy9wt aap c language sikh jaaoge bahut achi tareeke se .. c language ek basic programming language hai
bhaiya c++ course coming soon ?
@@codelearner383 uski bhi playlist daali hai harry bhaiya ne.. aap bas search karo c++ code with harry.. aapko mil jaayega 💞
@@codelearner383 abhi ni pta
Bro is the type of youtuber which this generation needs and I am saying this from my heart
bhaiya c++ course coming soon ?
sir laravel ka couese banao
shift +right click is not working sir
what should i do know
mere #include pe error show kr rha hai kya kru
This video is very helpful 🎉🎉
It's been 4 days since I started this course, and I am very satisfied and happy with this course.
My routine is a practice set and then the next chapter everyday so that I am not overloaded, and I guess this is the best routine.
Well chapter 4 was a heavy one, it took me some time to do, starting with project one and I am excited.
Bhaiya exe naam ki file hi nahi show ho Rahi he mingw ko download karne ke baad bin me ??
Same
Thank you haris bhai this is absolutely helpful ❤
Kaun kehta hain ki tech youtubers popular nahi sakte iss bande ne without MAANG company join kiya itni popularity gain ki hain ki sayaad ki ho kar skata hain aajke time pe hain or free content de raha hain , hats off to you bhaiya.
bhaiya c++ course coming soon ?
Cam someone is able to download the pdf handbook which is used in the video
4:29:00 Par bhaiya isme to 99 prime dikha raha hai jabki 99 prime nahi hai.
Aur, agar ye break statement hata de raha hu tab answer thik aa raha hai.
Jo bhi video dekh rahe hai...please like kar dena , harry bhai bhot mehnat karte hai hamare liye ...Harry bro is the best person..❤❤❤
Kya editing h!🙌🏼🔥
bhaiya c++ course coming soon ?
27:52 got error when applied gcc
harry bhai coment to parhte nh hoo
nene siga web devolebent cource me comment kya hoa hai
After Python's new video, you are here with C, and now you won Trust and subscriber too, ALL THE BEST FOR FUTURE VIDEOS !
Great video same for c++
I am having slightly issue my bin folder doesn't contain gcc .exe instead it contains gcc only
It's the same thing. Just do what he says.
This video is very helpful !!
Thanku harry Bhai
Apke vejese mere jesa
Middle class larka vi aj achii tarhay se coding sikh sakta hay
Yes bro.. me too
Finally jiska intazar tha woh aa gaya😍🔥🙌🏻
./a.exe me erroe aa rha h ..not being recognized
This video is helpful
Thank you so much bhaiya ji 😊❤❤
OMG abhi kuch hi din phle maine old c language course start kiya thaa but ab ye new wala course aa gya😍 Thankyou so much harry bhai☺️ This video is very helpful 😊
Konsa wala ach hai ?
I like your teaching very much and I can understand it easily😊 love from West Bengal ❤
Comment na kore vlo kore sikh bara
Hii Gaal daao @@manjulikadas5038
@@manjulikadas5038 bara amar valo kore sekha ache ar emnite ami infosys intership kori 😎 tor hoi too sekha uchit
Plzz help me because when I run new code every time first code "hello world" Is print
Plzz help i am a beggner
when you write new code first save it by ctrl+s(window)/ cmd+s (in Mac) then run the code if you will not save it will show output of previous code
harry bhaiya code runner inbuit terminal me nahi chala mera app ko batana tha kese karte ha code runner ko terminal me me input nahi dal pa rhatha kyuki mera terminal pe nahi chal raha tha
bro fix your code runner json file
A genuine and a very requestable please bring a course like this for c++ too😢😢😢😢😢😢 Harry Bahi
One of the best teacher for learning any language.
Sir plz Java+DSA course plz.
Just like 100 days of code for python.
I am Excited !
This video is helpful. You are awesome
This is Going to be Epic C course 💙💙💙💙
*The Timing*
bhaiya c++ course coming soon ?
@@codelearner383 idk 🤷♂️
5.6
@@_Developer_ 1 hour
@@rafisarker6083 wt