上一页 1 ··· 190 191 192 193 194 195 196 197 198 ··· 249 下一页
摘要: "如有不正确之处,请指出,谢谢" --Mood 指针函数 函数指针 指向结构体变量的指针(结构体变量的起始地址。) 是数组类型,每一个元素是相同的结构体。 阅读全文
posted @ 2013-08-18 22:20 pangbangb 阅读(552) 评论(0) 推荐(0) 编辑
摘要: dev grdicontrol 根据条件改变行背景 dev grdicontrol 根据条件改变字体颜色 dev grdicontrol 根据条件改变某个单元格背景不用写代码 打开gridcontrol的run desinger找到 appearance 下的 style conditions 点击添加,出现一条为 conditionsitem -index 0的列。在此列中添加规则即可。属性说明 appearance 为颜色 applytorow 应用到整行 colmn是对于哪个列进行规则定义。 conditions 规则类型 比如less 是小于 eque是等于 下方的value属性值 v 阅读全文
posted @ 2013-08-18 22:18 pangbangb 阅读(872) 评论(0) 推荐(0) 编辑
摘要: 这是一道简单的计算几何;In the picture below you can see a triangle ABC. Point D, E and F divides the sides BC, CA and AB into ratio 1:2 respectively. That is CD=2BD, AE=2CE and BF=2AF. A, D; B, E and C, F are connected. AD and BE intersects at P, BE and CF intersects at Q and CF and AD intersects at R.So now a 阅读全文
posted @ 2013-08-18 22:15 pangbangb 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Problem Description We all use cell phone today. And we must be familiar with the intelligent English input method on the cell phone. To be specific, the number buttons may correspond to some English letters respectively, as shown below: 2 : a, b, c3 : d, e, f4 : g, h, i5 : j, k, l6 : m, n, o 7 :... 阅读全文
posted @ 2013-08-18 22:13 pangbangb 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Parentheses Balance You are given a string consisting of parentheses () and []. Astring of this type is said to be correct: (a) if it is the empty string (b) if A and B are correct, AB is correct, (c) if A is correct, (A ) and [A ] is correct. Write... 阅读全文
posted @ 2013-08-18 22:11 pangbangb 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1.按钮中用的value 指的是按钮上要显示的文本 比如“确定”“删除”等2.复选框用的value 指的是这个复选框的值3.单选框用的value 和复选框一样4.下拉菜单用的value 是列表中每个子项的值5.隐藏域用的value 是框里面显示的内容在后台如果你想得到复选框的内容 就是value 来取当你在接收表单数据的页面中获取数据时,得到的就是value的值1. name是控件的名称(多个控件可以取同一个名称),value是控件的值;2. 并不是所有控件的value都会显示出来,比如 checkbox, radio, hidden;3. 定义控件的 name和value 就可以在服务器上获 阅读全文
posted @ 2013-08-18 22:09 pangbangb 阅读(1352) 评论(0) 推荐(0) 编辑
摘要: java实现点名,并记录被点次数import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.PrintStream;import java.util.ArrayList;import java.util.Scanner;public class Demoe1 { public static void main(String[] args)throws Exception { File f=new File("src/t7/names.txt" 阅读全文
posted @ 2013-08-18 22:06 pangbangb 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 什么是APIAPI(Application Programming Interface,应用程序编程接口)是一套用来控制Windows的各个部件(从桌面的外观到为一个新进程分配的内存)的外观和行为的一套预先定义的Windows函数.用户的每个动作都会引发一个或几个函数的运行以告诉Windows发生了什么. 这在某种程度上很象Windows的天然代码.其他的语言只是提供一种能自动而且更容易的访问API的方法.VB在这方面作了很多工作.它完全隐藏了API并且提供了在Windows环境下编程的一种完全不同的方法. 这也就是说,你用VB写出的每行代码都会被VB转换为API函数传递给Window... 阅读全文
posted @ 2013-08-18 22:04 pangbangb 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Maxiee今天又学到了一个插件——Cscope。Cscope 是一款用于查看大型工程中的代码的软件。它使用方便,支持快速查找 C Symbol、function 等在工程中所有出现的位置,而不用自己手动遍历所有文件,从而提高效率。Cscope 的官网是 http://cscope.sourceforge.net,上面貌似没有能直接应用于windows的包。Maxiee找到了这个网址: http://code.google.com/p/cscope-win32/downloads/list ,可以下载到专门为Windows预编译的包。下载解压后,得到一个cscope.exe,还是复制到vim文 阅读全文
posted @ 2013-08-18 22:02 pangbangb 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 虽然这个题目很简单,但是也是会范很多错误的,平时你肯定知道,但是在编程的时候就是容易犯傻,而且八匹马都拽不回来。。。看来还是要多写写代码。。不废话了。直接贴代码。。#include#includeusing namespace std;char* toUpperChar(char* src){ int length=strlen(src); char* m_dest=new char[length+1]; memset(m_dest,0,length+1); memcpy(m_dest,src,length); int index=0; while(m_dest[index]) { if(m. 阅读全文
posted @ 2013-08-18 22:00 pangbangb 阅读(678) 评论(0) 推荐(0) 编辑
上一页 1 ··· 190 191 192 193 194 195 196 197 198 ··· 249 下一页