易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 :

读取xml并绑定gridview

<?xml version="1.0" encoding="utf-8" ?>
<ExamPaper Name="我的第一期试卷" BeginDate="2009-3-4" EndDate="2009-12-30" Scort="150" UserTime="100" FK_UserType="1" FK_AdminUser="1">
<Question PKID="问题编号0" Name="问题内容0" FK_QuestionType="单选题">
<QuestionItem PKID="答案选项编号0" IsRight="0">答案选项内容0 </QuestionItem>
<QuestionItem PKID="答案选项编号1" IsRight="0">答案选项内容1 </QuestionItem>
<QuestionItem PKID="答案选项编号2" IsRight="0">答案选项内容2 </QuestionItem>
<QuestionItem PKID="答案选项编号3" IsRight="0">答案选项内容3 </QuestionItem>
<QuestionItem PKID="答案选项编号4" IsRight="0">答案选项内容4 </QuestionItem>
</Question>
<Question PKID="问题 ......

Parsing XML from the Net Using the SAXParser


Parsing XML from the Net - Using the SAXParser
http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html
What you learn:
You will learn how to properly parse XML
(here: from the net
) using a SAXParser
.
What it will look like:
Description:
0.)
In this tutorial we are going to parse the following XML-File located at the following url: http://www.anddev.org/images/tut/basic/parsingxml/example.xml
:
XML:
<?xml
version
="1.0"
?>
<outertag>
     <innertag
sampleattribute
="innertagAttribute"
>
          <mytag>
               anddev.org rulez =)
          </mytag>
          <tagwithnumber
thenumber
="1337"
/>
     </innertag>
</outertag>
To accomplish the parsing, we are going to use a SAX-P ......

