EU to C translator
- Posted by jstory at freenet.edmonton.ab.ca Jul 25, 2001
- 343 views
I tried the latest version of the EU to C translator on the latest version of my program DMAK (Diet Monger Ass Kicker). It makes a reasonable number of C files, unlike before when it made nearly 500 C files, because the data was internal instead of external. Now all the data (for 6210 foods and data about nutrients) is in data files that are read each time the program is run. ( If this program was done in C, then maybe the data could be just there, instead of having to be loaded each time the program is run. But that's another subject. ) The LCC compiler actual compiles it, because the files are a reasonable size, unlike before when it choked on a a certain 13 meg (or so) file. Still one problem. The resulting exe file won't run. It just makes a DOS window and doesn't do anything. I was not able to test with the Borland compiler, because I couldn't find where to download it from on their website. It seems to not be there. You ask, why do I want to get DMAK translated to C? The reason why is it seems to work decently except for one thing: too slow loading the data. It takes almost forever. I probably can correct anything else that might be wrong with it. With that kind of slow startup, DMAK looks like crap. The main program it has to compete with is NutriGenie. ( NutriBase claims to be the best, but its price is $500.) DMAK, in C form, probably would load data much faster and probably would have more snap making a list of foods. This gets a bit slow when the number of foods in the list is large. My question is: Why does the C-form exe make a DOS window and do nothing? Is it a problem with: a) DMAK? b) EU to C translator? c) LCC compiler? Jerry Story