在线笔记
全部博文(596)
发布时间:2013-07-05 09:53:15
Drawing With A Color使用颜色绘图After we have allocated the desired colors, we can use them when drawing text or graphics. To do that, we need to set these colors as the foreground and background colors of some GC (Graphics Context), and then use this GC to make the drawing. This is done using .........【阅读全文】
发布时间:2013-06-20 14:52:53
switch ( ret ){ case 0: int val = 0; break; case 1: &n.........【阅读全文】
发布时间:2013-06-20 14:50:38
原因分析:1.系统资源不足,程序被OS干掉$ cat /var/log/message$ dmesg看到如下信息:kernel: Out of memory: kill process 6338 (gdb) score 191002 or a childkernel: Killed process 6340 (Record)=》断定程序占用过多内存......【阅读全文】