由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 求题目
相关主题
求题目overload "++i"里的operator“++”,怎么declare?
ambiguous operators in c++ostream& operator << (ostream& s, int cnt) error
[C++] 入门级问题 increment and decrement operatorsmember and friend
const char *p, is it ok to change p[1] ?请教boost::any compile错误。
我写的这个C++错在哪里?C array
A weird segmentation fault!A C++ compiler related interview question
how to get division and reminder in one operation?dereference a NULL pointer in C
thrust help ~~~Java 问题,请教如何找出一个array里的duplicate segments?
相关话题的讨论汇总
话题: string话题: operation话题: abc话题: compiles
进入Programming版参与讨论
1 (共1页)
o********s
发帖数: 971
1
曾经在这个班上看到过一个问题,觉得很典型。前几天想给同事讲一下,但是突然想不
起来了,希望有人能够提醒一下我,谢谢。
这是一道关于c or c++ heap 的问题
it is something like
string a = "abc";
string b = "abc";
then there is an operation on b, after there there is another operation on
string a. the code compiles, but, there is a segmentation fault when running
it.
can anybody nicely reminds me that question?!
thx a ton
1 (共1页)
进入Programming版参与讨论
相关主题
Java 问题,请教如何找出一个array里的duplicate segments?我写的这个C++错在哪里?
*** help needed! on MATLAB GUI ***A weird segmentation fault!
How to tell gcc stop compiling.how to get division and reminder in one operation?
inheritence problemthrust help ~~~
求题目overload "++i"里的operator“++”,怎么declare?
ambiguous operators in c++ostream& operator << (ostream& s, int cnt) error
[C++] 入门级问题 increment and decrement operatorsmember and friend
const char *p, is it ok to change p[1] ?请教boost::any compile错误。
相关话题的讨论汇总
话题: string话题: operation话题: abc话题: compiles