由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] 这样写有什么不好?
相关主题
Anybody help me on these questions?why int** cannot convert to const int** ?
C++ questionswhat's wrong with this C++ code?
问一道C++的题目。 (转载)A question about c++ pointer
simple C questiona simple C++ question
[合集] 问个面试的编程题目请问const myClass &src 和myClass const &src有什么区别?
Array in C一个c语言的问题
[转载] Re: 问个土问题吧pointer to function
difference between: char** p and char*p[] ??Pointer to iterator?
相关话题的讨论汇总
话题: oct话题: tue话题: char话题: 2005话题: buff
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
topbull (塞猪~最近比较衰) 于 (Tue Oct 18 01:52:00 2005) 提到:
char * getbuf()
{
char buff[8];
....
return (char *)buff;
}
☆─────────────────────────────────────☆
campos (Gentoo 真土) 于 (Tue Oct 18 02:03:46 2005) 提到:
returned pointer contains nothing
accessing it will cause access violation

☆─────────────────────────────────────☆
xingxing (星星) 于 (Tue Oct 18 02:27:39 2005) 提到:
that pointer is just on the stack.
I think most likely there won't
1 (共1页)
进入Programming版参与讨论
相关主题
Pointer to iterator?[合集] 问个面试的编程题目
问一道brainbench上的问题Array in C
谁给解释一下这个c question[转载] Re: 问个土问题吧
出个题考考大家:)difference between: char** p and char*p[] ??
Anybody help me on these questions?why int** cannot convert to const int** ?
C++ questionswhat's wrong with this C++ code?
问一道C++的题目。 (转载)A question about c++ pointer
simple C questiona simple C++ question
相关话题的讨论汇总
话题: oct话题: tue话题: char话题: 2005话题: buff