Hi,
This is a code snippet of a class:
1 2 3 4 5 6
|
class ns1__alumno
{
public:
LONG64* id;
//etc....
}
|
And in my main program something like this:
|
ns1__alumno* test = //value of another ns1__alumno
|
If I write:
|
std::cout <<"Id: "<<test->id<<std::endl;
|
the output value is 0x3e41d8 and must be 0.
How can I print the long64 value?
Thanks in advance
Last edited on
std::cout << "Id: " << *(test->id) << std::endl ;
Awesome!!
Thanks cire!
Best regards.