摘要:验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位小数的正实数:^[0-9]+(.[0-9]{1,3})?$ 验证非零的正整数:^\+?[1-9][0-9]*$ 验证非零的负...
阅读全文
摘要:#include "zlib.h" int _tmain(int argc, _TCHAR* argv[]) { //原始数据 const unsigned char strSrc[]="0.3266555f232662236 6523333"; unsigned char buf[1024]={0},strDst[1024]={0}; unsigned lon...
阅读全文
摘要:一般:www.boost.org图形库:AGG: http://www.antigrain.com/
阅读全文
摘要:精美图标:http://findicons.com/http://www.iplaysoft.com/iconfinder.html http://www.iplaysoft.com/findicons.html http://www.iconpng.com/http://www.ipc.me/14-free-phone-apps-icons.htmlhttp://www.iconarchive....
阅读全文
摘要:#include #include #include using namespace std; int main () { pair product1 ("tomatoes",3.25); pair product2; pair product3; product2.first = "lightbulbs"; // type of first is stri...
阅读全文