Here is a simple example program which demonstrates what I want to asking for:
class A {
public:
int writemem(FilInfo* file, IN BYTE* mem, IN DWORD memSize, BYTE obfs=0, BOOL bEnc=TRUE);
};
void main() {
...
(this->writemem(file, mem, memSize), obfs); // does not print compilation error!
...
}
How is the above code compilable? Compiling the above program was successful although it does not work what I intended. I am working on Windows 8.1 with VisualStudio SDK 7.1.