J*n
2 楼
国内有工厂,主要生产室外工业上的照明设备,在国内已经初具规模,现在想要拓展产
品在北美的业务,或者寻找北美大公司的代工机会,不知道各位大虾有没有好的建议?
谢谢!
品在北美的业务,或者寻找北美大公司的代工机会,不知道各位大虾有没有好的建议?
谢谢!
s*m
3 楼
This is about extended property.
Here is background: when a table/column is created/altered/dropped, extended
properties are inserted/updated/deleted. also table's/column's extended
property can be updated later (not via alter table/column syntax) using
below system procedures (or raw insert/update/delete scripts):
sp_addextendedproperty
sp_updateextendedproperty
sp_dropextendedproperty
Here is my goal: now when an extended property is created/updated/dropped, I
want to fire a trigger which will update a table in another database.
extended property is stored in system base table sys.sysxprops
can trigger be defined on this table?
also extended property can be queried via catalog view sys.extended_
properties
can trigger be defined on this view?
which is better?
please point me to some resources.
Thanks.
Here is background: when a table/column is created/altered/dropped, extended
properties are inserted/updated/deleted. also table's/column's extended
property can be updated later (not via alter table/column syntax) using
below system procedures (or raw insert/update/delete scripts):
sp_addextendedproperty
sp_updateextendedproperty
sp_dropextendedproperty
Here is my goal: now when an extended property is created/updated/dropped, I
want to fire a trigger which will update a table in another database.
extended property is stored in system base table sys.sysxprops
can trigger be defined on this table?
also extended property can be queried via catalog view sys.extended_
properties
can trigger be defined on this view?
which is better?
please point me to some resources.
Thanks.
j*i
4 楼
I define the class UPint and overload ++ operator.
In the main function c=a++ will have a error but c=++a is fine , anybody
know the reason?
int main()
{ UPint a(1);
UPint c;
c=a++// this will produce a error
// error: no matching function for call
// to ‘UPint::UPint(const UPint)’
c=++a// fine
return 0
}
//////////////////
class UPint
{
public:
UPint(int x=0): value(x){};
UPint(UPint &rhs):value(rhs.value){};
UPint& operator=(const UPint &rhs);
UPint& op
In the main function c=a++ will have a error but c=++a is fine , anybody
know the reason?
int main()
{ UPint a(1);
UPint c;
c=a++// this will produce a error
// error: no matching function for call
// to ‘UPint::UPint(const UPint)’
c=++a// fine
return 0
}
//////////////////
class UPint
{
public:
UPint(int x=0): value(x){};
UPint(UPint &rhs):value(rhs.value){};
UPint& operator=(const UPint &rhs);
UPint& op
i*y
5 楼
☆─────────────────────────────────────☆
violet05 (sunshine) 于 (Fri Dec 14 17:27:36 2007) 提到:
每次换工作的时候都希望能够把一点经历写下来,也许对别人有帮助,也许是对自己的
总结,这次有点时间终于可以完成这个心愿。
两年来换的第四个工作了(没有身份的限制),还是记得开始第一份工作前找工作的痛
苦和绝望。03年毕业(专业是经济学,小硕),因为期间生孩子,毕业没有马上找工作
,一心想着先把孩子带大一点。这一晃就是两年半,中间也曾经试过找工作,很难。没
有这边工作的经验,再加上GAP,也许简历也不够好,曾经有过非常灰心失望的时候,
有过一些onsite, 但都没有成功。那时唯一可以做的,就是改简历。到现在都很感谢一
个朋友帮忙,她最后帮我改过的简历,到现在都是我的蓝本。
06年初,经一个猎头介绍,去A公司,一家SEMI在北美的分公司作AR, TEMP TO HIRE,
工资也很低,$15/hr, 我觉得自己那个时候已经不在乎职位本身了,只是需要一个开始
来证明自己的价值。工作很简单,一个月以后
violet05 (sunshine) 于 (Fri Dec 14 17:27:36 2007) 提到:
每次换工作的时候都希望能够把一点经历写下来,也许对别人有帮助,也许是对自己的
总结,这次有点时间终于可以完成这个心愿。
两年来换的第四个工作了(没有身份的限制),还是记得开始第一份工作前找工作的痛
苦和绝望。03年毕业(专业是经济学,小硕),因为期间生孩子,毕业没有马上找工作
,一心想着先把孩子带大一点。这一晃就是两年半,中间也曾经试过找工作,很难。没
有这边工作的经验,再加上GAP,也许简历也不够好,曾经有过非常灰心失望的时候,
有过一些onsite, 但都没有成功。那时唯一可以做的,就是改简历。到现在都很感谢一
个朋友帮忙,她最后帮我改过的简历,到现在都是我的蓝本。
06年初,经一个猎头介绍,去A公司,一家SEMI在北美的分公司作AR, TEMP TO HIRE,
工资也很低,$15/hr, 我觉得自己那个时候已经不在乎职位本身了,只是需要一个开始
来证明自己的价值。工作很简单,一个月以后
v*c
6 楼
本科/研究生都是学电子的。工作经验三年,也是电子工程师。今年秋天入学读MBA,目
前的计划
是毕业后回国往PE里挤。现在虽然在加州全职工作中,但是仍想为MBA以及之后的就业
做些准备,
不知道大家有什么意见吗?
1. 专业知识方面,我完全没有过商科的经验。之前看CFA I的书,不懂+瞌睡,觉得是
基础差太
多了。想看看微/宏观经济和金融的入门书,还有就是会计类的,不知道这个思路正确
吗?
2. 人脉方面完全没有概念。现在能想到的就是去参加些会议啊论坛之类的,适应一下
氛围,看能
不能认识些人。不知道是不是太天真?
希望大家各抒己见,多多拍砖。如果有什么论坛推荐的,也请不吝赐教。非常感谢!
前的计划
是毕业后回国往PE里挤。现在虽然在加州全职工作中,但是仍想为MBA以及之后的就业
做些准备,
不知道大家有什么意见吗?
1. 专业知识方面,我完全没有过商科的经验。之前看CFA I的书,不懂+瞌睡,觉得是
基础差太
多了。想看看微/宏观经济和金融的入门书,还有就是会计类的,不知道这个思路正确
吗?
2. 人脉方面完全没有概念。现在能想到的就是去参加些会议啊论坛之类的,适应一下
氛围,看能
不能认识些人。不知道是不是太天真?
希望大家各抒己见,多多拍砖。如果有什么论坛推荐的,也请不吝赐教。非常感谢!
o*b
7 楼
works fine in my machine
C*n
8 楼
which school
t*t
9 楼
i think the error message says all: you need a constructor with signature
UPint::UPint(const UPint&)
【在 j***i 的大作中提到】
: I define the class UPint and overload ++ operator.
: In the main function c=a++ will have a error but c=++a is fine , anybody
: know the reason?
: int main()
: { UPint a(1);
: UPint c;
: c=a++// this will produce a error
: // error: no matching function for call
: // to ‘UPint::UPint(const UPint)’
: c=++a// fine
UPint::UPint(const UPint&)
【在 j***i 的大作中提到】
: I define the class UPint and overload ++ operator.
: In the main function c=a++ will have a error but c=++a is fine , anybody
: know the reason?
: int main()
: { UPint a(1);
: UPint c;
: c=a++// this will produce a error
: // error: no matching function for call
: // to ‘UPint::UPint(const UPint)’
: c=++a// fine
v*c
10 楼
top 20吧。现在还没有确定下来T_T
t*t
13 楼
because a++ returns const UPint, but (a) is UPint&
your copy constructor only accepts non-const version, which is obviously
wrong. in summary, you didn't add const wherever you can, so you can not use
your class as convenient as built-in types.
VC? forget it, that's not c++.
【在 j***i 的大作中提到】
: 这样是的,但我不知道为什么,
: 我想可能是 ++ return by value 要用copy constructor
: 但
: 是我还是奇怪
: c=a++ 是错的,但要是拆开
: a++
: c=a 没有错,我想是不是和alignment =有关
your copy constructor only accepts non-const version, which is obviously
wrong. in summary, you didn't add const wherever you can, so you can not use
your class as convenient as built-in types.
VC? forget it, that's not c++.
【在 j***i 的大作中提到】
: 这样是的,但我不知道为什么,
: 我想可能是 ++ return by value 要用copy constructor
: 但
: 是我还是奇怪
: c=a++ 是错的,但要是拆开
: a++
: c=a 没有错,我想是不是和alignment =有关
j*i
14 楼
谢谢,
那
为什么 a++ 单独写没有这个问题
use
【在 t****t 的大作中提到】
: because a++ returns const UPint, but (a) is UPint&
: your copy constructor only accepts non-const version, which is obviously
: wrong. in summary, you didn't add const wherever you can, so you can not use
: your class as convenient as built-in types.
: VC? forget it, that's not c++.
那
为什么 a++ 单独写没有这个问题
use
【在 t****t 的大作中提到】
: because a++ returns const UPint, but (a) is UPint&
: your copy constructor only accepts non-const version, which is obviously
: wrong. in summary, you didn't add const wherever you can, so you can not use
: your class as convenient as built-in types.
: VC? forget it, that's not c++.
t*t
15 楼
i think originally you wrote
UPint c=a++;
this tries to call UPint::UPint(const UPint&) because a++ returns a const
UPint. but you only have UPint::UPint(UPint&). so this generates an error.
c=a++ itself should be fine since you do have UPint::operator=(const UPint&).
【在 j***i 的大作中提到】
: 谢谢,
: 那
: 为什么 a++ 单独写没有这个问题
:
: use
UPint c=a++;
this tries to call UPint::UPint(const UPint&) because a++ returns a const
UPint. but you only have UPint::UPint(UPint&). so this generates an error.
c=a++ itself should be fine since you do have UPint::operator=(const UPint&).
【在 j***i 的大作中提到】
: 谢谢,
: 那
: 为什么 a++ 单独写没有这个问题
:
: use
o*b
16 楼
大牛说的对
use
【在 t****t 的大作中提到】
: because a++ returns const UPint, but (a) is UPint&
: your copy constructor only accepts non-const version, which is obviously
: wrong. in summary, you didn't add const wherever you can, so you can not use
: your class as convenient as built-in types.
: VC? forget it, that's not c++.
use
【在 t****t 的大作中提到】
: because a++ returns const UPint, but (a) is UPint&
: your copy constructor only accepts non-const version, which is obviously
: wrong. in summary, you didn't add const wherever you can, so you can not use
: your class as convenient as built-in types.
: VC? forget it, that's not c++.
h*0
17 楼
什么乱七八糟的……
你重载运算符不按规矩出牌。然后使用时还按“感觉”写。这不出错才怪了。
两个办法:
1. 不要重载运算符,因为你的习惯不合适。
2. 使用运算符时在旁边的注释里把运算符显式写成函数看对不对,如:
c = a.operator++()
c = a.operator++(int)
然后对比一下返回值就什么都清楚了。
【在 j***i 的大作中提到】
: I define the class UPint and overload ++ operator.
: In the main function c=a++ will have a error but c=++a is fine , anybody
: know the reason?
: int main()
: { UPint a(1);
: UPint c;
: c=a++// this will produce a error
: // error: no matching function for call
: // to ‘UPint::UPint(const UPint)’
: c=++a// fine
你重载运算符不按规矩出牌。然后使用时还按“感觉”写。这不出错才怪了。
两个办法:
1. 不要重载运算符,因为你的习惯不合适。
2. 使用运算符时在旁边的注释里把运算符显式写成函数看对不对,如:
c = a.operator++()
c = a.operator++(int)
然后对比一下返回值就什么都清楚了。
【在 j***i 的大作中提到】
: I define the class UPint and overload ++ operator.
: In the main function c=a++ will have a error but c=++a is fine , anybody
: know the reason?
: int main()
: { UPint a(1);
: UPint c;
: c=a++// this will produce a error
: // error: no matching function for call
: // to ‘UPint::UPint(const UPint)’
: c=++a// fine
j*i
18 楼
Thanks for your explaination , it is reasonable.
however
I checked again,
I did not write UPint c a++;
actually, I define c first
it is like
UPint c;
c=a++;
it is still wrong
I using gcc in ubuntu
const
error.
UPint&).
【在 t****t 的大作中提到】
: i think originally you wrote
: UPint c=a++;
: this tries to call UPint::UPint(const UPint&) because a++ returns a const
: UPint. but you only have UPint::UPint(UPint&). so this generates an error.
: c=a++ itself should be fine since you do have UPint::operator=(const UPint&).
however
I checked again,
I did not write UPint c a++;
actually, I define c first
it is like
UPint c;
c=a++;
it is still wrong
I using gcc in ubuntu
const
error.
UPint&).
【在 t****t 的大作中提到】
: i think originally you wrote
: UPint c=a++;
: this tries to call UPint::UPint(const UPint&) because a++ returns a const
: UPint. but you only have UPint::UPint(UPint&). so this generates an error.
: c=a++ itself should be fine since you do have UPint::operator=(const UPint&).
p*o
19 楼
Seems a bug of gcc ...
The following code is OK with gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
but not gcc (GCC) 3.4.5 (mingw-vista special r3). So update your
gcc first.
class UPint
{
public:
UPint();
UPint(UPint &rhs);
UPint& operator=(const UPint &rhs);
UPint operator++(int);
};
int main()
{
UPint a, c;
c=a++;
return 0;
}
【在 j***i 的大作中提到】
: Thanks for your explaination , it is reasonable.
: however
: I checked again,
: I did not write UPint c a++;
: actually, I define c first
: it is like
: UPint c;
: c=a++;
: it is still wrong
: I using gcc in ubuntu
The following code is OK with gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
but not gcc (GCC) 3.4.5 (mingw-vista special r3). So update your
gcc first.
class UPint
{
public:
UPint();
UPint(UPint &rhs);
UPint& operator=(const UPint &rhs);
UPint operator++(int);
};
int main()
{
UPint a, c;
c=a++;
return 0;
}
【在 j***i 的大作中提到】
: Thanks for your explaination , it is reasonable.
: however
: I checked again,
: I did not write UPint c a++;
: actually, I define c first
: it is like
: UPint c;
: c=a++;
: it is still wrong
: I using gcc in ubuntu
j*i
20 楼
My is gcc 4:4.2.3 lubuntu6 , it should works..
x*u
21 楼
UPint c; 这里调的是default constructor
c=a++; 这里先调你overload的++operator,然后再调assignment operator, which tak
e 前面++ operator的返回值作为参数
你的问题跟++ operator无关, 真正原因前面thrust以及compiler的error msg讲得很清
楚了, 是你没有一个take const UPint的assignment operator(or constructor)
某些compiler通得过我觉得是因为它们提供了const UPint的constructor
【在 j***i 的大作中提到】
: Thanks for your explaination , it is reasonable.
: however
: I checked again,
: I did not write UPint c a++;
: actually, I define c first
: it is like
: UPint c;
: c=a++;
: it is still wrong
: I using gcc in ubuntu
c=a++; 这里先调你overload的++operator,然后再调assignment operator, which tak
e 前面++ operator的返回值作为参数
你的问题跟++ operator无关, 真正原因前面thrust以及compiler的error msg讲得很清
楚了, 是你没有一个take const UPint的assignment operator(or constructor)
某些compiler通得过我觉得是因为它们提供了const UPint的constructor
【在 j***i 的大作中提到】
: Thanks for your explaination , it is reasonable.
: however
: I checked again,
: I did not write UPint c a++;
: actually, I define c first
: it is like
: UPint c;
: c=a++;
: it is still wrong
: I using gcc in ubuntu
相关阅读
[转让] CFA 08 Schweser Level 3 notes诚恳请教选校和学科问题请教大家:德国大学选校!考CFA有专业要求吗?问大家关于生物转专业的问题,谢谢 (转载)MBA,真馋人请问两个波动性时间序列预测(Volatility Forecasting)的问题 (转载)前辈们,我想读美国好些的 b-school MBA有没可能啊二流学校金融master(MSF)找工作?有对SDSU了解的吗?如何下载Harvard Business Online上的资料?在加州住满一年后,应该可以申请州内学费,但是申请的时候算domestic还是international啊?How long did you prepare for the GMAT这里有学MS in Finance的吗duke的中国留学生有没有邮件群亚?金融工程还是金融硕士,波士顿学校选校问题。 (转载)MBA课程是从IT到金融的跳板吗?有人知道rutgers的Accounting Information System么?请问金融类工作毕业去向MS Finance选校问题请教 (转载)