由买买提看人间百态

topics

全部话题 - 话题: outputs
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
e******d
发帖数: 14
1
来自主题: Programming版 - weird output
void func(void)
{
char *str = (char *) malloc(100);
strcpy(str, “"hello");
free(str);
if(str != NULL)
{
strcpy(str, “"world");
printf("%s\n", str);
}
}
The output is "world" on linux. The freed memory still can be accessed?
b***y
发帖数: 2799
2
来自主题: Programming版 - [合集] C output question
☆─────────────────────────────────────☆
nos (redemption) 于 (Thu Sep 29 14:32:41 2005) 提到:
in c++, i can use cout << xx << flush; to output immediately
what is the counterpart in C?
thanks
☆─────────────────────────────────────☆
jobseek (seeking+jobs) 于 (Thu Sep 29 14:43:22 2005) 提到:
C不是用print么?
如果要和c++一样的效果,你用C搞个cout就行了

☆─────────────────────────────────────☆
nos (redemption) 于 (Thu Sep 29 15:18:57 2005) 提到:
i want to 'flush' imeediately
☆─────────────────────────────────────☆
c**********e
发帖数: 2007
3
来自主题: Programming版 - What is the output of the following code?
hero080 and Xentar.
You guys are right. Thank you. The answer is:
"Say i am in someFunc
Null pointer assignment(Run-time error)"
However, I tried the code, and got the following output
Say i am in someFunc
The value is 10
Could either you guys try it?
s******s
发帖数: 505
4
来自主题: Programming版 - C++ formatted output question
How to output in pointer format with cout?
for example, in C, printf("%p",charp);
Thank you.
t****t
发帖数: 6806
5
来自主题: Programming版 - C++ formatted output question
char* or const char* are special so that they are output as string. cast it
to (void*).
g**********g
发帖数: 18118
6
hi Gugu,
is there a software that can output the file names in the folder to word doc
. so I don't need to type the file name manually. I am using Windows XP.
Thank you very much!
s******n
发帖数: 15
7
I want to redirect the error output to a file, how to do
this? command > error.txt 2>&1 doesn't work(learn from a
shell programming book). sgi irix 6.5. thanks.
s******n
发帖数: 15
8
yes, i am using tcsh. you mean this:
command >& error 2>&1
result: Ambiguous output redirect
i am a newbie of unix, thanks.
s******n
发帖数: 15
9
that makes sense, what i want is ouputing the f77 compiler
license information to a file. everytime i compile a file,
it always output lots of dummy. thanks.
i**********r
发帖数: 36
10
来自主题: Unix版 - 请教How to adjust man output?
When i use man to look at the online help, it gives pages that don't
fit to my printer. How can adjust the line number per page in the output?
Thanks,
i**********r
发帖数: 36
11
来自主题: Unix版 - 请教How to adjust man output?
Thanks all the responses.
seems all are suggesting to obtain the ps directly, that solves
the misplacement of header and foot, but still I can't find where to
control the nember-of-line-per-page in the ps output, or the font size
in groff. ...
please try manpage for procmail to see how bad its layout is.
s******g
发帖数: 1
12
来自主题: Unix版 - how to see the output to stderr?
Reading a program which outputs to stderr
How to see it, is there any command to redirect
it to a file.
Thanks
e***y
发帖数: 273
13
Hi,
I used Exceed on Windows to access X Server, and run XWindows application.
However, if run a X-Window MP3 player, can I redirect Audio output to my PC ?
Thanks.
I**n
发帖数: 23
14
I use
psnup -4 input.pdf out.pdf
but the 'out.pdf' cannot be opened by acroread. Is that
a .pdf file? If I want to get a .pdf or .ps output, how
to do that? thanks
h**h
发帖数: 132
15
来自主题: Unix版 - how to count # of output in shell
say, ls
and how to count the number of files output by ls?
w*****j
发帖数: 49
16
来自主题: Unix版 - how to redirect the output
i want to redirect the error message to standard output, how can i do that?
w*****j
发帖数: 49
17
来自主题: Unix版 - how to redirect the output
I've tried the following:
ls nothing>error 2>&1
but it seems it doesn't work and told me:
ambiguous output redirect
h******3
发帖数: 190
18
来自主题: Biology版 - 求教对CLUSTALW output做edit的方法
有没有办法使得ClustalW的output变为可编辑的format. 比如在aligned two
sequences某部分加下划线什么的。
如果直接copy, paste到word就变成不规则的状态。。。
不知道怎么办。 谢谢。
h******3
发帖数: 190
19
来自主题: Biology版 - 求教对CLUSTALW output做edit的方法

