Search:

Type: Posts; User: lruc

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Simple parser

    by lruc
    Replies
    5
    Views
    3,415

    I don't think thats the problem because I have...

    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...
  2. Thread: Simple parser

    by lruc
    Replies
    5
    Views
    3,415

    Just a scheme-like interpreter thing ex.(+ (+ 1...

    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...
  3. Thread: Simple parser

    by lruc
    Replies
    5
    Views
    3,415

    Simple parser

    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...
  4. Replies
    28
    Views
    18,414

    I would go into the future to find nice midgets...

    I would go into the future to find nice midgets being eaten by mean midgets.
  5. Replies
    12
    Views
    5,546

    Also, when you get to graphics try the SFML...

    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.
  6. Replies
    16
    Views
    13,621

    I went to the doctors about a week ago just...

    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...
  7. I don't know. I just like math.

    I don't know. I just like math.
  8. Physics:)

    Physics:)
  9. Replies
    7
    Views
    7,510

    What's your natural language?

    What's your natural language?
  10. Thread: OpenGL vs DirectX

    by lruc
    Replies
    33
    Views
    20,278

    I say OpenGL because I can't stand microsoft. I...

    I say OpenGL because I can't stand microsoft. I really can't see how anybody likes their products.
  11. Replies
    33
    Views
    26,101

    I used to like mmorpgs but now I'm more into...

    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.
  12. Thread: Watchmen

    by lruc
    Replies
    14
    Views
    9,242

    Something tells me you have not seen the movie.

    Something tells me you have not seen the movie.
  13. Thread: Watchmen

    by lruc
    Replies
    14
    Views
    9,242

    I want to see Watchmen. I hope it compares to The...

    I want to see Watchmen. I hope it compares to The Dark Knight, which is by far my favorite movie.
  14. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    No but it's in the bug family because it's such a...

    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.
  15. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    As long as there are no bugs though, there are no...

    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...
  16. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    Sorry about the FAQ answer I should have...

    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.
  17. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    OK I'm one step closer. The file is outputted but...

    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?
  18. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    So if the fopen returns NULL its ok to not close...

    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)
    {
  19. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    The strange thing is nothing when I run the...

    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.
  20. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    Ok heres some code with checks thrown in(and some...

    Ok heres some code with checks thrown in(and some moderate obfuscation):




    #include <stdio.h>
    #include <stdlib.h>

    void append(void)
    {
  21. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    What do you mean? The fopen call comes before the...

    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...
  22. Thread: Message Board

    by lruc
    Replies
    28
    Views
    3,824

    Message Board

    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...
  23. Replies
    0
    Views
    4,864

    Just another perl hacker

    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...
  24. Thread: Stringstream

    by lruc
    Replies
    9
    Views
    8,274

    Thanks for the info. Didn't know that. I will.

    Thanks for the info. Didn't know that. I will.
  25. Thread: Stringstream

    by lruc
    Replies
    9
    Views
    8,274

    The problem with those functions is they don't...

    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,...
Results 1 to 25 of 272
Page 1 of 11 1 2 3 4