Search:

Type: Posts; User: Poincare

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    13,516

    Please don't use Conio.h! Its a horrible,...

    Please don't use Conio.h!

    Its a horrible, horrible thing, and it'll leave you with no friends.
  2. Replies
    3
    Views
    931

    can you give us a little bit of context? (the...

    can you give us a little bit of context? (the full code, or the whole class or something?)
  3. Replies
    2
    Views
    2,103

    Thanks for the suggestions. As for the...

    Thanks for the suggestions.

    As for the classname, originally the project was called C64, which was changed cause of the commodore 64 thing, then it was e64 which was obvious why it was changed and...
  4. Replies
    2
    Views
    2,103

    SDL game engine - fireshot

    I wrote a game engine this weekend. Its 2d, extremely easy to use, event based and cross platform. The main benefit is clean code, combined with the ability for complete control over the internals....
  5. How many lines have you ever written in a day?

    Exactly what the title says. Post here! The maximum I've done (in a day) is probably 470 lines of code.
  6. Replies
    9
    Views
    1,579

    Most of the time, using the shell isn't a very...

    Most of the time, using the shell isn't a very good way of doing this especially if library calls are available for the exact purpose...
  7. Replies
    13
    Views
    1,827

    #include #include #include...

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

    void mirror(int x) {
    unsigned u;
    memcpy(&u,&x,sizeof(int));
    printf("%u\n",u);
    if (u) mirror(u/2);
    }
  8. Replies
    9
    Views
    1,579

    AFAIK, the shell commands that you're giving...

    AFAIK, the shell commands that you're giving aren't related to each other. This is a much better way to do it (I assume you're on linux/unix/bsd): File Access and Directory System Calls
  9. Replies
    4
    Views
    5,252

    examples of writing a USB driver?

    examples of writing a USB driver?
  10. Replies
    4
    Views
    5,252

    Writing raw USB data

    Hi. I have a few question about USB on linux. Firstly, how do I know which file descriptor in the /dev/ section is USB? Secondly, how can I write raw code to it? Would I have to write a kernel level...
  11. Replies
    13
    Views
    1,794

    This is perfectly the reason why you don't use...

    This is perfectly the reason why you don't use DOS for graphics. Learn opengl.
  12. Replies
    27
    Views
    17,499

    Python doesn't even have references (afaik), perl...

    Python doesn't even have references (afaik), perl does.
  13. Replies
    13
    Views
    1,827

    Yup. It is. #include #include...

    Yup. It is.



    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <sys/types.h>
    int main (void) {
    struct time_t alloc;
  14. Replies
    13
    Views
    1,827

    Rolling Snowball program

    In this thread, we first start with a simple "hello, world" program and then each person that replies adds 1-5 lines to program. No more than five lines may be added at a time. NO double posting....
  15. Thread: threads & cgi

    by Poincare
    Replies
    3
    Views
    1,746

    CGI is pretty old technology and has many...

    CGI is pretty old technology and has many replacements and its pretty (very) annoying to implement in C. Just sayin'. Consider a web framework if you can instead.
  16. Replies
    5
    Views
    3,190

    I've been checking the following websites ...

    I've been checking the following websites

    gnu.org (still in progress)
    code.google.com
    sourceforge.net
  17. Replies
    8
    Views
    1,325

    x[]=" " doesn't mean anything because when the...

    x[]=" "
    doesn't mean anything because when the left hand side isn't a declaration, it expects a value between []. Also, char x[] has the same problem. Instead, you could go with:

    char x[];
    ...
  18. Replies
    5
    Views
    3,190

    anyone?

    anyone?
  19. Replies
    5
    Views
    3,190

    Joining an open source project

    I'm a pretty intermediate c programmer, i have been programming in C constantly since more than year. When I say constantly, I mean nonstop. I've been looking to get into some open source...
  20. Replies
    4
    Views
    1,249

    Get familiar with unix/linux (especially man...

    Get familiar with unix/linux (especially man pages) or type in man scanf and see what you get.
  21. Replies
    10
    Views
    8,784

    Did you read what I posted? If you write cleaner...

    Did you read what I posted? If you write cleaner code, more people will respond to you. I'm not trying to be mean or anything, but this troubled me quite a bit when I was beginning (which I still am).
  22. Replies
    10
    Views
    8,784

    You seriously need to use getaddrinfo.

    You seriously need to use getaddrinfo.
  23. Thread: Echo server

    by Poincare
    Replies
    2
    Views
    1,779

    Echo server

    I've read Beej's guide to network programming and I'm trying to write an echoserver. So far, its just been frustration. I just can't get it to work. I just deleted all my code because I can't get...
  24. Replies
    2
    Views
    1,369

    Library for plotting points?

    I'm writing a program to draw a mandelbrot set. I started in Java but its just way too tedious. But, in C, I don't want to waste time learning OpenGL just to plot a few hundred points. Is there a...
  25. Replies
    26
    Views
    3,159

    C or python or perl?

    I've been trying to write a math engine in C. Well, i've had a really really really hard time parsing all the inputs and stuff with see with the continious shower of seg faults. I want to switch to...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4