User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 429,791 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,831 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser: Programming Forums
Views: 12824 | Replies: 30
Reply
Join Date: Jun 2005
Posts: 2
Reputation: ankara84 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ankara84 ankara84 is offline Offline
Newbie Poster

need code for NFA to DFA

  #1  
Jun 18th, 2005
hello
I need C code to build a finite automata and NON deterministic automata translate to equal DFA. This is for my project please help!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2004
Location: Morocco
Posts: 3
Reputation: ayoub is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ayoub ayoub is offline Offline
Newbie Poster

Re: need code for NFA to DFA

  #2  
Jul 23rd, 2005
hello!
That was a my homework last year, and i'm still keeping the complete source code,can u give me u email to send u the source code in it? my email is [edit]Email removed by moderators: We don't help people to cheat[/edit] just contact me and i will send u the complete source code. and if u have any idea how for that program i'll be ready to help u.
Sincerely,
Ayoub
Reply With Quote  
Join Date: Sep 2004
Posts: 6,355
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 29
Solved Threads: 466
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: need code for NFA to DFA

  #3  
Jul 23rd, 2005
Why don't you just tell us your teacher's email address so that we can send the program directly?
I'm a programmer. My attitude starts with arrogance, holds steady at condescension, and ends with hostility. Get used to it.
Reply With Quote  
Join Date: Jul 2005
Location: Iceland
Posts: 104
Reputation: Alvein is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 4
Alvein's Avatar
Alvein Alvein is offline Offline
Junior Poster

Re: need code for NFA to DFA

  #4  
Jul 24th, 2005
Originally Posted by Narue
Why don't you just tell us your teacher's email address so that we can send the program directly?

:mrgreen: isn't this the "black market" forum?? :mrgreen:

Anyways, IMHO, that's fair if you are only taking a simple course because of the credits, etc., and you are not studying something directly related to CS.

But I'm pretty sure COMPILERS THEORY/DESIGN does not fix in that cathegory. Please give a look at the method described in your book and try to understand it, even if you don't want to program. It's worth it.

I know a bunch of graduated dudes that don't know how to code a damn Fibonacci sequence. PLEASE! :rolleyes:
Reply With Quote  
Join Date: Sep 2004
Posts: 6,355
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 29
Solved Threads: 466
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: need code for NFA to DFA

  #5  
Jul 24th, 2005
>I know a bunch of graduated dudes that don't know how to code a damn Fibonacci sequence.
I know about half a dozen professional programmers who couldn't get a recursive function to calculate the Fibonacci sequence right on the first try. Then again, I also know quite a few who would churn out several versions including recursive, non-recursive, dynamic recursive, and heuristic formula without breaking a sweat and then dare you to find a bug.
I'm a programmer. My attitude starts with arrogance, holds steady at condescension, and ends with hostility. Get used to it.
Reply With Quote  
Join Date: Jun 2005
Location: Troy
Posts: 1,277
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 36
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: need code for NFA to DFA

  #6  
Jul 24th, 2005
Perhaps ankara didn't know how to use a text editor for typing in C code.

Originally Posted by Narue
Then again, I also know quite a few who would churn out several versions including recursive, non-recursive, dynamic recursive, and heuristic formula without breaking a sweat and then dare you to find a bug.

You've got to stop talking about yourself in the third person.
Reply With Quote  
Join Date: Jul 2005
Location: Iceland
Posts: 104
Reputation: Alvein is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 4
Alvein's Avatar
Alvein Alvein is offline Offline
Junior Poster

Re: need code for NFA to DFA

  #7  
Jul 25th, 2005
Originally Posted by Narue
>I know a bunch of graduated dudes that don't know how to code a damn Fibonacci sequence.
I know about half a dozen professional programmers who couldn't get a recursive function to calculate the Fibonacci sequence right on the first try. Then again, I also know quite a few who would churn out several versions including recursive, non-recursive, dynamic recursive, and heuristic formula without breaking a sweat and then dare you to find a bug.

Guess what? some of them work as teachers! LMAO

BTW, who are you struggling against? :o
Reply With Quote  
Join Date: Sep 2004
Posts: 6,355
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 29
Solved Threads: 466
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: need code for NFA to DFA

  #8  
Jul 25th, 2005
>some of them work as teachers! LMAO
I have no respect for programming teachers in general. There are exceptions, of course, but for the most part I wouldn't trust a programming "professor" with any language more dangerous than pseudocode, and then only if they never try to teach it. I think the biggest flame war I ever participated in was when a self-proclaimed college professor insisted that i = i++ was perfectly legal in C. :rolleyes:
I'm a programmer. My attitude starts with arrogance, holds steady at condescension, and ends with hostility. Get used to it.
Reply With Quote  
Join Date: Jun 2004
Posts: 604
Reputation: freesoft_2000 is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 6
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Solution Re: need code for NFA to DFA

  #9  
Jul 31st, 2005
Hi everyone,

Originally Posted by Narue
I think the biggest flame war I ever participated in

You forgot about my Java taking over C++ thread in the C++ forum.

Originally Posted by Narue
a self-proclaimed college professor insisted that i = i++ was perfectly legal in C

i = i++ is absolutely 100% legal in C.

Hoping to hear from you

Richard West

*****************************************************
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote  
Join Date: Sep 2004
Posts: 6,355
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 29
Solved Threads: 466
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: need code for NFA to DFA

  #10  
Jul 31st, 2005
>You forgot about my Java taking over C++ thread in the C++ forum.
Just because it was your worst, doesn't mean it was mine.

>i = i++ is absolutely 100% legal in C.
Nice try.
I'm a programmer. My attitude starts with arrogance, holds steady at condescension, and ends with hostility. Get used to it.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Computer Science and Software Design Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 4:23 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC