在MAC 寫程式 或是要比對文件所需的compare tool
找了很久 找到了一套免費的
DiffMerge
http://www.sourcegear.com/diffmerge/index.html
可以取代Win/Linux 上的 Beyond compare...(<--為啥你不出MAC版的)
推薦給您
A pointer to a buffer that receives the computer name or the cluster virtual server name. The buffer size should be large enough to contain MAX_COMPUTERNAME_LENGTH + 1 characters.
On input, specifies the size of the buffer, in TCHARs. On output, the number of TCHARs copied to the destination buffer, not including the terminating null character.
If the buffer is too small, the function fails and GetLastError returns ERROR_BUFFER_OVERFLOW. The lpnSize parameter specifies the size of the buffer required, not including the terminating null character.
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
就這樣 滿足了老闆的要求