Results 1 to 1 of 1
Hi
I want to compile the 2001 version of HTDIG (libcommon) for lpr.
(version 3.2.0b3)
On the "htlib" directory on several "*.cpp" program, there is a strange parameter to procedure:
...
- 04-20-2007 #1Just Joined!
- Join Date
- May 2005
- Posts
- 22
Assignment Or Comparison In The Procedure Parameter
Hi
I want to compile the 2001 version of HTDIG (libcommon) for lpr.
(version 3.2.0b3)
On the "htlib" directory on several "*.cpp" program, there is a strange parameter to procedure:
name_of_procedure( char* parameter1 ....., int lastparameter = 0);
The "int lastparameter = 0" generate error.
What is the meaning of this "= 0"?
Is it comparison, assignment or others?
Is it possible to modify it to:
name_of_procedure( char* parameter1 ......, int lastparameter);
{
lastparameter=0;
..........
}
Thank you


Reply With Quote