![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 54
hniyani
爱程序,爱生活
展开
-
sh写的CD管理器
<br />很简单的一个例子,仅供学习之用,嘿嘿。<br />#!/bin/bash#版权信息声明# Very simple example shell script for managing a CD collection.# Copyright (C) 2011 Xing Zhao Hunau.# This program is free software; you can redistribute it and/or modify it# under the terms o原创 2011-05-31 19:35:00 · 1076 阅读 · 0 评论 -
c语言 目录浏览器
<br />输入要浏览的目录 程序会输出该目录下的所有子目录和所有文件<br />/* * 一个简单的目录浏览器 */#include <unistd.h>#include <stdio.h>#include <dirent.h>#include <string.h>#include <sys/stat.h>#include <stdlib.h>void printdir(char *dir, int depth) { DIR *dp; struct dire原创 2011-06-01 19:53:00 · 1426 阅读 · 0 评论 -
VirtualBox 4.0.12 安装Ubuntu 分配数据空间
今天在装VirtualBox的时候,提示有新的版本4.0.12可以使用了,按照我的一贯习惯,马上就下载了下来,进行了安装。装完之后就发生了一个悲剧,按照以前的办法安装完增强功能之后,接着挂载分配的数据空间,可是却通不过,提示invalid argument,这让我很抓狂,因为这个原创 2011-08-26 10:13:53 · 2082 阅读 · 0 评论 -
linux 下QtCreator 不能调试
我用的是ubuntu linux操作系统,现象是qt creator 一启动调试,就提示"you can't do that without a process to debug"。就这个问题困扰我好久了,网上的解答大多是把程序设置成debug模式,但是我的程序默认就是debug转载 2011-09-29 09:09:15 · 7502 阅读 · 2 评论 -
Linux开发中GSM 中文短信 SMS PDU编码原理及实现
SMS是由Esti 所制定的一个规范(GSM 03.40 和 GSM 03.38)。有两种方式来发送和接收SMS消息:文本模式或者PDU(protocol description unit)模式。文本模式只能发送普通的ASCII字符,而要发送图片、铃声、其它编码的字符(如中文)就必须采用PDU模式。PDU模式中,可以采用三种编码方式来编码要发送的内容,分别是 7-bit编码、8-bit编码转载 2012-01-18 16:26:44 · 1864 阅读 · 0 评论