New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
While prototyping friend functions in a class is it necessary to always pass the address of the object as parameter?If so why is it that we have to pass address as parameter..In programs involving compositions we never used addresses...Why is the need for address of the objects while using friend?
4 Votes
1 AnswerI want knowledge
0 Votes
6 Answerswhere they declared obj?
0 Votes
4 Answershow do I make java app
0 Votes
9 AnswersNeed Help with my class
0 Votes
5 AnswersHow should I use classes
0 Votes
1 AnswerThe code shown below in the description runs here when I try it, but when I wrote it on code blocks it gave me 5 errors..
1. expected imitializer before '<' token. (line 19).
2. reference to 'pair' is ambiguous. (line 26).
3. expected primary-expression before double. (line 26).
4. expected ';' before 'double'. (line 26).
5. 'obj' was not declared in this scope. (line 27).
Any help please?
0 Votes
5 AnswersWhat does the class mean?
0 Votes
2 AnswersHot today
Help with c++ code
1 Votes
Dynamic library lib file
0 Votes
Does everyone get this for free?
4 Votes
[Solved] What will happen if we don't delete an array created by using Dynamic Memory in C++?
1 Votes
HTML5 canvas
1 Votes
Jobs
3 Votes
Help me
0 Votes