在linux环境编译应用程式或lib的source code时常常会出现如下的错误讯息:/usr/bin/ld: cannot find -lxxx这些讯息会随着编译不同类型的source code 而有不同的结果出来如:/usr/bin/ld: cannot find -lc/usr/bin/ld...
分类:
其他好文 时间:
2014-08-05 18:18:29
阅读次数:
1095
一、安装Subclipse 安装Subclipse的最好方法是使用Eclipse Update Manager。在Eclipse 3.1中,它位于Help -> Software Updates -> Find and Install...菜单下。 选择搜索要安装的新功能部件,点击新建远程站点,弹出...
分类:
其他好文 时间:
2014-08-05 18:17:29
阅读次数:
181
今天写一个小程序的时候遇到了一个在一个长的字符串中提取有用信息的问题,在这个问题中我用到了find的相关函数和substr函数解决的,记录如下:#include#include #include using namespace std;int main(){ char name[40] = "...
分类:
编程语言 时间:
2014-08-05 18:16:49
阅读次数:
227
题目原文:
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of
S is 1000, and there exists one unique longest palindromic substring.
题意解析:
最长回文子串。就是...
分类:
其他好文 时间:
2014-08-05 15:56:59
阅读次数:
290
Data Structures
1. Integer
– find number of 1s
– next largest smaller
– smallest larger number
– determine if is palindrom
– itoa, atoi
– add 2 numbers w/...
分类:
其他好文 时间:
2014-08-05 15:50:40
阅读次数:
408
find.-name"*.cpp"|sed-e‘s/\(.*\).cpp$/mv&\1.mm/e‘
分类:
其他好文 时间:
2014-08-05 14:27:30
阅读次数:
176
Graph Coloring You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the graph and t...
分类:
其他好文 时间:
2014-08-05 13:31:49
阅读次数:
215
Prime Palindrome GolfDo you know how to play Prime Palindrome Golf? You are given a number and your challenge is to find the closest palindromic prime...
分类:
其他好文 时间:
2014-08-05 13:24:49
阅读次数:
274
Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. You m...
分类:
其他好文 时间:
2014-08-05 11:07:09
阅读次数:
187
How to find friends思路简单,编码不易 1 def check_connection(network, first, second): 2 link_dictionary = dict() 3 4 for link in network: 5 dr...
分类:
其他好文 时间:
2014-08-05 11:02:19
阅读次数:
245