Quote:
is there an equivilent of interfaces in c++?
Hmm... COM interfaces are interfaces. I don't really know Java so I don't know what interfaces it has.
Quote:
how do you extend classes?
Put a ':' after the class. Example:
class Car : Vehicle
{
long cDoors;
}
Quote:
how do you extend more than one class?
??
Quote:
how do you use null?
NULL is the same as 0. It is often used to initialize pointers.
Quote:
how do you return a pointer?
From a function:
char* func()
{
char* pointer;
return pointer;
}
returns a char pointer.
Quote:
is there any way of using references instead?
Returning references:
char& func()
{
char c = new char;
return c;
}
Although I don't think references works the same in C++ as in Java. Correct me if I'm wrong.
Quote:
is memory allocation (malloc?) critical to learn (am i going to kill my computer if i dont learn to use it?)?
It is important but it's really easy also. Using the 'new' and 'delete' are faster than malloc. It's just simple:
char* pointer = new char[1000];
delete pointer;
Quote:
what collections (preferably linked lists) are available or do I have to make my own?
There are vectors, etc. but I would do my own. Preferably, I would do template classes for linked lists.