狗尾草

导航

2013年7月9日 #

object-c 混编 调用C,C++接口

摘要: xcode 支持 object-c 混编,在object-c 中调用c,c++接口第一步 定义c语言 接口(File.c)#include void printsByC(){ printf("调用C语言。");}第二步 定义c++ 接口student.h文件#ifndef __test_hun__student__#define __test_hun__student__#include #endif /* defined(__test_hun__student__) */student.cpp文件#include "student.h"using na 阅读全文

posted @ 2013-07-09 22:01 狗尾草-大数据收割基 阅读(6643) 评论(0) 推荐(0) 编辑