我如何...在C中创建一个可以在dev cpp上工作的线性变量方程求解器 [英] How do I... Make a linear variable equation solver in C that can work on dev cpp

查看:72
本文介绍了我如何...在C中创建一个可以在dev cpp上工作的线性变量方程求解器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须制作线性变量方程求解器的项目。请帮我!我需要c语言的dev cpp代码。



我尝试过:



我很难得到该怎么做。

解决方案

Quote:

我必须制作线性变量方程求解器的项目。

就像你说的那样,你必须做一个项目,而不是我们。

< blockquote class =quote>

引用:

我很难得到该怎么做。

这是一个非常基本的问题,你几乎找不到比职业生活中更简单的东西。

做这个HomeWork失败将帮助你的老师发现你的弱点,以便采取补救措施。 br />
坦率地说,如果我们给你答案,你将如何做下一个更艰苦的任务呢?



对于这个问题:至少表明你知道数学。

- 表明你知道如何从2点推断出这个功能

- 表明你知道如何找到0曲线

- 表明你知道如何计算曲线上的任何点。



建议:

- 重读你的课程

- 阅读C文档。这本书来自 Kernigan& Ritchie 多年来一直是参考,即使已经过时,语言的基础仍然相同。

- 关注tutos。



未来:

你应该学会尽快使用调试器。而不是猜测你的代码在做什么,现在是时候看到你的代码执行并确保它完成你期望的。



调试器允许你跟踪执行逐行检查变量,你会看到它有一个停止做你期望的点。

调试器 - 维基百科,免费的百科全书 [ ^ ]

掌握Visual Studio 2010中的调试 - A初学者指南 [ ^ ]

http: //docs.oracle.com/javase/7/docs/technotes/tools/windows/jdb.html [ ^ ]

https://www.jetbrains.com/idea/help/debugging-your -first-java-application.html [ ^ ]


i have to make project of linear variable equation solver. please help me! i need code for dev cpp in c language.

What I have tried:

it is really hard i m getting getting what to do.

解决方案

Quote:

i have to make project of linear variable equation solver.

Just as you said, you have to make a project, not us.

Quote:

it is really hard i m getting getting what to do.

It's very basic problem, you will mostly never find something simpler than that in professional life.
A fail at doing this HomeWork will help your teachers to spot your weaknesses to get remedial actions.
And frankly, if we give you the answer, how will you do the next assignments which will be harder and harder ?

For this problem: At least show that you know the maths.
- Show that you know how to deduce the function from 2 points
- Show that you know how to find the 0 on the curve
- Show that you know how to compute any point on the curve.

Advice:
- reread your courses
- read C documentation. the book from Kernigan & Ritchie was a reference for years, even if outdated, the basics of the language are still the same.
- follow tutos.

For future:
You should learn to use the debugger as soon as possible. Rather than guessing what your code is doing, It is time to see your code executing and ensuring that it does what you expect.

The debugger allow you to follow the execution line by line, inspect variables and you will see that there is a point where it stop doing what you expect.
Debugger - Wikipedia, the free encyclopedia[^]
Mastering Debugging in Visual Studio 2010 - A Beginner's Guide[^]
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jdb.html[^]
https://www.jetbrains.com/idea/help/debugging-your-first-java-application.html[^]


这篇关于我如何...在C中创建一个可以在dev cpp上工作的线性变量方程求解器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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