Can any guru take a look of it?
:(
Type: Posts; User: xstone
Can any guru take a look of it?
:(
I don't know. I don't think it is any syntax error here. Or it is not the reason for compilation failure. I doubt if I need to overload operator new function in Mkey struct. Can anyone verify this?...
I could not compile the following code in window VC++. There are some syntax errors like:
syntax error : missing ';' before '<' on line 17,
However on UNIX, I think I can compile line 17, but I...
In B shell's .profile, I set up as following:
function mycd
{
if 'cd' "$@"
then
PS1="`uname -n`:`pwd` $ "
fi
}
The strerror library function definition is :
char *strerror (int errnum)
It will map the integer errnum argument (which can be the errno value) to an error rmessage and return a pointer to the...
Zen, if my understanding is correct, you are saying the following code is correct with better performance? Can u verify?
class Base
{
public:
Base();
protected:
int m_data1;
private:...
I think here I am trying to initilize m_data1 to 10, not 0. So it still need to assign value. Also, not sure why structure object could be use assignment initilization.
BTW, any body knows the...
Here is the code:
class Base
{
public:
Base();
protected:
int m_data1;
private:
int m_data2;