Thanks for help!
But could you enlighten me on how to output script? I cannot figure it out.
F*********n
发帖数: 52
20
如果是1W RF output, 50 Ohm匹配的,那么电流和PCB布线如何决定?
初步是想这么计算的,Imax=sqrt[(1W)/(50Ohm)]*sqrt(2),大概是200mA.
但是如果主要是RF电流,决定PCB布线的时候是不是要考虑趋肤深度(skin effect)?如
果是的话应该如何决定共面波导的线宽(trace width)?
ET
发帖数: 10701
21
differential input, single-ended out 用的多,书上介绍的也多。
比起diff. input, diff. output有啥好的?
谁给讲讲。。
(我知道答案,看看大家咋理解的。)
c*******l
发帖数: 4801
22
关键是没有用吧。我知道音频里用differtial output
其他的输入级用differential是对的,但是信号已经进来以后还是走
一个信号比较好吧,要俩信号有什么用呢
ET
发帖数: 10701
23
当然有用了。不说别的,swing都能多一倍。
cmrr/psrr当然也好过single-ended output..
再猜。。。
m********e
发帖数: 585
24
Most of 音频 amplifier also single output, where to ground for diff?
ET
发帖数: 10701
25
对呀。。因为single output 有Mirror pole, 这个是differential-in, single-outp
ut的缺点吧?
diff.in diff. out和diff.in,single out 复杂度来说,这个看你怎么看了。完全对称
的电路怎么会比不对称的复杂?
linearity? 当然diff.in. diff.out更好。
这些说起来,都是diff. in ..diff. out优于diff in. single-out..
ET
发帖数: 10701
26
啥叫cmfb问题多多?
一个对称的电路,比起一个不对称的电路,哪个对common mode的变化处理的会更好些?
opamp大多会用来驱动下一级,这个opamp都有个differentinal 的input, 下面那集自然
也希望有个differenital的input, 意味着prefer这个opamp有个diff. output.
diff. in. diff. out的总体性能一定好与diff.in, single-ended out, 但一定是牺牲
了某样来获得diff. in, singled out..
c*******l
发帖数: 4801
27
output隔直吧?
l****o
发帖数: 184
28
we normally do not care about CMRR of diff in diff out circuit since the
difference of output signals will not get affected that much by any common mode input change.
Same for psrr, I guess.
m********e
发帖数: 585
29
The discussion is more like academic rather than practical. Think about a
practical design and cost. Think about how many electronics are using diff
output, plus all the unnecessary voltage reference etc...
i******s
发帖数: 911
30
如果要用闭环反馈放大器的话,必须要用differntial input,实际上是single-ended
input,所以通常也是single-ended output
l****o
发帖数: 184
31
I do not think it is easy to do floating bias if use class AB output.
y*********n
发帖数: 22
32
单端输出一样要stablize the DC output point吧。。。
b***n
发帖数: 441
33
书上都是直接算input referred noise,但是没说为什么要看input referred noise,
而不是output noise,
为什么呢。
m*******5
发帖数: 24
34
来自主题: EE版 - Virtex-6 FPGA lvds output
Hi
Virtex-6 FPGA 的lvds output 是怎么工作的?如果我是要传输8位的信号需要用
serializer么?在选择外部设备的lvds receiver的时候有什么标准?需不需要
deserializer?
谢谢!
r***e
发帖数: 1840
35
【 以下文字转载自 Statistics 讨论区 】
发信人: yuxuxin (开水泡妞), 信区: Statistics
标 题: 请教老刘: ods output wilcoxonscores
发信站: BBS 未名空间站 (Thu Aug 21 17:04:45 2014, 美东)
这玩儿到底产生出来什么东西。能给个very high level的表述不?
r********e
发帖数: 100
36
来自主题: Statistics版 - How to format the SAS output?
I am switching R to SAS now because there are a lot of fancy procedures in
SAS. As a newbie of SAS, I want to know whether there is a good way to
customize the SAS output that is usually long and complex?
Thank you very much and happy Halloween weekend
z**********i
发帖数: 12276
37
来自主题: Statistics版 - sas低手请教一个output问题
有个dataset:
ID var
001 blood
001 asd
001 sdf
002 blood
002 asd
003 asd
003 all
003 afjl
如何把它们按照ID, output到3个单独的page上。
page1:
001 blood
001 asd
001 sdf
page2:
002 blood
002 asd
page3:
003 asd
003 all
003 afjl
多谢!!
g*******y
发帖数: 380
38
来自主题: Statistics版 - sas低手请教一个output问题
如果是指output window里分页的话,在sas tutorial里找找.
我记得我复习考试的时候在里面看到过.
z********n
发帖数: 710
39
proc freq data=x;
table var1;
by var2;
run;
I need to get a new dataset from this freq table with cumulative percent in
it.
How can I do it?
proc freq data=x;
table var1/noprint output=freq;
by var2;
run;
By running the previous code, I got percent not cumulative one.
The dataset is large. Thank you!!!
m******1
发帖数: 19713
40
I am running a multivarialbe model:
model survtime*death(0)=A B A*B.
Is there a way to output the score test statistic and likelihood ratio test
statistic for A*B from Proc PHREG?
Thanks.
s****y
发帖数: 21
41
来自主题: Statistics版 - 问个SAS output的问题
使用了proc mixed, 生成predicted value之后怎样把结果output成一个sas data set
,以方便以后使用predicted这个variable。
在其他proc,比如proc reg,proc glm中是不是做法也该差不多?
h******e
发帖数: 1791
42
来自主题: Statistics版 - 问个SAS output的问题
output statement
G**S
发帖数: 1108
43
ODS output select.....
k******a
发帖数: 816
44
下面这段code运行可以实现运行一百次的目的,但是我不知道怎么把100次的结果全都
输出?查了library里面的normalt, 只显示一次的结果。非常感谢!
%MACRO RUNNING(iter);
%do i = 1 %to &iter;
DATA normalt;
*mean 3.2, standard deviation 0.3;
rnormalt=3.2+0.3*NORMAL(0);
output;
run;
%END;
%MEND RUNNING;
%RUNNING (100);
RUN;
s******r
发帖数: 1524
45
DATA normalt;
*mean 3.2, standard deviation 0.3;
do i =1 to 100;
rnormalt=3.2+0.3*NORMAL(0);
output;
end;
drop i;
run;
?
r******l
发帖数: 240
46
本人半瓶子醋。
Change your "DATA normalt" into "DATA normalt&inter", I think you will get
what you want.
Using your code, every time you run your program, the output data will write
over the data from the last run. That is why you only get one data when
you finish running your program.
o****o
发帖数: 8077
47
check the manual:
OBS= data step option:
Specifies when to stop processing observations
1. Valid in: DATA step and PROC steps
2. Category: Observation Control
3. Restriction: Use with input data sets only <----********
4. Restriction: Cannot use with PROC SQL views
5. Default MAX

number of observations in output dataset, the following code doesnt work
l*********s
发帖数: 5409
48
ods option controls reading, not writing.
use where statement to subsetting output.
g*********e
发帖数: 458
49
我想像往log里用put一样往output里写东西,有什么词或语句可以做到? 先行谢谢回答
A*******s
发帖数: 3942
50
来自主题: Statistics版 - [SAS] ODS output with by statement
use the path of ods output tables
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)