Redian新闻
>
各位都是怎么做理论模型的?
avatar
各位都是怎么做理论模型的?# Economics - 经济
E*7
1
We want to do the followings [both (1) AND (2)]:
avatar
v*s
2
大家有什么好的发声朗读软件,推荐一把?要求不高,能读英文txt即可,能读网页就
更好了。
avatar
s*w
3
要把一个pc给人,如何又快又好地清理机器?
就是要把硬盘的东西搞干净,os 无所谓,反正对方要重装系统的。
谢谢。
avatar
m*e
4
有时候有比较成熟的想法,只是需要把东西写下来,解出来,过程也许复杂,但脑子里不会没有东西。有些时候则是有一个很有意思的小想法,但光靠这个写文章还是不够分量,需要把这个小想法扩展、延伸才可以,这个时候怎么办?有一种脑子里想不出什么东西,但一定要从无变有的痛苦。各位做应用理论模型的,碰到第二种情况怎么办?
avatar
p*s
5
你想说什么?
BTW, 程序有bug

【在 E*****7 的大作中提到】
: We want to do the followings [both (1) AND (2)]:
avatar
w*e
6
把HD拆下来, 放到另一机器上, 格之, 然后考N多files上去, 再格之, 如此反复3次以上
(反正对方不care OS的)

【在 s***w 的大作中提到】
: 要把一个pc给人,如何又快又好地清理机器?
: 就是要把硬盘的东西搞干净,os 无所谓,反正对方要重装系统的。
: 谢谢。

avatar
B*e
7
Talk with others, especially faculties familiar with the field to which your
idea belongs.

里不会没有东西。有些时候则是有一个很有意思的小想法,但光靠这个写文章还是不够
分量,需要把这个小想法扩展、延伸才可以,这个时候怎么办?有一种脑子里想不出什
么东西,但一定要从无变有的痛苦。各位做应用理论模型的,碰到第二种情况怎么办?

【在 m*********e 的大作中提到】
: 有时候有比较成熟的想法,只是需要把东西写下来,解出来,过程也许复杂,但脑子里不会没有东西。有些时候则是有一个很有意思的小想法,但光靠这个写文章还是不够分量,需要把这个小想法扩展、延伸才可以,这个时候怎么办?有一种脑子里想不出什么东西,但一定要从无变有的痛苦。各位做应用理论模型的,碰到第二种情况怎么办?
avatar
E*7
8
Bug问题没有太考虑,比如:可以用auto_ptr()之类的。愿闻其详。
avatar
U*e
9
一个笨办法就是死磕文献了。
avatar
f*Q
10
何必呢?

i
i

【在 E*****7 的大作中提到】
: We want to do the followings [both (1) AND (2)]:
avatar
D*y
11
I go along with it

【在 U*****e 的大作中提到】
: 一个笨办法就是死磕文献了。
avatar
E*V
12
ding

i
i

【在 E*****7 的大作中提到】
: We want to do the followings [both (1) AND (2)]:
avatar
B*e
13
But unless you are a genius, you still need to talk with others sharing
understanding about the literature. I found talking very very helpful.

【在 D*******y 的大作中提到】
: I go along with it
avatar
t*t
14
还没完哪?
你贴的东西又不对, 贴出来干嘛? 如果不能确定对不对, 请勿使用确定的口气, 以免误
导他人

i
i

【在 E*****7 的大作中提到】
: We want to do the followings [both (1) AND (2)]:
avatar
m*e
15
其实这是个major idea,只是目前只有主干,没什么枝叶,不好看。或者说只有骨头没有肉。
avatar
t*t
16
BTW, if you really want to make friends with c++ programming, you'd better
improve your c++ programming first, and most important, LEARN TO READ POSTS
and LEARN TO LEARN FROM POSTS

i
i

【在 E*****7 的大作中提到】
: We want to do the followings [both (1) AND (2)]:
avatar
E*V
18
难度我顶错了?我是不看贴就定的

【在 t****t 的大作中提到】
: 还没完哪?
: 你贴的东西又不对, 贴出来干嘛? 如果不能确定对不对, 请勿使用确定的口气, 以免误
: 导他人
:
: i
: i

avatar
E*7
19
谢谢大家。其实,只是奔个小代码。有很多的问题:内存分配失败Exception Handle如
何处理?A Class中var i变量谁也不会用public, createArray()要给i变量附值它必须
是A类的friend等等,问题太多了。又JJWW烦人了。
avatar
t*t
20
作为伪代码, 你提的这些毛病都不是什么大问题
但是你作为核心的operator new[], 根本就是错的
首先, operator new[]不是必须的
其次, operator new[](size_t)里那个size_t, 就是需要分配的内存数, 不需要再*
sizeof(A)

【在 E*****7 的大作中提到】
: 谢谢大家。其实,只是奔个小代码。有很多的问题:内存分配失败Exception Handle如
: 何处理?A Class中var i变量谁也不会用public, createArray()要给i变量附值它必须
: 是A类的friend等等,问题太多了。又JJWW烦人了。

avatar
E*7
21
谢谢!void *ptr = (void *)malloc(sz= (sizeof(A) * sz) )你看该怎么写?
另外,依你看该怎么解决这个问题?
avatar
c*t
22
#include
using namespace std;
class A
{
private:
int m_value;
public:
A (int v) : m_value (v) { std::cout << "ctor" << std::endl; }
~A () { std::cout << "dtor" << std::endl; }
int getValue () { return m_value; }
};
#define SIZE 10
int main ()
{
// init
A* array = (A*)new char[sizeof (A) * SIZE];
for (int i = 0; i < SIZE; ++i)
new (&array[i]) A (5);
for (int i = 0; i < SIZE; ++i)
std::cout <

【在 E*****7 的大作中提到】
: 谢谢!void *ptr = (void *)malloc(sz= (sizeof(A) * sz) )你看该怎么写?
: 另外,依你看该怎么解决这个问题?

avatar
t*t
23
你这不是让他更糊涂了吗?
本来C++就应该用vector, 除非object not Assignable or CopyConstructable

【在 c*****t 的大作中提到】
: #include
: using namespace std;
: class A
: {
: private:
: int m_value;
: public:
: A (int v) : m_value (v) { std::cout << "ctor" << std::endl; }
: ~A () { std::cout << "dtor" << std::endl; }
: int getValue () { return m_value; }

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。