![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Location: Portugal
Posts: 53
Rep Power: 3
![]() |
String argument
I have this class 'CMatrix':
class CMatrix
{
CVector *matrix;
unsigned lin, col;
string m_sNome;
public:
CMatrix( string&, unsigned, unsigned );
~CMatrix();
};And I want to pass a string to the constructor... but my compiler says "string cannot start a parameter declaration"... What's wrong? Thanks in advance ![]() |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|