摘要: 长春医疗 生育 工伤保险http://www.ccyb.gov.cn/养老 失业保险http://www.ccshbx.org.cn/住房公积金http://www.cczfgjj.gov.cn/ 阅读全文
posted @ 2014-01-10 10:19 galoishelley 阅读(166) 评论(0) 推荐(0)
摘要: %d 有符号10进制整数 %ld 长整型 %hd短整型%md,m指定的是输出字段的宽度,默认左补空格, 如果数据的位数小于m,则左端补以空格,若大于m,则 按实际位数输出,如: printf("%4d,%4d",a,b) 若a=123,d=12345,则输出的结果为: 空格123,12345-%md指定的是输出字段的宽度,右补空格,如果数据的位数小于m,则右端补以空格,若大于m,则 按实际位数输出,另外, 若想在输出值前加一些0, 就应在场宽项前加个0。 例如: %04d 表示在输出一个小于4位的数值时, 将在前面补0使其总宽度 为4位。%hu 无符号短整形 %u无符号整形 阅读全文
posted @ 2014-01-09 16:01 galoishelley 阅读(7028) 评论(0) 推荐(1)
摘要: 如果以下函数,您在使用的时候,总是输出一个莫名的值,是因为您忘记了引用头文件#include 1- atoiint atoi(const char *nptr);把字符串转换成整型数。ASCII to integer 的缩写。#include void funcAtoi(char *str){ float n; n = atoi(str); printf("str = %s, n = %f\n", str, n);}int main(){ char *str1 = "1234.567"; char *str2 = "你好"; func 阅读全文
posted @ 2014-01-09 15:43 galoishelley 阅读(508) 评论(0) 推荐(0)
摘要: 有没有win32编程因为打印变量调试程序而头疼呢.方法二的函数完全类似printf.非常完美.方法一:不带参数输出如printf("hello world");OutputDebugString("debug"); 1 case WM_COMMAND: 2 wmId = LOWORD(wParam); 3 wmEvent = HIWORD(wParam); 4 // Parse the menu selections: 5 switch (wmId) 6 { 7 case IDS_BTN1: 8 OutputDebugString("1&quo 阅读全文
posted @ 2014-01-08 14:57 galoishelley 阅读(2130) 评论(0) 推荐(0)
摘要: 今天在Linux 下使用 Iconv 命令转换一个UTF8文件时,总是转换不成功。提示:iconv: 未知 0 处的非法输入序列后来使用 man iconv 查看,还是没发现异常,因为命令格式都是正确的。后来找了许多资料才知道原因,如下:a. 在做编码转换的时候,如果你的源格式设定为 GB2312 的话,而且在转换成 UTF-8 的时候,发现程序会报“illegal input sequence at position xxxx”的错误。这是由于你之前的做的假定有问题。GB2312是国标里面一个最小也是最早的中文编码标准。其中,只涵盖了 6,763 个汉字。所以你需要转换的文件的原始的格式可能 阅读全文
posted @ 2014-01-04 13:45 galoishelley 阅读(2320) 评论(0) 推荐(0)
摘要: Q:clear listboxhi i am working in VC++ 6 using Win32 App. .............tell me how to clear the listboxRe: clear listboxSend the listbox a LB_RESETCONTENT message. Code: SendMessage(handleListbox, LB_RESETCONTENT, 0, 0);reference:http://forums.codeguru.com/showthread.php?447176-clear-listbox&p=1 阅读全文
posted @ 2014-01-02 10:30 galoishelley 阅读(760) 评论(0) 推荐(0)
摘要: 步骤一:首先根据您iOS设备型号,下载最新的iOS 6固件,您可以进入苹果官网下载,也可以以下网址下载。http://sj.zol.com.cn/ios613/ 阅读全文
posted @ 2013-12-15 17:44 galoishelley 阅读(245) 评论(0) 推荐(0)
摘要: MAC OSX 10.9:sudo port -v install mercurialoreasy_install mercurial 阅读全文
posted @ 2013-12-10 14:44 galoishelley 阅读(328) 评论(0) 推荐(0)
摘要: GUI:microwindows-0.89pre8+nona-Xyou aresuccessfulcompiling, run nano-X,below is information:~/microwindows-0.89pre8/src/bin$ ./nano-XCannot bind to named socketresolve:Onethingthatwillcausethiserrorerroristheinabilitytocreate(ordelete)thenamedsocket"/tmp/.nano-X".Youmayhaveproblemswiththis 阅读全文
posted @ 2013-12-10 10:49 galoishelley 阅读(242) 评论(0) 推荐(0)
摘要: ifconfig lo0 alias 172.16.123.1will add an alias IP 172.16.123.1 to the loopback adaptersudo ifconfig en1 alias 172.16.123.1ifconfig lo0 -alias 172.16.123.1will remove itsudo ifconfig en1 -alias 172.16.123.1Reference:http://stackoverflow.com/questions/87442/virtual-network-interface-in-mac-os-x 阅读全文
posted @ 2013-12-09 16:48 galoishelley 阅读(277) 评论(0) 推荐(0)