I have the following code:
class myClass
{
struct Points
{
int x;
int y;
};
}
In a member function I have:
myClass::memberFunction()
{
int startRow;
int startColumn;
myClass:
oints.x = startRow;
myClass:
oints.y = startColumn;
}
When I try to compile, I receive:
In method `struct myClass:
oints myClass::Maze(char *)':
syntax error before `.'
syntax error before `.'
syntax error before `;'
using g++ version 3.1. Any ideas of what I am doing wrong?
Thanks in advance,
Corey
class myClass
{
struct Points
{
int x;
int y;
};
}
In a member function I have:
myClass::memberFunction()
{
int startRow;
int startColumn;
myClass:
myClass:
}
When I try to compile, I receive:
In method `struct myClass:
syntax error before `.'
syntax error before `.'
syntax error before `;'
using g++ version 3.1. Any ideas of what I am doing wrong?
Thanks in advance,
Corey