S
softdeveloper007
Hi,
I am stuck here and need some inputs. To cut it short and simple:
void func1( )
{
int* p1, p2;
....
func2 (p1, p2);
...
}
void func2 (int*& pt1, int*& pt2)
{
}
I got: "error LNK2001: unresolved external symbol...fatal error
LNK1120: 1 unresolved externals"
but problem is gone by simply changing it to ptr to ptr:
void func1( )
{
int* p1, p2;
....
func2 (&p1, &p2);
...
}
void func2 (int** pt1, int** pt2)
{
}
compiler: visual studio6.0.
Any pointer, please? thanks!
I am stuck here and need some inputs. To cut it short and simple:
void func1( )
{
int* p1, p2;
....
func2 (p1, p2);
...
}
void func2 (int*& pt1, int*& pt2)
{
}
I got: "error LNK2001: unresolved external symbol...fatal error
LNK1120: 1 unresolved externals"
but problem is gone by simply changing it to ptr to ptr:
void func1( )
{
int* p1, p2;
....
func2 (&p1, &p2);
...
}
void func2 (int** pt1, int** pt2)
{
}
compiler: visual studio6.0.
Any pointer, please? thanks!