tanjent功能 - 有人可以检查我的代码 [英] tanjent function - can someone check my code

查看:87
本文介绍了tanjent功能 - 有人可以检查我的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

#include< stdio.h>

#include< math.h>


int i = 0,j = 0,* z = 0;

double tanjent = 0.0;


void main(int *)

{

for(;;)

{

tanjent [& z] = sin(i)/ cos(j);

* z =& z + 1


}


printf(tanjent [k],"%d);

返回& z;


}


问候,

Zach

#include <stdio.h>
#include <math.h>

int i=0, j=0, *z=0;
double tanjent=0.0;

void main(int *)
{

for(;;)
{
tanjent[&z] = sin(i) / cos (j);
*z=&z+1

}

printf(tanjent[k],"%d);
return &z;

}

Regards,
Zach

推荐答案

Zach写道:

[snip]


我想我看到一个巨魔。


-

托马斯。
Zach wrote:
[snip]

I think I see a troll.

--
Thomas.


不!我不是巨魔 - 多么粗鲁。

i发布我的代码并要求反馈。

如果你不能建设性地回复请不要回复指责人们
$ b当他们没有时,他们会被拖走!


zach

no! i am not at troll - how rude.
i posted my code and asked for feedback.
if you cannot reply constructively please dont reply accusing people of
trolling when they arent!

zach




Zach写道:

Zach wrote:
不!我不是在拖钓 - 有多粗鲁。
我发布了我的代码并要求提供反馈。
如果你不能建设性地回复请不要回复指责人们
他们没有拖钓!
no! i am not at troll - how rude.
i posted my code and asked for feedback.
if you cannot reply constructively please dont reply accusing people of trolling when they arent!



你对这种愚蠢的长篇大论并没有太多的帮助。你的代码中有许多奇怪的东西,怀疑它是非常合理的,因为它是某种巨魔。

你不能解释你有什么问题。很明显,你没有b $ b b编译它。以下是几个问题:


1.您认为这是怎么回事?

* z =& z + 1

2. k来自哪里?


3.您认为将0除以0的结果是什么?


4.这是什么声明?

* z = 0;


5.这是什么?

& ; z

Brian


You aren''t helping yourself much with this whiny tirade. There are so
many weird things in your code that it''s pretty reasonable to suspect
it''s some sort of troll.

You don''t explain what problems you have. It''s obvious that you didn''t
compile it. Here are a few questions:

1. What do you think this does?
*z=&z+1

2. Where did k come from?

3. What do you think the result of dividing 0 by 0 would be?

4. What does this declare?
*z=0;

5. What is this?
&z
Brian


这篇关于tanjent功能 - 有人可以检查我的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