自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (5)
  • 收藏
  • 关注

翻译 5.11 gethostname() ---- 我是谁?

5.11. gethostname() ---我是谁? 甚至比getpeername() 还简单的函数是 gethostname()。它返回你程序所运行的机器的主机名字。然后你可以使用 gethostbyname() 以获得你的机器的 IP 地址。   下面是定义:   #include <unistd.h> intgethostname(char *hostname, size_t size); 参数很简单:hostname是一个字符数组指针,它将在函数返回时保存 主机名。siz

2014-05-19 18:26:25 3554

原创 跟我学python(5)- 匹配数字

1. 程序要求 读取输入的字符串,是否是数字; 转换为浮点数并输出。 2. 所需方法 1)raw_input raw_input([prompt]) 2)re.match re.match(pattern, string, flags=0) 3)类型转换 (1)字符串转浮点 float(x) (2)数字转字符串 str(x) 3. 源代码 #coding=utf-8 ''' Created on 2019年1月3日 @author: xiaobin ''' import re '''

2014-05-09 01:02:02 3542

原创 跟我学python(3)--- 带shell功能的hello world

1. 引入模块 import os 2. 使用判断 if expression : statement1 else : statement2 3. 使用模块 1) 使用模块中的变量 os.name 2) 使用模块中方法 os.system() 4. code helloworld.py ''' Created on Dec 11, 2018 @author: xiaobin ''' import os ''' #! /usr/bin/perl $cmd="ls"; sy

2014-05-02 06:22:30 5999

原创 拖动效果(Gallery)

新建一View,清单如下: view_gallery.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="fill_parent" android:layout_heig

2014-05-01 01:48:45 3741

dokumen.pub_angular-development-with-typescript-2ndnbsped.epub

angular development with typescript, 2nd

2021-11-14

mylogs2005-my0501

此程序演示了使用TFileStream读取文件;以及相关Delphi组件的使用。 This program demonstrates the use of use TFileStream read the file; and related components for Delphi.

2013-05-12

Perl 学习笔记

小骆驼的学习笔记! 相信对大家有所帮助!

2012-02-26

Spring使用指南

Spring 2.5.2 使用说明(中文)

2010-04-30

iBatis2使用手册

iBatis SQL Maps Clinton Begin 著 刘涛 译

2010-04-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除