Anonymous
yes
I have changed dp lmao
Mykyta
Is it you?
Mykyta
😂
Anonymous
Anonymous
No
Ariana
You’ll just got to find pretty sure there would be one you like, else just clone and mod one
Ariana
there isnt only one email client
Anonymous
I know I tried all
Ariana
Theres prob like hundreds foss clients If you want to like improve one just git clone and edit
klimi
What is best email client than?
Anonymous
Ok, VS Code is better for Back-End developers
http://learnvimscriptthehardway.stevelosh.com
Anonymous
Anonymous
See ..
Anonymous
Om
👍✌️
Ritu Raj
Ritu Raj
What's wrong here?
Ritu Raj
Ritu Raj
Ritu Raj
If i am using friend class B; then it working properly
Pratham
I can't its complex algorthm
Okay sir. I can understand. But what's Bot curl library? ...is it a bit channel in telegram?..
Ritu Raj
But don't know why it is not working with friend B::showdataof(A&);
Mykyta
Maybe you should write type of?
Mykyta
Ok, do you want to write friend calss or friend function?
Mykyta
Try to write friend void B::showdataof(A &);
Ritu Raj
Ok, do you want to write friend calss or friend function?
Actually I am practicing on both type!!! My code is working with friend class B; But don't know why it is not working with friend B::showdataofA(A&);
Mykyta
Hmm
Mykyta
Give me a little time, I'll try to fix
Mykyta
Can you send all your code?
Mykyta
With errors
Ritu Raj
Thank you!
Ritu Raj
Dima
Mykyta
No, in text
Mykyta
Use ` without space for the code
Mykyta
for example, ` code `
Mykyta
fuck
Mykyta
3 times ` without space
Mykyta
like this
Mykyta
` is not '
Mykyta
button below escape
Ritu Raj
#include<iostream> using namespace std; class A; class B; class A { int aa; public: void setdata(int aa) { this->aa=aa; } friend void B::showdataof(A&); }; class B { int b; public: showdataofA(A &a) { cout<<a.aa; } }; int main() { A obja;B objb; obja.setdata(5); objb.showdataofA(obja); }
Ritu Raj
use showdataofA(A&); During its declaration
Mykyta
Your code
Ritu Raj
Mykyta
aa is private
Ritu Raj
Yes!
Ritu Raj
So?
Mykyta
Wait
Mykyta
I try
Ritu Raj
Friend function can access any member variables na?
Ritu Raj
showdataofA(A&);✔️✔️ Showdataof(A&);✖️✖️
Ritu Raj
showdataofA(A&);✔️✔️ Showdataof(A&);✖️✖️
Plz check this during sending my code I found this mistake
Ritu Raj
Even though it is not working after correcting it
Mykyta
Ok, now I have only one error
Mykyta
Well
Mykyta
Now I have this code:
Mykyta
#include<iostream> using namespace std; class B; class A { public: int aa; void setdata(int aa) { this->aa=aa; } friend void B::showdataof(A&); }; class B { int b; public: void showdataofA(A &a) { cout<<a.aa; } }; int main() { A obja;B objb; obja.setdata(5); objb.showdataofA(obja); }
Mykyta
Only one error: main.cpp:12:30: error: invalid use of incomplete type ‘class B’
Mykyta
Something wrong with (A&) in friend void B::showdataof(A&);
Ritu Raj
use friend void B::showdataofA(A&);
Ritu Raj
dont use friend void B::showdataof(A&);
Mykyta
Doesn't work
Ritu Raj
dont use friend void B::showdataof(A&);
here A is missing in the last letter
Ritu Raj
ya i know
Ritu Raj
it still doesnt work after correcting it
Rowan
Ritu Raj
where is @maxi?
Ritu Raj
@linuxer4fun
Ritu Raj
or any other respective admin😅😅😅
Anonymous
/hi