Life of Inches

anthonychan的博客大巴空间
  • Java GUI中的各种layout

    日期:2009-05-28 | 分类:C/C++/Java

    Java GUI 中有些多种layout,分别是:

    1)Flow Layout
    2)Border Layout
    3)Grid Layout
    ...

    Tags:Layout Java GUI 排列
    小贱妇 发表于16:09:44 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 关于Radiobutton的值获取和排列问题

    日期:2009-05-12 | 分类:C#

    首先关于值获取,需要先在Radiobutton的属性中定义一下每一个项的index值,然后在函数中就可以直接获取SelectedIndex。

    再次关于Radiobutton的排列,不能在designer里改,必须在属性里改,有个Vertical/Horizontal的属性。

    Tags:C# Radiobutton 值 排列
    小贱妇 发表于20:14:28 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 如何判断字符串是否为数字

    日期:2009-05-11 | 分类:C#

    我这个函数是用C#写的,定的规则是:不能有负号,可以有小数点。 private bool isNumber(string str) { char[] chr = new char[str.Length]; chr = str.ToCharArray(); bool allowPoint = true; for (int i = 0; i < chr.Length; i++) { ...

    Tags:C# 字符串 数字 判断
    小贱妇 发表于19:59:59 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • VS2005 the application failed to initialize properly (0xc0150004)的解决方法

    日期:2009-04-21 | 分类:C/C++/Java

    通常需要重新装一遍vs的sp1。(在装的过程中很可能遇到磁盘空间不够,没办法,必须先腾出空间。其实它不需要占用那么多,只是拿来做临时空间)

    再不行的话装个redistribute。

    博客http://hi.baidu.com/qinpc/blog/item/7700bb316c08b4ad5edf0ef7.html说还不行的话“在C:\WINDOWS\WinSxS中搜索 “8.0.50727.163” 和 &ld...

    Tags:VS 初始化 正常 0xc0150004
    小贱妇 发表于22:10:40 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • VS使用者的Qt的初始化系统配置

    日期:2009-04-16 | 分类:C/C++/Java

    首先要把Qt的文件夹拷贝到某个位置,let's say,C:\Qt\4.4.4\...

    然后需要设三个系统变量:

    1、在用户变量里的Path里加上C:\Qt\4.4.4\bin\

    2、在用户变量里新建QTDIR,为C:\Qt\4.4.4

    3、在用户变量里新建QMAKESPEC,为(如果你用VS2005)win32-msvc2005

    最好再装个VS的插件,如qt-vs-ad...
    Tags:Qt 初始 配置 VS2005
    小贱妇 发表于11:32:41 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 如何设置VS2005的字体、颜色和背景颜色

    日期:2009-04-03 | 分类:C/C++/Java

    中英对照:

    工具-->选项-->环境-->字体和颜色

    Tools-->Options-->Environment-->Fonts and Color

    Tags:VS2005 字体 颜色 背景
    小贱妇 发表于20:42:25 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 解决耳塞杂音噪音问题

    日期:2009-02-26 | 分类:I Am A Geek~

    给实验室电脑接了新的耳机延长线,发现还是有噪音,通过以下方法解决了,不一定适用。

    双击声音图标,打开声音属性控制,里面有个“线路输入音量”,将其设为静音。

    搞定。

    Tags:计算机 耳机 噪音 杂音
    小贱妇 发表于18:01:41 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 如何让VS2005显示行号

    日期:2009-02-25 | 分类:C/C++/Java

    感谢以下链接:

    http://www.cnblogs.com/fishert/archive/2007/04/28/731585.html

    工具(Tools)-->选项(Options)-->文本编辑器(Text Editor)-->所有语言(All Languages)-->显示(Display)-->显示行号(Line numbers)

    搞定。

    Tags:C++ VS2005 行号 显示
    小贱妇 发表于18:13:43 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • MSVCP80D.dll not found的解决方法

    日期:2009-02-17 | 分类:C/C++/Java

    感谢以下链接,但窃以为治标不治本: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/60fe1672-9db6-4411-8bd4-62f2d21201c7/ 在Project->Project Properties->Configuration Properties->Mainfest Tool->Input and Output->Embed Manifest 中把'YES'...
    Tags:VS2005 dll 未找到 MSVCP80D
    小贱妇 发表于22:12:16 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 解决Error spawning 'cmd.exe'的问题

    日期:2009-02-16 | 分类:C/C++/Java

    http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/adc6e067-60a4-4914-9673-571b047d9376/

    感谢以上链接。解决方法:

    Options -> Projects and Solutions -> VC++ Directories page

    在Executable中添加

    ...

    Tags:C++ VS2005 cmd.exe spawning
    小贱妇 发表于18:02:33 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 如何快速便捷地建立Qt工程

    日期:2009-02-13 | 分类:C/C++/Java

    假设你已经把Qt装好了……

    1、建立你的工程所在的文件夹;

    2、加入(如果有的话).h文件和.cpp文件(至少用记事本建个main嘛);

    3、打开cmd,进入该文件夹(就是该目录)

    4、输入命令:qmake -project

    5、输入命令:qmake -tp vc

    搞定。(看看文件夹里是不是多了东西)

    Tags:Qt 工程 C++ Coding
    小贱妇 发表于20:52:21 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • The Mathematics of Communication Complexity

    日期:2009-01-30 | 分类:ITCSC Winter School 2009

    <!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;...

    Tags:Communication Complexity Yao Chih-Chi
    小贱妇 发表于09:03:48 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Introduction to Game Theory and Its Application in Network

    日期:2009-01-29 | 分类:ITCSC Winter School 2009

    Game Theory is about decison-making and its trade-off between several players. Each player make their strategies according to the anticipated behaviour of the others, pursuing a maximazation of benefits.

    A classcial model of game theory is t...
    Tags:Game Theory Network 计算机
    小贱妇 发表于10:01:12 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Tools for Designing FPT Algorithm

    日期:2009-01-28 | 分类:ITCSC Winter School 2009

    For an NP hard problem we can make it into NP solvable if we confine some of its parameters to stay within a certain boundary
    For instance, given a graph G, we are to find a set of vertices that cover an arbitrary number of edges. This problem is ...
    Tags:FPT 算法 Graph 计算机
    小贱妇 发表于09:48:31 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Multiuser Information Theory

    日期:2009-01-24 | 分类:ITCSC Winter School 2009

    The lecturor, Chandra Nair introduced 3 basic models of multiuser information exchange, namely, Multiple Access, Broadcast and Interference.

    Multiple Access is about many-to-one message sending. Broadcast is about one-to-many message sendi...

    Tags:ITCSC Multiple Access Broadcast Interference
    小贱妇 发表于08:49:30 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Network Coding & Abstract Algebra

    日期:2009-01-23 | 分类:ITCSC Winter School 2009

    This talk concerns about the basic problems of a network. For example, A wants to send an email to B and so does B. How can this happen, say, simutaneously?

    A little bit mor sophisiticated is about encoding and decoding. Say, instead of se...

    Tags:ITCSC Network Algebra Coding Abstract
    小贱妇 发表于08:49:37 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 关于syscall_table.S的问题

    日期:2008-12-24 | 分类:Operating System(操作系统)

      什么是syscall_table.S? 每当系统调用发生时,操作系统会先到/usr/include/asm/unistd.h中,看该系统调用是否存在,若存在则读取一个索引号,利用该索引号到arch/i386/kernel/syscall_table.S中寻找相应表项,然后根据该表项到kernel/sys.c中调用相应函数。syscall_table.S就扮演这样一个“二级索引” 本实验中遇到的一个问题 当在syscall_table...
    Tags:计算机 ubuntu fedora Linux 操作系统
    小贱妇 发表于17:28:41 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • grub下进入操作系统

    日期:2008-12-12 | 分类:I Am A Geek~

    前段时间为了装ubuntu,在windows下把feodra分区给删除了,结果一启动就生生地进入了grub提示符了。经过多方google,得到了解决方法:

    在grub下输入如下指令:

    grub>root (hd0,0)

    grub>chainloader (hd0,0)+1

    grub>boot

    就可以进入操作系统了。
    Tags:计算机 操作系统 grub ubuntu fedora
    小贱妇 发表于09:57:21 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 远程桌面的尴尬

    日期:2008-11-29 | 分类:I Am A Geek~

    昨天在图书馆远程连接实验室,想把一个ppt搬到自己的本上。
    通常的做法是:发个邮件给自己,然后在另一边下。然而有个问题,我实验室的Thunderbird特别灵敏,如果你发个邮件给自己,它马上就收到并且存到本地磁盘。也就是说,当你发完邮件回到自己本上时,邮件已从服务器上被剪切至实验室机子上了。
    所以必须用别的办法。
    最后我用了一个很扯的办法。我把文件传送到一个ftp上,然后在另一端下载。想起来,真是很囧……
    Tags:计算机 远程桌面 邮件 ftp
    小贱妇 发表于08:45:45 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Image Processing - Linear Discriminant Analysis

    日期:2008-11-24 | 分类:Computer Graphics (计算机图形学)

    An introduction to the LDA method
    Tags:
    小贱妇 发表于14:09:35 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Image Processing - Principal Component Analysis

    日期:2008-11-23 | 分类:Computer Graphics (计算机图形学)

    Introduction to the method of PCA

    Tags:计算机 图形学 算法 主元分析
    小贱妇 发表于09:23:49 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 玩弄code的问题

    日期:2008-11-19 | 分类:I Am A Geek~

        今天在实验室的英文XP上登陆ftp,发现(其实早就发现了)对方电脑文件夹的名字都成了乱码。我想把作业传上去,但是找不到文件夹啊!怎么办……用了一个很雷的方法。

        先复制文件夹名称(自然是一堆乱码),打开一个word新文档,粘贴,另存为网页,用ie打开,把编码设成简体中文,于是……就看到中文了。

        我深信...
    Tags:计算机 编码 乱码 英文 操作系统
    小贱妇 发表于09:37:01 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Image Processing - Singular Value Decomposition

    日期:2008-11-18 | 分类:Computer Graphics (计算机图形学)

    Introduction to the method SVD
    Tags:计算机 图形学 算法
    小贱妇 发表于22:27:17 | 阅读全文 | 评论 1 | 编辑 | 分享 0
  • How to make a colorful picture black and white

    日期:2008-10-09 | 分类:Computer Graphics (计算机图形学)

    How to make a colorful picture black and white?


    Tags:图形学 计算机 算法
    小贱妇 发表于22:00:26 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Bresenham Line Drawing (2)

    日期:2008-10-04 | 分类:Computer Graphics (计算机图形学)

    The code of Bresenham Line Drawing (1)
    Tags:计算机 图形学 算法
    小贱妇 发表于11:27:53 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Bresenham Line Drawing (1)

    日期:2008-10-04 | 分类:Computer Graphics (计算机图形学)

    Bresenham Line Drawing is rather tricky compared to DDA one. The basic idea is, when we move along x-axis, 1 pixel each time, it seems that we do not have much choice about our y coordinate. Because we want to draw a continuous line, so that a yi+1 can be either yi or y i +1, and what we need to do is to make a choice: yi or y i +1. The choice is still based on m, the slope: we will see whether the calculated y = mx+b is close to y i or y i +1. But this time we will not calculate directly: it costs too much. Instead, we will apply the technique of induction.
    Tags:计算机 图形学 算法
    小贱妇 发表于11:26:31 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • DDA Line Drawing

    日期:2008-10-03 | 分类:Computer Graphics (计算机图形学)

    DDA is an algorithm for drawing lines. The idea is, due to the limitation of discrete pixels (which make it impossible to draw real continuous lines), we have to put a number of neighboring pixels to “make up” a line. The DDA does it in this way: say we “scan” the canvas along the x-axis, moving one pixel a time, and by the line equation we can calculate the corresponding y coordinate for each x-pixel and then we have the y coordinate rounded and put the pixel accordingly. One thing that needs concern is that if the slope of the line is greater than 1 or smaller than -1 we will have a series of discrete pixels (the dots cannot be connected if for each x-coordinate we only have one pixel). To solve this problem we can check the slope and move along x-axis or y-axis accordingly.
    Tags:计算机 图形学 算法
    小贱妇 发表于09:25:15 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • VC2005下实现XP风格的做法

    日期:2008-10-02 | 分类:C/C++/Java

    通常用VC2005到MFC工具写出来的界面都是Windows到传统风格,如何在VC2005下实现XP风格……
    Tags:计算机 C C++
    小贱妇 发表于13:18:39 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Thread Experiment Using Java

    日期:2008-09-25 | 分类:Operating System(操作系统)

    [本日志已设置加密]
    Tags:计算机 操作系统 线程
    小贱妇 发表于21:28:14 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • Numerical Analysis Study Notes —— Newton's Method

    日期:2008-09-17 | 分类:Numerical Analysis (数值分析)

    A program for solving equations using Newton's Method.
    Tags:计算机 数值分析 算法 牛顿法
    小贱妇 发表于10:36:24 | 阅读全文 | 评论 0 | 编辑 | 分享 0
