Structures in C Programming Language Video Tutorial - More Details

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

LearningLad

LearningLad

Күн бұрын

Пікірлер: 24
@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.
@Sivasri2812
@Sivasri2812 6 жыл бұрын
Thank you for the informative video sir. I have a doubt that why did you use puts( ) function here
@akoanani
@akoanani 9 жыл бұрын
thanks again.....
@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(); }
@shivamthakur2724
@shivamthakur2724 8 жыл бұрын
really helpfull.. . thanks!!. XD
@LearningLad
@LearningLad 8 жыл бұрын
welcome :)
@akashmore265
@akashmore265 6 жыл бұрын
So, a structure is like a constructor?
@mayankmadhav2370
@mayankmadhav2370 8 жыл бұрын
great job ....but the video and audio qualities are worse ...please do something for that
@shivamthakur2724
@shivamthakur2724 8 жыл бұрын
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 8 жыл бұрын
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.
@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
@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};
@tanmaysonawane7527
@tanmaysonawane7527 8 жыл бұрын
why you use puts?
@tejas1295
@tejas1295 9 жыл бұрын
#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 9 жыл бұрын
+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!
@aakash4351
@aakash4351 8 жыл бұрын
I had watched all other previous lecture and they are great but this seems to me quite aimless and incomplete.
@penggunaphp7297
@penggunaphp7297 9 жыл бұрын
Inspector Vijay
Structures in C Programming Language Video Tutorial
7:37
LearningLad
Рет қаралды 85 М.
struct Basics | C Programming Tutorial
24:44
Portfolio Courses
Рет қаралды 151 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 30 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 828 М.
Pointers in C Programming Language Video Tutorial for Beginners
12:34
you will never ask about pointers again after watching this video
8:03
Function Basics | C Programming Tutorial
15:36
Portfolio Courses
Рет қаралды 73 М.
What is a semaphore? How do they work? (Example in C)
13:27
Jacob Sorber
Рет қаралды 308 М.
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 124 М.
Learn C++ With Me #20 - Functions
26:14
Tech With Tim
Рет қаралды 53 М.
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 452 М.
why are switch statements so HECKIN fast?
11:03
Low Level
Рет қаралды 428 М.
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 30 МЛН