I don't think thats the problem because I have gotten it to work with just constants eg. (+ 2 2). What I did since then I wish I knew...
Type: Posts; User: lruc
I don't think thats the problem because I have gotten it to work with just constants eg. (+ 2 2). What I did since then I wish I knew...
Just a scheme-like interpreter thing ex.(+ (+ 1 1) 2). I'm really new to interpreter design so this is all I could really come up with. Does anyone know a good online tutorial(book possibly) that...
I made a small Scheme interpreter(without functions and other fancy stuff) a while ago but ran into a few problems. Anyways here's the source:
#include <ctype.h>
#include <math.h>
#include...
I would go into the future to find nice midgets being eaten by mean midgets.
Also, when you get to graphics try the SFML library. It's nicely organized for C++ and it's portable so you won't get sucked into Microsofts crap like I did.
I went to the doctors about a week ago just because of a sore neck. It turned out to be a pretty serious bacterial infection. I guess sometimes hypochondriacs get their way...
I don't know. I just like math.
Physics:)
What's your natural language?
I say OpenGL because I can't stand microsoft. I really can't see how anybody likes their products.
I used to like mmorpgs but now I'm more into fps's like halo and cod4. I would also like to take this oppurtunity to again mention how cool the jak and daxter series is.
Something tells me you have not seen the movie.
I want to see Watchmen. I hope it compares to The Dark Knight, which is by far my favorite movie.
No but it's in the bug family because it's such a stupid function. Still, for a simple test program it can be nice sometimes.
As long as there are no bugs though, there are no security vulnerabilities. Btw, does anybody know how to prevent the error where the message board can't access the text file because Apache doesn't...
Sorry about the FAQ answer I should have recognized that. Not appended correctly means the input entered in the form isn't added to the end of the file and in return not printed in the output.
OK I'm one step closer. The file is outputted but the form isn't appended correctly. Also the last line in the file is printed twice. Should I use a do loop instead of a while loop?
So if the fopen returns NULL its ok to not close the file? Some more revisions:
#include <stdio.h>
#include <stdlib.h>
void append(void)
{
The strange thing is nothing when I run the program from the terminal. The only error I get is when I run it through the server, which gives no details to the error.
Ok heres some code with checks thrown in(and some moderate obfuscation):
#include <stdio.h>
#include <stdlib.h>
void append(void)
{
What do you mean? The fopen call comes before the check for NULL if thats what your asking. Besides, the check for NULL would be irrelevant to that because it checks a string from the environment...
I am working on a simple message board written in C using CGI, but I keep getting an internal error. I have reviewed my code 100 times and still cant find it.
#include <stdio.h>
#include...
not exp log srand xor s qq qx xor
s x x length uc ord and print chr
ord for qw q join use sub tied qx
xor eval xor print qq q q xor int
eval lc q m cos and print chr ord
for qw y abs ne open...
Thanks for the info. Didn't know that. I will.
The problem with those functions is they don't store the position in a string so when they are called twice, it would just read from the beginning of the string again which is not what I need. Also,...