¡@

Home 

c++ Programming Glossary: myclass2

C++ Constructor [duplicate]

http://stackoverflow.com/questions/6724626/c-constructor

List MyClass int a int b int c i a j b k c class MyClass2 public MyClass public int p int q MyClass2 int x int y int z.. j b k c class MyClass2 public MyClass public int p int q MyClass2 int x int y int z int l int m MyClass x y z p l q m int main.. x 10 int y 20 int z 30 MyClass obj x y z int l 40 int m 50 MyClass2 obj2 x y z l m return 0 MyClass2 doesn't have a default constructor..