Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - vc get
Search - vc get - List
VC7.1中如果将char*作为key的话需要重载关于char*的hash_compare函数 可是我怎么都没法搞定 只好将char*转为int,反正指针地址总是唯一的,然后重载关于 int的hash_compare函数,使用时将char*强制转为int即可我想除了用STLPort外,应该还有更好的方法吧 -VC7.1 which will char* key as the need for heavy char* has h_compare function but I happen to get how they will char to int*, Anyway, the only indicator is the address, then heavy on the hash_compare int function, the use of char to int* will be compulsory I would like to use STLPort addition, there should be a better way to it
Date : 2025-12-31 Size : 1kb User : 夏志勋
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.