chain rule

please help me , i'm trying make project about chain rule , cant you help me ? i don't know were to start
hahahaha
Last edited on
closed account (Dy7SLyTq)
each member function just has a return type of the class, and it either returns an instance of the class or *this
@requinajethro


You said:
i know you becase you're an indian from the land of nigeria


It'd be wiser if you avoid naming ethnicity or particular communities. You could simply tell him that he can't ask us to do his projects and that's all. No need to make such provoking comments I guess. I mean no offence, but mentioning nigeria or indians isn't just good to scold him.
thanks dude that "requinajethro" is my classmate he is a stupid guy , thanks dude .
halang is the same guythat call me " indian ! "
Last edited on
can gave me an example codes in chain rule . please ? i really need help ,
This video on youtube should help, there are also a couple of comments below that do mention chaining..
https://www.youtube.com/watch?v=PXcRe-W2w7s

closed account (Dy7SLyTq)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class myclass
{
	public:
		myclass();

		myclass& printhello() { cout<<"Hello, "; return *this; }
		myclass& printworld() { cout<<"world!"; return *this; }
};

int main()
{
	myclass object;

	object.printhello().printworld();
}

this is an example of basic chaining
@DTSCode

thanks ,

what if i will put in their a formula ?
Topic archived. No new replies allowed.