一、安装tkinter在Linux中python默认是不安装Tkinter模块,[root@li250-193 ~]# pythonPython 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC 4.4.7 20120313 (Red Hat 4.4.7-...
分类:
编程语言 时间:
2014-06-21 08:57:04
阅读次数:
284
先Download,然后#tarzxvfarm-linux-gcc-3.4.1.tar.bz2就可以。特别注意tar xvfj arm-linux-gcc-3.4.1.tar.bz2 -C /要这么写=============================问题:在/home/usr1目录下,想要打...
分类:
其他好文 时间:
2014-06-21 08:40:58
阅读次数:
206
我的第一个makefile最近学到了makefile的文件的编写。makefile是一个能达到方便编译链接生成目标程序的文件,make确实很方便,在写makefile的过程也能更好的理解gcc编译器执行生成可执行文件的全过程。这里是我的第一个makefile的编写。makefile根据依赖,逐步解析...
分类:
系统相关 时间:
2014-06-21 07:10:03
阅读次数:
276
题目:Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary ...
分类:
其他好文 时间:
2014-06-21 07:03:28
阅读次数:
249
Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3].Not...
分类:
其他好文 时间:
2014-06-21 06:40:07
阅读次数:
172
题目:Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order, convert it to a height balanced BST.个人思路:1、选...
分类:
其他好文 时间:
2014-06-21 06:37:00
阅读次数:
183
Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[3,2,1].No...
分类:
其他好文 时间:
2014-06-21 06:31:43
阅读次数:
265
注意,这里面的sleep()函数,如果在windows环境下,就是Sleep(),如果是linux是sleep(),主要在于是使用gcc,还是vs的编译器。#include #include #include #include void put_date(void){time_t current;s...
分类:
其他好文 时间:
2014-06-21 00:55:34
阅读次数:
295
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.说明:平衡二叉搜索树,即任何结点的左子树和右子树高度最多相差1的二叉搜索树。二叉搜索树:二叉查找树(Bin...
分类:
其他好文 时间:
2014-06-21 00:47:08
阅读次数:
221
arm-linux-gnueabi-arm-linux-gnueabi-gcc 未找到lichee/linux-3.3/modules/eurasia_km/eurasiacon/build/linux2/sunxi_android/Makefile原因:CC 应为空,但是上层Makefile中已经...
分类:
其他好文 时间:
2014-06-20 21:11:03
阅读次数:
209