由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - How to return an array in a C++ function?
相关主题
一个C的void指针的问题a c++ question
a weak c question, how to pass an array into a function?applications/frameworks on top of akka?
C++ Function Pointer Array 的问题JAVA generic programming 是怎么实现的?
《C# 5.0 核心技术》第5版[PDF]inline functions in C++
其实微软是个做语言的公司问一个C++ template的问题
Go什么时候可能支持Generic?又一道面试题,我是不是想多了?
A question about sharing data inside a C++ classA C++ private member function problem
array如何get set?Partitioning (转载)
相关话题的讨论汇总
话题: c++话题: array话题: return话题: function话题: newbie
进入Programming版参与讨论
1 (共1页)
k*****l
发帖数: 59
1
I'm a newbie in C++, can anyone help me about this?
p*u
发帖数: 2454
2
if in C++, no need to return a value. just pass in a reference.

【在 k*****l 的大作中提到】
: I'm a newbie in C++, can anyone help me about this?
k*k
发帖数: 508
3
用 C# 吧,又快又好,哈哈

【在 k*****l 的大作中提到】
: I'm a newbie in C++, can anyone help me about this?
p*u
发帖数: 2454
4
I don't like C# Generics.

【在 k*k 的大作中提到】
: 用 C# 吧,又快又好,哈哈
e******x
发帖数: 925
5
1)把数组的地址作为指针参数传进去
2)在函数里分配一个指针数组,返回

【在 k*****l 的大作中提到】
: I'm a newbie in C++, can anyone help me about this?
y*********s
发帖数: 2
6
use pointer

【在 k*****l 的大作中提到】
: I'm a newbie in C++, can anyone help me about this?
1 (共1页)
进入Programming版参与讨论
相关主题
Partitioning (转载)其实微软是个做语言的公司
function pointer 和 call-back function 有什么区别?Go什么时候可能支持Generic?
How does template work in C++A question about sharing data inside a C++ class
[合集] C++ simple questionarray如何get set?
一个C的void指针的问题a c++ question
a weak c question, how to pass an array into a function?applications/frameworks on top of akka?
C++ Function Pointer Array 的问题JAVA generic programming 是怎么实现的?
《C# 5.0 核心技术》第5版[PDF]inline functions in C++
相关话题的讨论汇总
话题: c++话题: array话题: return话题: function话题: newbie