*** test program for CConstStr class
init without parameters
str="Hello", docopy=1 dofree=1 
setPtr: Hello copy: 1 free: 1
str="duplicated string", docopy=0 dofree=1 
setPtr: duplicated string copy: 0 free: 1
length : 0
size : 1
length : 5
size : 6
length : 17
size : 18
setPtr: reseted string copy: 1 free: 1
setPtr: "reseted string"
length : 14
size : 15
setPtr: "hello" (length 5) 
length : 5
size : 6
more duplicated string
duplicate
compare function
setPtr: Hello, World copy: 0 free: 0
comparing w/o case "Hello, World" and "HELLO, EVERYBODY" => 1
length : 12
comparing w case "Hello, World" (12) and "HELLO, EVERYBODY" (5) => 32
comparing w/o case "Hello, World" and "HELLO, EVERYBODY" => 18
length : 12
comparing w/o case "Hello, World" (12) and "HELLO, EVERYBODY" (5) => 0
hash key
hash key value: 3789126028
hash key value: 69609650
hash key value: 2542166360
print stream
Hello, World
dealloc
dealloc
dealloc
bye.
