User profile: JoR

User info
User name:JoR
Number of posts:101
Latest posts:

Dynamic Arrays
dynamic allocation works with variable lengths: [code]int len; cin>>len; int* array=new int[len]; //...

Why you should NOT delete your posts after getting an answer.
[i]DON'T delete your posts after getting an answer. Just Don't![/i] Would have been sufficient but ...

The cls c you have as a parameter for the f-function is not the same as the one you declared in main...

operator overloading: sources disagree
[code]SocReg operator+ const (const SocReg &r);[/code] Should be correct.

shared libraries in C++
Two small additions: Don't use gcc if you want to compile or link a c++ program it won't link the c+...