- 浏览: 438804 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (538)
- C/C++ Primer (69)
- Objective-C Primer (102)
- Python Primer (19)
- JavaScript Primer (1)
- Java Primer (37)
- PHP Primer (17)
- 泛 Linux (37)
- Shell Script (21)
- APUE (21)
- UNP__1&2 (19)
- NetWork (7)
- Oracle周边 (38)
- Mysql里边 (6)
- Windows技 (9)
- 简单算法 & 数据结构 (14)
- 设计模式 (6)
- GTK历程 (12)
- 工具使用 (25)
- 杂事 (23)
- 一些概念 (17)
- Web方面 (10)
- myCodeTools (9)
- ^未 竟$ (13)
- 硬件通信 (2)
- Games (1)
最新评论
http://learn.akae.cn/media/ch23s06.html
int main(int argc, char *argv[]) { int i = 8; int *pi = &i; int **ppi = π printf("%d \n",*pi); printf("%d \n",**ppi); printf("%d \n",pi); printf("%d \n",*ppi); return 0; }
char **getpoint() { static char *str = "xxxxxxx"; printf("point %p\n",str); return &str; } int main(int argc, char *argv[]) { char **p = getpoint(); printf("%s\n", *p); *p = NULL; printf("main %p\n",*p); getpoint(); return 0; }
#include <stdio.h> #include <stdlib.h> #include <string.h> #define MODEBUFFSIZE 4096 // 0)特定的内存模块管理 // 1)static,只执行一次。则只malloc一次; // 2)以后也可以找回地址,方便使用和管理 // 3)指针的指针,还可以在别处释放内存,Good! // 但是可以在其它地方*str = NULL,那么getFileListPoint()的作用就失去效果了。对了就对了,错了就Over了 char **getModePoint() { static char *str = NULL; if (str == NULL) str = (char *)malloc(MODEBUFFSIZE); return &str; } void FreeModeBuff() { char **str = getModePoint(); if (*str != NULL) { free(*str); *str = NULL; } } void clearModeBuff() { char **str = getModePoint(); memset(*str, 0, LISTBUFFSIZE); }
发表评论
-
float equal
2013-05-23 18:21 775- (BOOL)floatA:(float)f1 equalB ... -
C++序列化
2012-07-12 09:51 533http://hi.baidu.com/ewook/item/ ... -
C++著名内裤
2011-12-02 14:00 7681、C++各大有名库的介绍 ... -
C++写C
2011-09-06 17:23 584在C++中写C,标准头文件写法 #ifndef __AB ... -
errno.h
2011-05-05 14:27 647#define EPERM 1 ... -
__cplusplus
2011-04-21 15:09 701http://www.cnblogs.com/stonecra ... -
Pthread__常用
2011-04-21 11:46 807http://blogold.chinaunix.net/u/ ... -
常用预编译
2011-04-21 10:32 609#if defined(WIN32) || defined ... -
C++__容器
2011-04-18 10:16 519http://apps.hi.baidu.com/share/ ... -
C++模板
2011-03-29 14:27 594内容主要来至《钱能C++程序设计教程》&《C++ Pr ... -
交叉引用、前置声明
2011-03-02 09:40 767有两个类相互引用了,编译器报错。 原因是两个类交叉引用: A ... -
typedef的四个用途和两个陷阱
2010-12-14 12:34 608http://hi.baidu.com/changfeng01 ... -
第五届开源小组招新题目
2010-12-03 21:56 701这是学校的开源小组招新题。 08年时我是第二届的组长,不知不觉 ... -
string const char*
2010-12-02 16:13 731http://topic.csdn.net/u/2008092 ... -
CPP Container
2010-11-10 09:20 644延后整理。。。 -
C语言运算符优先级
2010-11-02 17:45 740优先级 运算符 ... -
位运算
2010-11-01 11:33 747千百年来,位运算始终没出现在我写的代码里,今天终于出现了。 ... -
Unix环境下操作特大文件
2010-11-01 11:03 567http://hi.baidu.com/jiangfeng11 ... -
GCC在C语言中内嵌汇编
2010-10-22 14:48 1331http://hi.baidu.com/liu_bin0101 ... -
C缓冲区溢出
2010-10-19 10:37 487http://blog.chinaunix.net/u/170 ...
相关推荐
DDR4 Point-to-Point Design Guide
(1)发布语义分割的预训练模型,其中PointNet++可以达到53.5%的mIoU。 (2) 发布预训练模型用于分类和部分分割log/。 2021/03/20:更新分类代码,包括: (1) 添加训练ModelNet10数据集的代码。使用--num_category...
构建一个类Point,它提供两个公有的构造函数,一个没有参数的Point构造函数和一个有两个double参数的构造函数。另外在该类中提供一个静态方法计算两个点的直线距离,传入参数为两个Point类实例。然后设计一个测试类...
写一个Point类,在Point类的基础上建立Rectangle类
point-nerf复现代码,github上提供的源码比较乱,而且在复现的时候一直出现bug,于是在测试point-nerf时将里面的代码进行了更改。在源码的基础上,将nerf_synth360_ft_dataset.py;evaluate.py;test_ft.py;...
pointwise 卷积神经网路 CVPR2018 Deep learning with 3D data such as reconstructed point clouds and CAD models has received great research inter- ests recently. However, the capability of using point ...
网格划分软件pointwise的学习教程 手把手教你如何使用pointwsie划分网格
VB Point方法应用 VB Point方法应用
pointnet++
PointNet++ 源码有批注
Floating-point arithmetic is considered an esoteric subject by many people. This is rather surprising because floating-point is ubiquitous in computer systems. Almost every language has a floating-...
网格划分软件Pointwise的基础教程,包括文件实例和基础知识
java编程代码point
2.2.13 Packet Tracer - Point-to-Point Single-Area OSPFv2 Configuration.pka Cisco Packet Tracer 思科模拟器 正确答案文件 可直接上交正确答案文件 本答案版权归mewhaku所有,严禁再次转载!!! Copyright @...
point DEMO
1.领域:matlab,pointNet的三维点云目标分类识别算法 2.内容:【含操作视频】基于pointNet的三维点云目标分类识别matlab仿真,输出混淆矩阵验证识别率 3.用处:用于pointNet的三维点云目标分类识别算法编程学习 4...
vantagepoint中文说明书vantagepoint中文说明书
The Point Cloud Library (or PCL) is a large scale, open project for point cloud processing. The PCL framework contains numerous state-of-the art algorithms including filtering, feature estimation, ...
PointNet.pdf
Pointwise官方教程 Pointwise前所未有地简化网格生成过程,采用标准图形界面,典型的平面菜单结构,标准的键盘热键设计和用户个性化设计使操作更加简便;完全的undo和redo功能,自动装配domain和block,进程条和命令...