Forum: Computer Science Dec 15th, 2008 |
| Replies: 15 Views: 984 Just to clarify, no offense, but I'm not actually looking for critique of my programming style. Much of this code was slapped together - I am not attempting to push it as the best example of C++ code. |
Forum: Computer Science Dec 15th, 2008 |
| Replies: 15 Views: 984 Come on. Please don't insult me. Look, I fixed the file up at the link I had given you - sorry I was careless about leaving gets out.
http://www.uweb.ucsb.edu/~frencheneesz/junk/SICalculator.cpp
... |
Forum: Computer Science Dec 14th, 2008 |
| Replies: 15 Views: 984 So I actually tested it on another computer - and gets does indeed crash it. This is one of those errors that make 0 sense. I just write them off as a bug in GCC. |
Forum: Computer Science Dec 14th, 2008 |
| Replies: 15 Views: 984 I wrote those libraries i'm using as just a test. I did them in C style because I eventually want to write a programming language that is translated to C, then compiled. I'm aware of the limitations... |
Forum: Computer Science Dec 14th, 2008 |
| Replies: 15 Views: 984 Thats a very good point. The problem is that wordforms currently don't have a good way to describe having multiple choices (which is why the whitespace example is so verbose). Choice blocks are... |
Forum: Computer Science Dec 14th, 2008 |
| Replies: 15 Views: 984 How is it broken? It looks perfectly valid to me, and it works. What do you suggest I do if gets and fgets crash my program?
You're right. The format is much more useful for complicated... |
Forum: Computer Science Dec 14th, 2008 |
| Replies: 15 Views: 984 I have recently created a parser generator named the Lithium Parser Generator (LiPG). I also wrote a pretty readable documentation for it. I was wondering if anyone could give me some feedback -... |