共2页 1 2 下一页 最后一页

Subscribe to feed

Subscribe to feed

个人资料

小贱妇

日历

搜索

文章分类

  • DS&AA(数据结构与算法分析)[1]
  • OpenGL[9]
  • Operating System(操作系统)[4]
  • Numerical Analysis (数值分析)[3]
  • C/C++/Java[9]
  • Computer Graphics (计算机图形学)[7]
  • I Am A Geek~[4]
  • ITCSC Winter School 2009[5]
  • C#[2]

Tag

  • 计算机[28]
  • 图形学[15]
  • 算法[11]
  • OpenGL[9]
  • 操作系统[6]
More..

最新日志

  • Java GUI中的各种layout
  • 关于Radiobutton的值获取和排列问题
  • 如何判断字符串是否为数字
  • VS2005 the application failed to initialize properly (0xc0150004)的解决方法
  • VS使用者的Qt的初始化系统配置
  • 如何设置VS2005的字体、颜色和背景颜色
  • 解决耳塞杂音噪音问题
  • 如何让VS2005显示行号
  • MSVCP80D.dll not found的解决方法
  • 解决Error spawning 'cmd.exe'的问题
全部日志>>

最新评论

  • stan:orz图形学
  • zeg:万华根交出来的徒弟?...

链接

    存档

    • 2009-05[3]
    • 2009-04[3]
    • 2009-02[5]
    • 2009-01[5]
    • 2008 [28]
    • 访问统计:
    • RSS 什么是RSS?
      用IM提醒我内容更新
      订阅到QQ邮箱
      订阅到鲜果阅读器
      订阅到Google阅读器
      订阅到抓虾阅读器
    • 《城客》第三期:毛细香港
      博客大巴
      博客大巴使用指南
      博客大巴模板中心
      免费注册博客大巴
      一键博客搬家工具
      中文互动杂志城客
    ^ 返回顶部
    Copyright © 2002-2009 BlogBus.com, All Rights Reserved. 博客大巴 版权所有
    博客大巴模板设计:Climbing | 作者:Shine
      iCity YOHOcity