No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
I've done an example of 'template specialization'. Here is the code: [code] // template specialization #include <iostream> using namespace std; // class template: template <class T> class mycontainer { private: T element; public: // only prototype mycontainer (T); T increase (); }; // class method definition template <class T> mycontainer<T> … | |
Hi all, I have an assignment about analysing the Distributed Information System for a typical International Shipping Company such as Hapag-Lloyd, Sally Line UK etc. The assignment mentioned about some objects such as Ship, Container, Consignment, Port, Voyage, Client, Representative, Contract, Manifest log, also about Crane system, Crane controller, Cranes … | |
As I see in some code having something like "[b]ClassName[u]&[/u][/b]". For example: [code] // this demo // check if a parameter passed to a member function is the object itself #include <iostream> using namespace std; class CDummy { public : int isitme ([b]CDummy[u]&[/u] param[/b]); }; int CDummy :: isitme ([b]CDummy[u]&[/u] … | |
I read this code section from a tutorial, but I cannot understand it thoroughly. It is about Pointer & Class Pointer & Array Pointer. This is it: [code] // pointer to classes example #include <iostream> using namespace std; class CRectangle { private: int width, height; public: // prototype void set_values … | |
I'm a java developer. Recently, at university, I have been assigned a task about network programming with C++. The specification is about create a distributed application (with a server and many clients). If they allow to use RMI in Java or .NET Remoting with C#, it's easy for me, because … |
The End.