I need to write a c program which takes a algorithm as the input and gives the equivalent c source code as the output.any ideas????
ritesh2190
0
Newbie Poster
Recommended Answers
Jump to Postdifficult!
Algorithms are just general guides, they have to adjusted for every specific problem. There are programs that do this, for a very limited environment, and limited algorithms, but they are a very big project.
Not something for the beginner.
Jump to PostOf course you need help. Isn't that obvious?
But you need to give a very specific set of guidelines about exactly what you need. What "algorithms"?
Based on your almost description above, check each character input and create variables for
num1
,num2
, andoperation
. Then …
Jump to PostYou want a very high level programming domain-specific programming language. Treat the problem as such and you'll be less confused as how to proceed. However, creating a language (even a simple one) can be a surprisingly difficult undertaking if you're new to that particular field. I'd suggest making your "algorithm" …
All 10 Replies
Aranarth
126
Posting Whiz in Training
AuburnMathTutor
37
Junior Poster
Adak
419
Nearly a Posting Virtuoso
ritesh2190
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
ritesh2190
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
0x69
41
Junior Poster
zohurul88
0
Newbie Poster
Anuradha Mandal
-28
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.