Hermann
but i dont use protector-all
Anonymous
Anonymous
Stack protector and fortify source are redundant with asan
Anonymous
And they sometimes outright break asan
Wisenky
so I have to use it like uni->fac[i].stud ?
Wisenky
cant I make it pointer ?
Anonymous
Hello guys
Wisenky
so the lines which is uni->fac[i].stud[i] will be uni->(fac+i)->(stud+i) ?
Anonymous
I need friend to help me in C++ 😐
Wisenky
https://hastebin.com/zoradihina.cpp but I used it in my old project and why it worked ? whats the difference btw adressing
Wisenky
okay I'll sir and I have to ask that the file which I sent you its linked .c file cant access uni->name and uni->facultyNum
Wisenky
MᏫᎻᎯᎷᎷᎬᎠ
Madhu should be promoted as an admin
Wisenky
advice me a pointer book sir
Wisenky
Anonymous
Wisenky
I ask question here whenever I cant find the answer on the internet or known websites
Anonymous
Wisenky
Anonymous
Anonymous
I'm too tired tbh
Anonymous
One advice I can give is don't cast the malloc() call
Anonymous
Let implicit casting do it for you, bad practice to use explicit in C
Anonymous
Anonymous
faculty->stud = malloc(sizeof(stud));
Wisenky
Anonymous
Wisenky
Alright man
I got this like as 1 time allocating uni->faculty producted for how many faculties I want then I point it about uni->faculty[i]
Wisenky
Wisenky
sir , I dont understand this how to passing pointer to a pointer ?
Wisenky
Mar!o
MᏫᎻᎯᎷᎷᎬᎠ
Dima
bro?
Dima
i love when someone calls me sis
Dima
Dima
Mar!o
🤦🏻♂
Dima
MᏫᎻᎯᎷᎷᎬᎠ
You are being privato
Dima
sir
/blue_text_must_click
Mar!o
I mean why even say Sir...
Dima
if I only knew what it means..
Dima
what does it mean?
Dima
juicy ( ͡° ͜ʖ ͡°) ?
Mar!o
Wtf
Dima
sorry I just drank too much wine now
Dima
gotta be quiet
Dima
ot actually yes.
Ajay
shahad in hindi?
Mar!o
Mar!o
Mar!o
Hmm ok
Anonymous
Hey I need help with a c++ program
Dima
MᏫᎻᎯᎷᎷᎬᎠ
Well
I will ask a direct question when there will be a direct answer
Not just someone keep saying "why would you use X"!!
Anonymous
I neee to form a Round robin scheduling c++ program, list of processes with Process Id, Arrival Time, Burst time is given. A CIRCULAR linked list is to be used for the program in which each process is added as the time processes by and deleted as its time quantum expires.
Anonymous
cooper
is that your homework
cooper
i have a source to help you understand schedulers, but I don't know what the context of the program is, i.e. independent, part of a custom operating system (not xv6 clearly), or ?
cooper
http://pages.cs.wisc.edu/~remzi/OSTEP/cpu-sched.pdf
Anonymous
I completed with other scheduling algorithms successfully, but now I'm just fed up coding like 10 hours on a stretch 😅
Anonymous
Here's the original question
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
/report
Mawut
Hello guys, I came across an Object-Oriented programming based question. I have been trying to figure out which one to make the base and derived classes and I really got confused. Please give me a head up on how I can tackle the question.I don't need the code, just the frame
Here is the question
A car bazaar deals in various types of vehicles including cars, vans, buses, minibuses, trucks, pickups among others. A bazaar management program is required to keep track of these vehicles and the activities that happen to them. The bazaar also assigns employees to be responsible for the marketing, sales and maintenance as well as security services for these vehicles. Assume the bazaar operates within Nairobi and has at least three branches.
Required:
A design of the said program clearly outlining classes (base and derived) and their corresponding data members as well as any relationship between the classes.
A program to:
Keep track of which vehicle is in which branch at any particular time.
Keep track of which employee is in which branch
Which employee has worked on (marketed, sold or repaired) which vehicle.
Using C++ and employing OOP concepts, implement the required program, clearly outlining how you have used the concepts of: Classes, Objects, Encapsulation, and Inheritance.
Mar!o
Naiko
if(strcmp(fdata->d_name,"..")==0)
can anyone tell me what controls that if?
Mar!o
GOOGLE STRCNP WTF
Mar!o
Anonymous
Just use strstr
Mar!o