<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Terry_龙_分类_C++</title><id>http://feed.cnblogs.com/blog/u/65692/category/264918/rss</id><updated>2012-05-28T19:39:08Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/category/264918.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/65692/category/264918/rss"/><entry><id>http://www.cnblogs.com/TerryBlog/archive/2012/02/07/2340902.html</id><title type="text">使用NDK移植开源项目,JNI的使用技巧</title><summary type="text">jni 的介绍JNI是Java Native Interface的缩写，中文为JAVA本地调用。从Java1.1开始，Java Native Interface(JNI)标准成为java平台的一部分，它允许Java代码和其他语言写的代码进行交互。JNI一开始是为了本地已编译语言，尤其是C和C++而设计的，但是它并不妨碍你使用其他语言，只要调用约定受支持就可以了。以下介绍Android 中如何使用jni移植开源库的技巧.JNI日志输出到Logcat中#include &lt;android/log.h&gt;#define LOG_TAG "===xcloud==="#def</summary><published>2012-02-07T01:58:00Z</published><updated>2012-02-07T01:58:00Z</updated><author><name>Terry_龙</name><uri>http://www.cnblogs.com/TerryBlog/</uri></author><link rel="alternate" href="http://www.cnblogs.com/TerryBlog/archive/2012/02/07/2340902.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/archive/2012/02/07/2340902.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/TerryBlog/archive/2010/10/25/1860471.html</id><title type="text">菜鸟C++自学笔记【指针】下</title><summary type="text">继续上篇指针未完成的学习任务。指向函数的指针指向指针的指针指向指针数组的指针指向const 变量的指针const 指针变量void 指针1.指向函数的指针指向函数的指针包含函数的地址，可以通过指针调用该函数。下面这种格式声明了一个函数指针：int (*fpt)();指针的名字是fpt。这个特殊的指针指向一个返回整数值并且不接受实参的函数。指针声明必须与指针所指函数的声明相匹配。下面的DEMO表明，...</summary><published>2010-10-25T07:44:00Z</published><updated>2010-10-25T07:44:00Z</updated><author><name>Terry_龙</name><uri>http://www.cnblogs.com/TerryBlog/</uri></author><link rel="alternate" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/25/1860471.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/25/1860471.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/TerryBlog/archive/2010/10/14/1851525.html</id><title type="text">菜鸟C++自学笔记【指针】上</title><summary type="text">指针（pointer）就含有变量和函数地址的变量。是C++语言的重要组成部分。C++程序可以声明指向任何数据类型的指针，包括结构和联合数据类型。程序可以使用表达式中任何变量的地址，只有用存储类register 声明的变量除外。程序可以将变量的地址赋予指针变量。此外，程序可以把变量的地址作为实参传递给含有指针变量形参的函数。程序可以在赋值或初始化中使用函数地址。涉及的大纲如下，将分两个章节，本章为第...</summary><published>2010-10-14T08:54:00Z</published><updated>2010-10-14T08:54:00Z</updated><author><name>Terry_龙</name><uri>http://www.cnblogs.com/TerryBlog/</uri></author><link rel="alternate" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/14/1851525.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/14/1851525.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/TerryBlog/archive/2010/10/13/1849926.html</id><title type="text">菜鸟C++自学笔记【包含函数的结构】</title><summary type="text">C++给结构增加了一种新成员类型-------在C++中，结构可以包含函数，这意味着通过给结构增加函数，就使结构可以包含所绑定的算法，而这些算法还可作于其他结构成员。让算法与算法处理的数据密切关联，这种关联就是C++支持封装的方式。如下提供一段为结构增加函数的代码：[代码]以上程序代码，把类声明外的display函数声明记做Date::display。这种写法告诉C++编绎器，存在支持Date 结...</summary><published>2010-10-13T03:39:00Z</published><updated>2010-10-13T03:39:00Z</updated><author><name>Terry_龙</name><uri>http://www.cnblogs.com/TerryBlog/</uri></author><link rel="alternate" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/13/1849926.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/13/1849926.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/TerryBlog/archive/2010/10/12/1849028.html</id><title type="text">菜鸟C++自学笔记 【结构与联合】</title><summary type="text">c++程序员可以定义结构（structure）中的变量集合。结构将相关数据封装成一个聚集（aggregate）。程序可以用类似于处理内部数据类型的方法来处理结构。另外一种数据聚集被称为联合（union），它定义一个可能具有多个名字和类型的变量。大纲为：声明结构定义结构变量引用struct成员初始化结构结构的内部结构结构与函数联合初始化联合匿名联合1.声明结构可以用关键字struct 声明一个结构、...</summary><published>2010-10-12T09:34:00Z</published><updated>2010-10-12T09:34:00Z</updated><author><name>Terry_龙</name><uri>http://www.cnblogs.com/TerryBlog/</uri></author><link rel="alternate" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/12/1849028.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/archive/2010/10/12/1849028.html"/><content type="html"/></entry></feed>
