c++ coding competition

Hy..
I want to make program for a competition, but I dont have any idea want to make what

any suggestion?
(the program not to complex but very usefull)
i would suggest making a program that calculates limited integrals...
thnx...
using console or windows application?
hmmm windows maybe
I will try..
any other sugesstion??
If you manage to write a program that calculates definite integrals using Windows APIs, then... wow. That would be amazing, and maybe the judges would see that.

What would also be really impressive is if you created a Mathematica-like program WITHOUT using yacc or bison. O_o

-Albatross
WITHOUT using yacc or bison.???

:) whats that??
Yacc and Bison are parser generators. A parser is a grammar-evaluator (sort-of). You feed it a string of tokens and the original text, and it does shtuff with it.

There are no parsers in the standard C++ library, and it is ridiculously tedious to create a parser for such a language from scratch. That said....

-Albatross
you can use the trapez rule,( it is very accurate, and should not be to hard to write)
here you have the rule
http://en.wikipedia.org/wiki/Trapezoidal_rule
good luck :)

(and when you finish i would like to see it)
You mean for numerical integral evaluation? Could do indeed.

-Albatross

P.S.-Indefinite integrals?
limited integrals? o.O

i'm n00b in math. T T
Finding indefinite integrals requires symbolic computation. It's much more complex than just evaluating an expression at regular intervals.
Don't bite more than you can chew, is what I say.
closed account (S6k9GNh0)
Making something that introduces advanced mathematical algorithms in OpenGL. Like, for instance, some refraction. Something that makes something more realistic than usual.
same with black coder i dnt like math(is that normal for a programer)
but why not..i will try..
I don't think it would hurt if you liked math, but it probably won't be a big issue unless you want to study theoretical computer science or work on projects that required a working knowledge in one or more areas of mathematics. I'm working on a mobile robotics project at the moment, and control theory, matrices and trig seem to pop up a lot.
i actually love math, math hates me.
Topic archived. No new replies allowed.