User profile: TwilightSpectre

User info
User name:TwilightSpectre
Old user name:NT3
Location:Australia, Sydney, NSW
Bio:A programmer guy. Enjoy's randomly reading things, writing things, solving things, making problems, and all manner of various shenanigans.
Statistical data
Gender:Male
Occupation:Programmer
Skills:C
BASIC
PHP
C++
Visual Basic
Perl
C++/MFC
Pascal
Delphi
Assembly
Java
Javascript
Python
INTERCAL
Piet
Haskell
History
Joined:
Number of posts:1268
Latest posts:

can I convert a class to int in c++?
Yes. Use [tt]operator int()[/tt]. For example: [code] class UserInt { public: UserInt(int i) : m...

array - copied or not copied
I'm slightly confused by your question. Does this help? Are you talking about copying the array elem...

Problem with C vectors of class 'Team'
When you use [tt]std::cin::operator>>[/tt], you leave the newline at the end of the buffer. That mea...

Passing Objects from one Class to another
... that's still not very clear. Do you mean something like this? [code] class A { public: ...

classes
A few things. - line 33 does nothing; your member variable is hidden by the parameter. Either rena...