DataSet序列化输出到XML(并指定输出XML标准)

 public partial class Form1 : Form
    {
        DataSet ds = new DataSet();
        public Form1()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
        {        
            string str = ds.GetXml();
            SaveToXml(str);
        }
        /// <summary>
        /// 输出指定文件到指定文件
        /// </summary>
  ......

C/C++ 核心技术 总结1

第二章 数据类型
 
一、数据类型分类
 
1 联合类型
2 函数类型
3 数量类型
3.1算术类型
     ① 基本数据类型
            整型(包括char)
            浮点型
     ② 枚举类型
3.2指针类型
4 聚集类型
4.1数组类型
4.2结构类型
 
二、整数数据类型
char类型的值总是占用1个字节,sizeof(char) = 1
short类型至少占用2个字节
long类型至少占用4个字节
long long类型至少占用8个字节
 
int类型是最适合计算机系统处理的整数类型,它具有和CPU寄存器相对应的空间大小。
 
编译器的limit.h头文件约定整数类型的值的范围,该头文件里面有一些宏,可以获取char和int的最大最小值。
 
32位系统中:
INT_MAX:int的最大值               2147483647
INT_MIN:int的最小值               -2147483648
UIN ......

C/C++ 核心技术 总结1

第二章 数据类型
 
一、数据类型分类
 
1 联合类型
2 函数类型
3 数量类型
3.1算术类型
     ① 基本数据类型
            整型(包括char)
            浮点型
     ② 枚举类型
3.2指针类型
4 聚集类型
4.1数组类型
4.2结构类型
 
二、整数数据类型
char类型的值总是占用1个字节,sizeof(char) = 1
short类型至少占用2个字节
long类型至少占用4个字节
long long类型至少占用8个字节
 
int类型是最适合计算机系统处理的整数类型,它具有和CPU寄存器相对应的空间大小。
 
编译器的limit.h头文件约定整数类型的值的范围,该头文件里面有一些宏,可以获取char和int的最大最小值。
 
32位系统中:
INT_MAX:int的最大值               2147483647
INT_MIN:int的最小值               -2147483648
UIN ......

【IBM需求信息】 JAVA, C/UNIX需求

大家好,这里有IBM的三个长期需求:均是需要2年以上相关工作经验,其中Java以及Testing需要英语可以交流,C/Unix不需要语言。
Java 大连
描述:Java programming, knowledge in J2SE, SWT/JFace, XML. Eclipse programming, knowledge in eclipse architecture. Clear understanding of plugin development. Hands-on experience in CVS: merger, maintenance. Hands-on experience in DB2: Databa 
工作地点:大连
英语口语流利交流
Java 成都
描述:1. Good communication skill. 2. 2+ years J2EE experience. 3. 1+ years DB2 experience. 
工作地点:成都
英语口语流利交流
C#/AIx Unix:
描述:project experience of banking projects, band 6: 3 ~ 5 years, has banking biz knowledge, like deposit, loan, credit card and etc..
- technical skill: rich coding experience base on AIX Unix and C language, Informix database is preferred.
- quick learning in a new environment
- good communication
工作地点:福州(福建)
国内银行项目,没有语言要求
有兴趣的请把简历发送到Merak.Yu@hotmail.com 或 加MSN:q3701@163.com 详 ......

【IBM需求信息】 JAVA, C/UNIX需求

大家好,这里有IBM的三个长期需求:均是需要2年以上相关工作经验,其中Java以及Testing需要英语可以交流,C/Unix不需要语言。
Java 大连
描述:Java programming, knowledge in J2SE, SWT/JFace, XML. Eclipse programming, knowledge in eclipse architecture. Clear understanding of plugin development. Hands-on experience in CVS: merger, maintenance. Hands-on experience in DB2: Databa 
工作地点:大连
英语口语流利交流
Java 成都
描述:1. Good communication skill. 2. 2+ years J2EE experience. 3. 1+ years DB2 experience. 
工作地点:成都
英语口语流利交流
C#/AIx Unix:
描述:project experience of banking projects, band 6: 3 ~ 5 years, has banking biz knowledge, like deposit, loan, credit card and etc..
- technical skill: rich coding experience base on AIX Unix and C language, Informix database is preferred.
- quick learning in a new environment
- good communication
工作地点:福州(福建)
国内银行项目,没有语言要求
有兴趣的请把简历发送到Merak.Yu@hotmail.com 或 加MSN:q3701@163.com 详 ......

C/C++中动态链接库的创建和调用

转自:http://dev.yesky.com/12/3067012.shtml
动态连接库的创建步骤:
  一、创建Non-MFC DLL动态链接库
  1、打开File —> New —> Project选项,选择Win32 Dynamic-Link Library —>sample project
  —>工程名:DllDemo
  2、新建一个.h文件DllDemo.h
以下是引用片段:
  #ifdef DllDemo_EXPORTS
  #define DllAPI __declspec(dllexport)
  #else
  #define DllAPI __declspec(dllimport)
  extern "C" //原样编译
  {
  DllAPI int __stdcall Max(int a,int b); //__stdcall使非C/C++语言内能够调用API
  }
  #endif
  3、在DllDemo.cpp文件中导入DllDemo.h文件,并实现Max(int,int)函数
以下是引用片段:
  #include "DllDemo.h"
  DllAPI int __stdcall Max(int a,int b)
  {
  if(a==b)
  return NULL;
  else if(a>b)
  return a;
  else
  return b;
  }
  4、编译程序生成动态连接库
  二、用.def文 ......

C/C++中动态链接库的创建和调用

转自:http://dev.yesky.com/12/3067012.shtml
动态连接库的创建步骤:
  一、创建Non-MFC DLL动态链接库
  1、打开File —> New —> Project选项,选择Win32 Dynamic-Link Library —>sample project
  —>工程名:DllDemo
  2、新建一个.h文件DllDemo.h
以下是引用片段:
  #ifdef DllDemo_EXPORTS
  #define DllAPI __declspec(dllexport)
  #else
  #define DllAPI __declspec(dllimport)
  extern "C" //原样编译
  {
  DllAPI int __stdcall Max(int a,int b); //__stdcall使非C/C++语言内能够调用API
  }
  #endif
  3、在DllDemo.cpp文件中导入DllDemo.h文件,并实现Max(int,int)函数
以下是引用片段:
  #include "DllDemo.h"
  DllAPI int __stdcall Max(int a,int b)
  {
  if(a==b)
  return NULL;
  else if(a>b)
  return a;
  else
  return b;
  }
  4、编译程序生成动态连接库
  二、用.def文 ......
总记录数:40319; 总页数:6720; 每页6 条; 首页 上一页 [1545] [1546] [1547] [1548] 1549 [1550] [1551] [1552] [1553] [1554]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号