Chinaunix首页 | 论坛 | 博客
  • 博客访问: 283614
  • 博文数量: 82
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 874
  • 用 户 组: 普通用户
  • 注册时间: 2015-03-21 09:58
个人简介

traveling in cumputer science!!

文章分类

全部博文(82)

文章存档

2016年(13)

2015年(69)

我的朋友

分类: C/C++

2015-04-07 16:49:38

just two lines code:
    1   void (*funcPtr)();
    2   void *funcPtr();
1 means start from "funPtr" -> ")" then <-"(*", oh,good this is a pointer to the function "funPtr", then -> "()"no parameters then <- "void" no return
2 means start from "funPtr" -> "()" no parameters, then <- "void *" oh return pointer

summary:
    When you declare or define something,you must understand the process of compile!
阅读(896) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~