Structures in C Programming Language Video Tutorial - More Details

  Рет қаралды 54,788

LearningLad

LearningLad

Күн бұрын

Пікірлер: 24
@Sivasri2812
@Sivasri2812 5 жыл бұрын
Thank you for the informative video sir. I have a doubt that why did you use puts( ) function here
@akoanani
@akoanani 9 жыл бұрын
thanks again.....
@GauravPandey-ku3ch
@GauravPandey-ku3ch 7 жыл бұрын
all your videos are great but you should also include scanf function in your programmes otherwise you are missing the fun part!
@LearningLad
@LearningLad 7 жыл бұрын
i'm planning to remake this video series with better equipment's. i'll use scanf in those video's.
@vaisalipatnaik4801
@vaisalipatnaik4801 5 жыл бұрын
what compiler do you use mate
@surendrapandit6961
@surendrapandit6961 7 жыл бұрын
sir how to use pass fail concept in this problem. Write a C program to find the total and average of marks for 5 students in English, Hindi, Social Science, Science and Maths. The maximum marks in each subject is 100 and the pass marks in each subject is 40. Note : Use structures concep
@poisonbrother9816
@poisonbrother9816 7 жыл бұрын
hi, i attached following code can you use this. i use only three subject you can modify yourself. #include struct StudentData { int regno, m1, m2, m3, total,avg; char name[20]; char dept[20]; }; void structre() { int n; int i; printf("Enter no of records"); scanf("%d", &n); struct StudentData s[n]; for(i=0;i35)&&(s[i].m3>35)) { printf("pass\t"); } else { printf("fail\t"); } printf("%d%%\t ",s[i].avg); } } int main() { structre(); }
@akashmore265
@akashmore265 6 жыл бұрын
So, a structure is like a constructor?
@shivamthakur2724
@shivamthakur2724 7 жыл бұрын
really helpfull.. . thanks!!. XD
@LearningLad
@LearningLad 7 жыл бұрын
welcome :)
@mayankmadhav2370
@mayankmadhav2370 8 жыл бұрын
great job ....but the video and audio qualities are worse ...please do something for that
@shivamthakur2724
@shivamthakur2724 7 жыл бұрын
They are poor, but dont you think, this guy is solving a huge problem of people by teaching us? Moreover there is no need to spend money like rs9000 for mic. and other on capturing device. its an educational vid. and this vid. had done its purpose. You want good quality vid? Go and watch movie trailers then. dont waste your time here.
@mayankmadhav2370
@mayankmadhav2370 7 жыл бұрын
Shivam Thakur I think you didn't see my 1st line. I've written there "great job". So I'm praising his work. Just telling someone to improve on something doesn't always mean criticizing.
@tanmaysonawane7527
@tanmaysonawane7527 8 жыл бұрын
why you use puts?
@PsSarvna
@PsSarvna 7 жыл бұрын
when I compile the program ,popup ocuurs that structure.exe stopped working
@LearningLad
@LearningLad 7 жыл бұрын
check your program for errors. may be you are trying to access outside the array. if you cant solve this problem, pls send us more detail :)
@PsSarvna
@PsSarvna 7 жыл бұрын
LearningLad thanks :) problem solved
@aakash4351
@aakash4351 8 жыл бұрын
I had watched all other previous lecture and they are great but this seems to me quite aimless and incomplete.
@n.rukkumani7297
@n.rukkumani7297 8 жыл бұрын
struct student { int rollno; char name[20]; int age; int marks; }anil,ajay,,akshay; in this declaration how to assign the value to anil ajay,akshay
@narain4429
@narain4429 6 жыл бұрын
rukkumani n You can assign by , Struct student anil={"rukkumani",4444,18};
@tejas1295
@tejas1295 8 жыл бұрын
#include #include struct student{ char name[20]; int age; float marks; }student1; int main() {char ch[20],temp,y,n; int i; float j; printf("enter your name "); gets(ch); printf("enter your age "); scanf("%d",&i); printf("enter your marks "); scanf("%f",&j); printf("The details provided by you are as follow: Name:%s Age:%d Marks:%f ",ch,i,j); printf("Is the data provided by you correct?"); printf("Press Y/N to continue "); scanf("%c",&temp); if(temp== 'y'){ printf("Your choice is %c ",temp); printf("Thankyou for the information"); printf("writing data to student1"); strcpy(student1.name,ch); student1.age=i; student1.marks=j; printf("Data written Successfully"); printf("Data written to file is Name:%s Age:%d Marks:%f",student1.name,student1.age,student1.marks) ; } else{ printf("Start Again"); } getch(); } Sir,in this program,the scanf function for reading the input choice of user i.e. y or n,is not functioning properly.It directly executes the else statement.When i tried the scanf function in a separate program,it worked properly.Why so?Am i wrong anywhere in this program
@LearningLad
@LearningLad 8 жыл бұрын
+tejas1295 use a space in scanf while reading input for temp like scanf(" %c",&temp); it will ignore all the whitespace characters and ur program will run properly. Hope this helps :)
@herr_pouya
@herr_pouya 8 жыл бұрын
+LearningLad Anil this is video 50 ,you need to fix the title which you wrote "49". Thanks for these amazing tutorials also!
@penggunaphp7297
@penggunaphp7297 9 жыл бұрын
Inspector Vijay
Structures in C Programming Language Video Tutorial
7:37
LearningLad
Рет қаралды 85 М.
Pointers in C Programming Language Video Tutorial for Beginners
12:34
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 81 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 24 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 70 МЛН
Object Oriented Programming is not what you think it is. This is why.
13:36
Pass By Reference in C Programming Language Video Tutorials
8:33
File Handling in C Programming Language Video Tutorial
9:58
LearningLad
Рет қаралды 233 М.
How To Think Like A Programmer
1:00:07
Coding Tech
Рет қаралды 2 МЛН
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
Understanding and implementing a Hash Table (in C)
24:54
Jacob Sorber
Рет қаралды 359 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 81 МЛН