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 allow one instance of exe
2 Votes
Python
1 Votes
Theater management help me
2 Votes
What has happened?
1 Votes
What should I add/improve ?
1 Votes
Tools for web design?
1 Votes