avatar
g*s
1
Numerical recipes in C [electronic resource] : the art of scientific computing
/ William H. Press ... [et al.].中的一个函数一开始有这样一个宏:
#define GET_PSUM \
for (j=1;j<=ndim;j++) {\
for (sum=0.0,i=1;i<=mpts;i++) sum+=p[i][j];\
psum[j]=sum;}
我的问题是这里的三个反斜杠,"\",是什么意思?
是不是那本书作者在排版的时候想说,要把这四行写在同一行中? 要是这样的话,我在edit
的界面中一行写不下怎么办?
初级问题,见笑了
avatar
n*c
2

computing
edit
"\" in C is continue of line (续行), so you just need to type in
what's in the book.

【在 g***s 的大作中提到】
: Numerical recipes in C [electronic resource] : the art of scientific computing
: / William H. Press ... [et al.].中的一个函数一开始有这样一个宏:
: #define GET_PSUM \
: for (j=1;j<=ndim;j++) {\
: for (sum=0.0,i=1;i<=mpts;i++) sum+=p[i][j];\
: psum[j]=sum;}
: 我的问题是这里的三个反斜杠,"\",是什么意思?
: 是不是那本书作者在排版的时候想说,要把这四行写在同一行中? 要是这样的话,我在edit
: 的界面中一行写不下怎么办?
: 初级问题,见笑了

avatar
g*s
3
Thank you very much.

【在 n*c 的大作中提到】
:
: computing
: edit
: "\" in C is continue of line (续行), so you just need to type in
: what's in the book.

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