芭樂永生

2010年6月20日 星期日

目前各 VS 最新版號

Microsoft Visual Studio 2005 SP1
FileNameVersionKB
c1.dll14.00.50727.4963KB980422
c1ast.dll14.00.50727.1839KB955514
c1xx.dll14.00.50727.4963KB980422
c1xxast.dll14.00.50727.1839KB955514
c2.dll14.00.50727.4963KB980422
cl.exe14.00.50727.762
clui.dll14.00.50727.762
link.exe14.00.50727.4963KB980422
pgodb80.dll14.00.50727.4963KB980422
pgort80.dll14.00.50727.4963KB980422

Microsoft Visual Studio 2008 SP1
FileNameVersionKB
c1.dll15.00.30729.4987KB980263
c1ast.dll15.00.30729.4455KB976656
c1xx.dll15.00.30729.4987KB980263
c1xxast.dll15.00.30729.4987KB980263
c2.dll15.00.30729.5022KB981077
cl.exe15.00.30729.4056KB967211
clui.dll15.00.30729.4056KB967211
link.exe15.00.30729.5022KB981077

標籤:

2010年6月6日 星期日

free (NULL) & delete NULL

7.20.3.2 The free function
Synopsis
1 #include
void free(void *ptr);
Description
2 The free function causes the space pointed to by ptr to be deallocated, that is, made
available for further allocation. If ptr is a null pointer, no action occurs. Otherwise, if
the argument does not match a pointer earlier returned by the calloc, malloc, or
realloc function, or if the space has been deallocated by a call to free or realloc,
the behavior is undefined.
Returns
3 The free function returns no value.
ISO/IEC 9899:1999 (E)

5.3.5 Delete
If the operand has a class type, the operand is converted to a pointer type by calling the above-mentioned conversion function, and the converted operand is used in place of the original operand for the remainder of this section. In either alternative, if the value of the operand of delete is the null pointer the operation has no effect.
ISO/IEC 14882