F&A Diskussionen
Python func res
-2 Stimmen
1 Antwortwhat does res mean in python?
4 Stimmen
7 AntwortenWhy res = [0:5:-1] dont work?
0 Stimmen
5 AntwortenWhat is mean by res in python?
0 Stimmen
3 AntwortenShould I continue ?
1 Stimme
2 Antwortencan anyone plz explain me this program step by step?#include <iostream>
using namespace std;
class MyClass {
public:
int var;
MyClass() { }
MyClass(int a)
: var(a) { }
MyClass operator+(MyClass &obj) {
MyClass res;
res.var= this->var+obj.var;
return res;
}
};
int main() {
MyClass obj1(12), obj2(55);
MyClass res = obj1+obj2;
cout << res.var;
}I am not getting the part inside operator+
0 Stimmen
8 Antwortenexplanation plzzzz!!!
0 Stimmen
2 AntwortenHeute heiß
How to make a game code
1 Votes
What is HelloWorld
1 Votes
Missing]
0 Votes
Tic tak toe
1 Votes
Lesson on Robotics
1 Votes
Inner .html
0 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
About this app
1 Votes
Hyperlink and tests
0 Votes