摘要: 方法一: WinExec( "notepad.exe,SW_SHOW "); 方法二: ShellExecute(NULL, "open ", "notepad.exe ",NULL,NULL,SW_SHOWMAXIMIZED) 方法三: STARTUPINFO si; ::ZeroMemory(& 阅读全文
posted @ 2011-08-30 18:43 hongweigg 阅读(18) 评论(0) 推荐(0)
摘要: 时间函数 #include <time.h> #include <stdio.h> int main( void ) { time_t t = time( 0 ); char tmp[64]; strftime( tmp, sizeof(tmp), "%Y/%m/%d %X %A 本年第%j天 %z 阅读全文
posted @ 2011-08-30 14:57 hongweigg 阅读(92) 评论(0) 推荐(0)
摘要: removeChild 用于父节点除去子节点(父节点对象调用) removeNode 用于除去某个节点 (被除去节点调用) 阅读全文
posted @ 2011-08-30 09:56 hongweigg 阅读(51) 评论(0) 推荐(0)