Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我得到了以下数学问题。
var a = Math.pow(b, c);
我得到了a和c。我怎样才能得到b?我的数学技能随着时间的推移而枯萎。
a
c
b
var b = Math.pow(a, 1/c));
这是假设您不需要处理底片。
我有两个类,它们都有许多扩展它们的类(用于多个级别)。由于多态性,我只在堆上分配它们。
我想重载<<operator,这样我就可以“流”到另一个。我想A << B简化为A->setNext(B),这个函数将
<<operator
A << B
A->setNext(B)