meaning - "Do not ... and ..." grammar confusion
I recently read this sentence:
Do not declare this callback function with a void return type and cast the function pointer to LPTHREAD_START_ROUTINE when creating the thread.
and wasn't sure if it was ambiguous or not. Which of these are correct interpretations:
- do not declare this callback function with a void return type
- do not cast the function pointer to LPTHREAD_START_ROUTINE when creating the thread
- do cast the function pointer to LPTHREAD_START_ROUTINE when creating the thread
Edit: I found some example code, seems like (1) and (3) is the intended interpretation.
Comments
Post a Comment