The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> C Programming
|
Polynomial Equations
Discuss Polynomial Equations in the C Programming forum on Dev Shed. Polynomial Equations C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 17th, 2012, 04:35 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 2
Time spent in forums: 16 m 27 sec
Reputation Power: 0
|
|
|
Polynomial Equations
I'm trying to make a program without struct which make basic equations.Like add 3x^2+2 4x^+3.I define three string for them.But i think the whole program will be long and i don't have time to think clearly.Is there anyone made this program before?I need the program's source code immediately 
|

December 17th, 2012, 04:41 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|
Not sure what you're asking. You want a program to evaluate 3x^2+2 4x^+3 and you think that writing that will take too long?? Or do you want it to evaluate any equation you type in?
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
|

December 17th, 2012, 04:43 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 2
Time spent in forums: 16 m 27 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by Scorpions4ever Not sure what you're asking. You want a program to evaluate 3x^2+2 4x^+3 and you think that writing that will take too long?? Or do you want it to evaluate any equation you type in? |
any equations and not just adding,subtraction etc.
|

December 17th, 2012, 07:47 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|
You could try embedding a language interpreter such as lua or python into your C code. Just google for "embedding lua" or "embedding python" for details.
|

December 18th, 2012, 12:11 AM
|
 |
Contributed User
|
|
|
|
> I'm trying to make a program without struct
Yeah, we all love this guessing game.
Anything else on the exclusion list? Arrays, functions?
> But i think the whole program will be long and i don't have time to think clearly
Meaning you've been sitting around doing nothing (or just going to xmas parties), and now you're panicking, hoping for Santa Claus to give you a nice present you can run off to teacher to make it seem like you're a good girl.
> I need the program's source code immediately
I'm sure you do - but we're not going to just give you code to get you an 'A' when all you deserve is an 'F'.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|