C Programming Language Tutorial (Advanced) - Structures
HTML-код
- Опубликовано: 18 сен 2024
- C Programming Language Tutorial (Advanced) - Lect 1 Structures
This is the very first lecture on Structures ie struct in C programming language. We will study the basics of struct. Why do we need it and how did it come into picture. In this lecture we will be covering struct creation, initialization, accessing elements of structure and also how to dynamically take input from the user and store it inside structure.
Source Code: wethecomputergu...
Facebook Page: / wethecomputerguys
Blog: wethecomputergu...
• C Programming Language...
We The Computer Guys
Shreyas Zagade
Aakash Thakur
Ananya Jain
Brilliant tutorial, what I didn't get in class is now clear to me by a 9 minutes video tutorial. Keep up the good work.
Your tutorials are just STELLAR!
You have a clear voice,the narration is steady and none of your tutorials ever left me with a blank face!Your logics in those pattern tutorials is simple and easy to understand man.Please continue uploading.Just be patient and You will reach a million views soon :-)
Omg. Finally a tutorial that points out all the details I've been looking for! Thank you! :)
That's the exact tutorial that i was looking for ............ awsome
thank you again for a superb video, please a video that contains structures and pointers
Love you dawg, going for A level practicals in 6hrs, it's 1am and I know I'm going to crush it
You explained structures pretty well: it's easy to understand!! I was nearly going to stop the video because your acent is a bit hard to understand, but I am glad I watched it because your explanation is just great!! Keep going! :)
same here hah
The Best programming video tuorials guys....Awesome....Very Happay
wow i understand in this video more than 3 classes lol ty very much, got a new suscriber
voice is very clear at all, explanation sounds fantastic. Nice buddy! keep it up...
Thnkew for dis tutorial its working
supperb , tutorial is clear ...
amjed anver THANKS😊
very good bro keep going... and teach us "c" we need you...
Excellent tutorial on structs. Thanks
Its too good. Please make video for indirect recursion.
Very Clear Explanation..
thankyou for this video.. all concept is clear now!
thank you for video. but when I input full name with space like "Adimax Lee", and run it, the roll name and age don't let me input value. it just go skipped. what to fix it?
Mr. Vuthy When using scanf, you cannot insert a string with spaces. One workaround I know of is using fgets()
Thanks sir I got the basic idea for structures
Fantastically explained, thank you!
very use full for study ....so thank you
thank you wethecomptuerguys...
It's really good for understand .Thank you
U will be successfull for your honesty
Thanks for ur video.
What a explanation !!!!!!!!!!!!!
You taught so well sir
Can you upload unions in c and also difference between structures and unions....Please
Structures and Unions are almost same Syntax yet instead of struct we use union in case of unions
and Memory is allocated in ascending order and move with type of data while in union there is only one memory allocated for all members
Very clear topic
very good tutorial
awesome
Sir ! Awesome! Thank you 😊
exelent supper understanding
please upload full pakage of c ... I am fan your video
Very nice
Many many thanks
Thnks Good 1 dear ...
thank you sir thank you
good job guys!!
good explaination
Very nice sir 🥰😍🥰😍🥰🥰😍😍🥰🤗👌😍
Make a video on command line argument
what if we want to add another student data? for example s1,s2,s3,s4,s5
what to use instead of scanf if you enter name with spaces?
thank u for making it
thank you sir
Nice going bro..
thnx a lot
Why doesnt the scanf take in spaces in a string?
+Ileana Jackson while using scanf, space in string is considered as '\0'...i.e null character
sir,i like your explanation and your voice is very clearly,nice job sir....sir i have one boubt why did't use & in name
+Priya R Name is in char, and roll and age are in int, so they need &
You probably found it by now if not then here is the reason .
The above explanation is totally wrong by Dahliz.
You have to use ampersand(&) operator to specify the memory location of the targeted Variable .
You should know by now that a Variable is the named location in the Memory.
We use & operator before a variable in scanf built in function is to tell the compiler to assign the value in the memory location of the targeted variable .
But we don't use it with string because in C and C++ string is a single dimensional array of character variables .
And the name of an array is actually a pointer to the first index of that array .
So an array name already holding the address of the first index of an array .
so writing "array" and "&array[0]" is same in scanf function .
gOOd
suprb :)
good
why dont you need the address operator for the string?
www.quora.com/Why-dont-you-need-the-operator-to-pass-the-address-of-a-string-literal
how to use scanf function to scan float char and int value in a single statement I m getting error in it
rahul motwani
scanf("%f %c %d")
This is not advanced structure programming tutorial...its very basic bro
nice
where is the next video??
please sir try to explain with some more examples
y did u use %s
+Rahul Suthar Hmm good question, I was asking the same. So if anyone understands why, let us know!
+Joshua George i think %s is for printing strings.
+Rahul Suthar "%d" is to accept an integer, same way "%s" is to accept a string. I'd suggest using gets(string) because "%s" does not count space.
Bhayya plz help me Bhayya. IAM arts student from inter to degree. In degre i did b. Com computers.
I am completed c, c++, and now iam learning java. but i have a doubt. an arts students can get a software job. bro plz bro tell me how can i get a job. plz iam a quick learner and i will do whatever it takes i have passion on computers plz plz reply me bro.
Sure bro , You will get a job . Keep your resume upto date . Do some projects that try to solve real world problem . Update your codes on github . You will surely get a job . :)
why do you call it " Advanced" if you are explaining the basics of structures? come on bro.
True ...
could i find some tutorial without the indian accent ? it's hard to understand the most of what he says
try thenewboston tutorials
thank you so much
no thank you
Wtf is that english ????!!!!
I tink dot diz iz suppohset too be un Indi-yaan ucksent or someting like dot.
That's the exact tutorial that i was looking for ............ awsome