摘要:Ubuntu linux下安装sqlite31.介绍:sqlite3是linux上的小巧的数据库,一个文件就是一个数据库。2.安装:要安装sqlite3,可以在终端提示符后运行下列命令:sudo apt-get install sqlite3检查版本sqlite3 -version3.测试当前目录下建立test.db测试数据库文件sqlite3 test.db查询信息.database退出.exit4.图形界面可以选择sqlitebrowser程式(qt3)sudo apt-get install sqlitebrowser启动图形界面可以在终端提示符后输入sqlitebrowser5.编程P 阅读全文
写给想当程序员的朋友
2012-03-14 04:11 by javaspring, 227 阅读, 0 推荐, 收藏, 编辑
摘要:谨以此文献给所有想当程序员的朋友 (一)文章由来及个人经历 我是一名计算机专业的本科毕业生,毕业已经1年多了。毕业后从事的是软件编程工作,经常有其他专业的朋友想从事软件编程工作,向我请教如何,因为我自觉涉行不深,不敢信口开河,无奈朋友信任,我不得不郑重考虑一下这个问题了,来帮助朋友选择和回报朋友的信任。 这也就是此文的由来。 还是先谈谈我个人的经历吧。(是不是有点俗套,但我觉得了解我的经历,有助于理解我话的含义;我一向认为不了解古龙的生活经历的,不会真正读懂古龙的作品和古龙笔下的英雄的)我本科就读于南方一所著名的高校(因为自己的不成气,愧谈母校名谓),学... 阅读全文
学计算机的都是一群疯子!!!!
2012-03-14 03:59 by javaspring, 174 阅读, 0 推荐, 收藏, 编辑
摘要:学计算机的你们伤不起啊!!!!!!!你们学得都是人说的语言啊!!!!!!好歹有点腔调肢体环境神马的做参考!!!!!哥学得是计算机语言啊!!!!!!计算机不会跟你点头yes摇头no啊!!!!!它就会报一堆不知所云的错误啊!!!!有木有!!!!有时候啥都不报,直接崩溃啊!!!有木有!!!法语德语数字难念!!!!!你随便找本算法书啊!!!!!厚的跟《康熙字典》一样啊!!!!有木有!!!!!各种堆!!!栈!!!树!!!!图!!!!说到树就泪目啊!!!!光树就分生成树!!最小生成树!!有向树!!非平凡有向树!!二叉树!!平凡二叉树!!平衡二叉树!!完全二叉树!!完全正则二叉树!!哈夫曼树!!晕了没?还要 阅读全文
poj-3349 Snowflake Snow Snowflakes
2012-03-14 02:31 by javaspring, 199 阅读, 0 推荐, 收藏, 编辑
摘要:Snowflake Snow SnowflakesTime Limit:4000MSMemory Limit:65536KTotal Submissions:20831Accepted:5445DescriptionYou may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collection of snowflak 阅读全文
poj-2002 Squares
2012-03-14 02:29 by javaspring, 169 阅读, 0 推荐, 收藏, 编辑
摘要:SquaresTime Limit:3500MSMemory Limit:65536KTotal Submissions:11102Accepted:4021DescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a polygon such that rotating about its centre by 90 degrees gives the same polygon. It is not the 阅读全文
poj-2503 Babelfish
2012-03-14 02:28 by javaspring, 161 阅读, 0 推荐, 收藏, 编辑
摘要:BabelfishTime Limit:3000MSMemory Limit:65536KTotal Submissions:22593Accepted:9698DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.InputInput consists of 阅读全文
poj-3273 Monthly Expense
2012-03-14 02:26 by javaspring, 176 阅读, 0 推荐, 收藏, 编辑
摘要:Monthly ExpenseTime Limit:2000MSMemory Limit:65536KTotal Submissions:7707Accepted:3180DescriptionFarmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤moneyi≤ 10,000) that he wil 阅读全文
poj-3258 River Hopscotch
2012-03-14 02:23 by javaspring, 198 阅读, 0 推荐, 收藏, 编辑
摘要:River HopscotchTime Limit:2000MSMemory Limit:65536KTotal Submissions:3659Accepted:1587DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight river with a rock 阅读全文
poj-1905 Expanding Rods
2012-03-14 02:20 by javaspring, 215 阅读, 0 推荐, 收藏, 编辑
摘要:DescriptionWhen a thin rod of length L is heated n degrees, it expands to a new length L'=(1+n*C)*L, where C is the coefficient of heat expansion.When a thin rod is mounted on two solid walls and then heated, it expands and takes the shape of a circular segment, the original rod being the chord 阅读全文
POJ-3122 Pie
2012-03-14 02:18 by javaspring, 175 阅读, 0 推荐, 收藏, 编辑
摘要:J -PieTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my party and each 阅读全文